-
Notifications
You must be signed in to change notification settings - Fork 201
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Philippe Ombredanne <[email protected]>
- Loading branch information
1 parent
1e17d34
commit 7aed3f3
Showing
1 changed file
with
1 addition
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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]", | ||
|