Skip to content

Commit

Permalink
Remove unused imports
Browse files Browse the repository at this point in the history
Signed-off-by: Philippe Ombredanne <[email protected]>
  • Loading branch information
pombredanne committed Aug 27, 2024
1 parent 1e17d34 commit 7aed3f3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions vulnerabilities/tests/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,9 @@
from django.test import TestCase
from django.test import TransactionTestCase
from django.test.client import RequestFactory
from packageurl import PackageURL
from rest_framework import status
from rest_framework.test import APIClient

from vulnerabilities.api import MinimalPackageSerializer
from vulnerabilities.api import PackageSerializer
from vulnerabilities.api import VulnerabilityReferenceSerializer
from vulnerabilities.models import Alias
Expand Down Expand Up @@ -449,7 +447,7 @@ def test_api_packages_all_num_queries(self):
response = self.csrf_client.get(f"/api/packages/all", format="json").data

assert len(response) == 3
assert response == [
assert list(response) == [
"pkg:maven/com.fasterxml.jackson.core/[email protected]",
"pkg:maven/com.fasterxml.jackson.core/[email protected]",
"pkg:maven/com.fasterxml.jackson.core/[email protected]",
Expand Down

0 comments on commit 7aed3f3

Please sign in to comment.