MCPcopy Create free account
hub / github.com/idank/explainshell / test_nonexistent_db

Method test_nonexistent_db

tests/test_manager.py:2484–2491  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2482 self.assertIn("orphaned mapping", result.output)
2483
2484 def test_nonexistent_db(self):
2485 runner = CliRunner()
2486 result = runner.invoke(
2487 cli, ["--db", "/tmp/does-not-exist-12345.db", "db-check"]
2488 )
2489
2490 self.assertNotEqual(result.exit_code, 0)
2491 self.assertIn("Database not found", result.output)
2492
2493
2494# ---------------------------------------------------------------------------

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected