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

Function test_bad_package_score

tests/test_package.py:108–114  ·  view source on GitHub ↗
(mock1, mock_github, mock_pypi_rest_api, mock_pypi_stats)

Source from the content-addressed store, hash-verified

106@responses.activate
107@patch("aura.package.get_reverse_dependencies", return_value=[])
108def test_bad_package_score(mock1, mock_github, mock_pypi_rest_api, mock_pypi_stats):
109 mock_pypi_rest_api(responses)
110 mock_github(responses)
111
112 pkg = package.PackageScore("badboy")
113 matrix = pkg.get_score_matrix()
114 assert matrix["total"] == 0
115
116
117@responses.activate

Callers

nothing calls this directly

Calls 3

get_score_matrixMethod · 0.95
mock_pypi_rest_apiFunction · 0.85
mock_githubFunction · 0.85

Tested by

no test coverage detected