fix unit tests

This commit is contained in:
Rachid Mrad 2025-02-10 16:50:54 -05:00
parent 586d83adc1
commit 1d54fe6b43
No known key found for this signature in database

View file

@ -952,7 +952,7 @@ class TestPortfolio(WebTest):
self.assertContains(response, "Creator") self.assertContains(response, "Creator")
self.assertContains(response, "Manager") self.assertContains(response, "Manager")
self.assertContains( self.assertContains(
response, 'This member does not manage any domains. To assign this member a domain, click "Edit"' response, 'This member does not manage any domains.'
) )
# Assert buttons and links within the page are correct # Assert buttons and links within the page are correct
@ -1067,7 +1067,7 @@ class TestPortfolio(WebTest):
self.assertContains(response, "Creator") self.assertContains(response, "Creator")
self.assertContains(response, "Manager") self.assertContains(response, "Manager")
self.assertContains( self.assertContains(
response, 'This member does not manage any domains. To assign this member a domain, click "Edit"' response, 'This member does not manage any domains.'
) )
# Assert buttons and links within the page are correct # Assert buttons and links within the page are correct
self.assertContains(response, "wrapper-delete-action") # test that 3 dot is present self.assertContains(response, "wrapper-delete-action") # test that 3 dot is present