Skip to content

Commit

Permalink
Test files path rollback.
Browse files Browse the repository at this point in the history
Signed-off-by: Jay <[email protected]>
  • Loading branch information
35C4n0r committed Dec 23, 2022
1 parent 2e4a63f commit 36c82cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_package.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@ def test_npm_packages(mock_get):

@mock.patch("fetchcode.package.get_response")
def test_pypi_packages(mock_get):
side_effect = [file_data("test/data/pypi_mock_data.json")]
side_effect = [file_data("tests/data/pypi_mock_data.json")]
purl = "pkg:pypi/flask"
expected_data = file_data("test/data/pypi.json")
expected_data = file_data("tests/data/pypi.json")
mock_get.side_effect = side_effect
packages = list(info(purl))
match_data(packages, expected_data)
Expand Down

0 comments on commit 36c82cf

Please sign in to comment.