diff --git a/tests/test_package.py b/tests/test_package.py index e3292259..802e03a9 100644 --- a/tests/test_package.py +++ b/tests/test_package.py @@ -109,7 +109,7 @@ def test_package_lookup_files(db_session: Session): with db_session.begin(): db_session.add(scan) - package = lookup_package_info(db_session, name="abc", version="1.0.0")[0] + package = lookup_package_info(db_session, name="abc", version="1.0.0").items[0] assert package.distributions == distros