Skip to content

Commit

Permalink
Fix failing unit tests #97
Browse files Browse the repository at this point in the history
Signed-off-by: tdruez <tdruez@nexb.com>
  • Loading branch information
tdruez committed Dec 16, 2024
1 parent 8c96ba3 commit 6984d5d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions dje/tests/testfiles/test_dataset_pp_only.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@
"vcs_url": "",
"code_view_url": "",
"bug_tracking_url": "",
"md5": "",
"sha1": "",
"sha256": "",
"sha512": "",
"filename": "systemu-2.5.2.gem",
"download_url": "https://s3.amazonaws.com/production.s3.rubygems.org/gems/systemu-2.5.2.gem",
"sha1": "",
"md5": "",
"size": null,
"release_date": null,
"primary_language": "",
Expand Down Expand Up @@ -98,7 +98,8 @@
"nexB",
"addd9c5d-a5ec-48ec-a565-ddb81092f49d"
],
"contact": ""
"contact": "",
"vulnerabilities_risk_threshold": null
}
},
{
Expand Down
2 changes: 1 addition & 1 deletion product_portfolio/tests/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ def test_product_portfolio_tab_vulnerability_view_queries(self):
make_vulnerability_analysis(product_package2, vulnerability2)

url = product1.get_url("tab_vulnerabilities")
with self.assertNumQueries(9):
with self.assertNumQueries(10):
self.client.get(url)

def test_product_portfolio_tab_vulnerability_view_analysis_rendering(self):
Expand Down

0 comments on commit 6984d5d

Please sign in to comment.