MCPcopy Index your code
hub / github.com/SourceCode-AI/aura / test_info_command

Function test_info_command

tests/test_cli.py:135–143  ·  view source on GitHub ↗
(fixtures, tmp_path, mock_pypi_stats)

Source from the content-addressed store, hash-verified

133
134@pytest.mark.e2e
135def test_info_command(fixtures, tmp_path, mock_pypi_stats):
136 from aura import config
137 stats: Path = tmp_path / "pypi_stats.json"
138 stats.write_text("\n".join(json.dumps(x) for x in config.iter_pypi_stats()))
139 os.environ["AURA_PYPI_STATS"] = str(stats)
140 try:
141 result = fixtures.get_cli_output(['info'])
142 finally:
143 del os.environ["AURA_PYPI_STATS"]
144
145
146def test_ast_parser(fixtures):

Callers

nothing calls this directly

Calls 2

joinMethod · 0.80
get_cli_outputMethod · 0.80

Tested by

no test coverage detected