From 071fb34b3843872fb4ee7698cbbee04ec8a26096 Mon Sep 17 00:00:00 2001 From: Jay Date: Fri, 23 Dec 2022 22:58:49 +0530 Subject: [PATCH] Test files path rollback. Signed-off-by: Jay --- tests/test_package.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_package.py b/tests/test_package.py index 03190932..2c1e9650 100644 --- a/tests/test_package.py +++ b/tests/test_package.py @@ -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)