fix unit tests

This commit is contained in:
Rachid Mrad 2024-10-04 11:47:16 -04:00
commit dd96ae318b
No known key found for this signature in database
8 changed files with 108 additions and 19 deletions

View file

@ -817,7 +817,6 @@ class TestPortfolio(WebTest):
# Verify that view-only settings are sent in the dynamic HTML
response = self.client.get(reverse("get_portfolio_members_json") + f"?portfolio={self.portfolio.pk}")
print(response.content)
self.assertContains(response, '"action_label": "View"')
self.assertContains(response, '"svg_icon": "visibility"')