Skip to content

Commit

Permalink
Fix failing tests #45
Browse files Browse the repository at this point in the history
Signed-off-by: tdruez <tdruez@nexb.com>
  • Loading branch information
tdruez committed Aug 7, 2024
1 parent 3588be9 commit d9d7add
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions product_portfolio/tests/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def test_product_portfolio_detail_view_tab_inventory_and_hierarchy_availability(
ProductComponent.objects.create(
product=self.product1, component=self.component1, dataspace=self.dataspace
)
with self.assertNumQueries(29):
with self.assertNumQueries(28):
response = self.client.get(url)
self.assertContains(response, expected1)
self.assertContains(response, expected2)
Expand All @@ -155,7 +155,7 @@ def test_product_portfolio_detail_view_tab_inventory_availability(self):
ProductPackage.objects.create(
product=self.product1, package=self.package1, dataspace=self.dataspace
)
with self.assertNumQueries(26):
with self.assertNumQueries(25):
response = self.client.get(url)
self.assertContains(response, expected)

Expand Down

0 comments on commit d9d7add

Please sign in to comment.