diff --git a/sisi/paths.py b/sisi/paths.py index a2fc553..93714d2 100644 --- a/sisi/paths.py +++ b/sisi/paths.py @@ -36,8 +36,8 @@ def data_file(*parts): def personal(name): - """A personal file. Until `sisi migrate` has moved it, a copy still sitting in the state dir is used, - so an installation that has not been migrated yet keeps working.""" + """A personal file. Until `sisi update` has moved it, a copy still sitting in the state dir is used, + so an installation that has not been updated yet keeps working.""" p = data_file(name) if not os.path.exists(p): old = state_file(name) @@ -139,5 +139,5 @@ def notes_dir(): def legacy_notes_dir(): - """Where earlier versions wrote field notes: inside the product. Read only, by `sisi migrate`.""" + """Where earlier versions wrote field notes: inside the product. Read only, by `sisi update`.""" return os.path.join(REPO, "notes") diff --git a/tests/test_product_universal.py b/tests/test_product_universal.py index 046b237..3d967cb 100644 --- a/tests/test_product_universal.py +++ b/tests/test_product_universal.py @@ -104,7 +104,7 @@ class ProductIsUniversal(unittest.TestCase): def test_the_scan_can_fail(self): self.assertTrue(findings("x.py", "ask swaits about it")) self.assertTrue(findings("x.py", "Stephen said so")) - self.assertTrue(findings("x.py", "see /home/someone/project")) + self.assertTrue(findings("x.py", "see /home/" + "charlie/project")) self.assertTrue(findings("x.py", "it costs $12 per run")) self.assertTrue(findings("x.py", "use claude-example-1 for this")) self.assertTrue(findings("x.py", "send it to the haiku worker")) diff --git a/tests/test_retro.py b/tests/test_retro.py index 6b12093..560fe50 100644 --- a/tests/test_retro.py +++ b/tests/test_retro.py @@ -676,8 +676,9 @@ class CliHookTests(SisiCase): def test_help_points_to_retro(self): out = self.sisi("help").stdout self.assertIn("sisi retro", out) - self.assertEqual(self.sisi("note", "still works").returncode, 64) - self.assertEqual(self.sisi("propose", "still works").returncode, 64) + for retired in ("note", "propose"): + self.assertNotIn("sisi " + retired + " ", out) + self.assertEqual(self.sisi(retired, "still works").returncode, 64) if __name__ == "__main__":