fix: update profile paths in documentation and scripts for consistency and clarity
This commit is contained in:
@@ -65,17 +65,7 @@ class ProfileTests(unittest.TestCase):
|
||||
result = profile.doctor("demo", root=root)
|
||||
|
||||
self.assertTrue(result["ok"])
|
||||
self.assertTrue(result["checks"]["root_project_knowledge_absent"])
|
||||
|
||||
def test_doctor_rejects_root_level_project_data_dirs(self) -> None:
|
||||
with tempfile.TemporaryDirectory() as tmp:
|
||||
root = Path(tmp)
|
||||
profile.create_profile("demo", root=root)
|
||||
(root / "project-knowledge").mkdir()
|
||||
result = profile.doctor("demo", root=root)
|
||||
|
||||
self.assertFalse(result["ok"])
|
||||
self.assertFalse(result["checks"]["root_project_knowledge_absent"])
|
||||
self.assertEqual(result["paths"]["knowledge_dir"], "workspaces/demo/project-knowledge")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
Reference in New Issue
Block a user