docs: add us-cpa openclaw installation guide
This commit is contained in:
@@ -40,6 +40,23 @@ class UsCpaCliSmokeTests(unittest.TestCase):
|
||||
self.assertIn("scripts/us-cpa", readme)
|
||||
self.assertIn("python -m unittest", readme)
|
||||
|
||||
def test_docs_explain_openclaw_installation_flow(self) -> None:
|
||||
readme = (SKILL_DIR / "README.md").read_text()
|
||||
operator_doc = (SKILL_DIR.parent.parent / "docs" / "us-cpa.md").read_text()
|
||||
skill_doc = (SKILL_DIR / "SKILL.md").read_text()
|
||||
|
||||
self.assertIn("OpenClaw installation", readme)
|
||||
self.assertIn("~/.openclaw/workspace/skills/us-cpa", readme)
|
||||
self.assertIn(".venv/bin/python", readme)
|
||||
self.assertIn("OpenClaw installation", operator_doc)
|
||||
self.assertIn("rsync -a --delete", operator_doc)
|
||||
self.assertIn("~/.openclaw/workspace/skills/us-cpa/scripts/us-cpa", skill_doc)
|
||||
|
||||
def test_wrapper_prefers_local_virtualenv_python(self) -> None:
|
||||
wrapper = (SKILL_DIR / "scripts" / "us-cpa").read_text()
|
||||
self.assertIn('.venv/bin/python', wrapper)
|
||||
self.assertIn('PYTHON_BIN', wrapper)
|
||||
|
||||
def test_fixture_directories_exist(self) -> None:
|
||||
fixtures_dir = SKILL_DIR / "tests" / "fixtures"
|
||||
for name in ("irs", "facts", "documents", "returns"):
|
||||
|
||||
Reference in New Issue
Block a user