mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-26 12:38:36 +02:00
fix unit tests
This commit is contained in:
parent
f183090e24
commit
6e900bc501
1 changed files with 2 additions and 2 deletions
|
@ -134,7 +134,7 @@ class TestPortfolio(WebTest):
|
||||||
# The read only label for city will be a h4
|
# The read only label for city will be a h4
|
||||||
self.assertContains(response, '<h4 class="read-only-label">City</h4>')
|
self.assertContains(response, '<h4 class="read-only-label">City</h4>')
|
||||||
self.assertNotContains(response, 'for="id_city"')
|
self.assertNotContains(response, 'for="id_city"')
|
||||||
self.assertContains(response, '<p class="margin-top-0">Los Angeles</p>')
|
self.assertContains(response, '<p class="read-only-value">Los Angeles</p>')
|
||||||
|
|
||||||
@less_console_noise_decorator
|
@less_console_noise_decorator
|
||||||
def test_portfolio_organization_page_edit_access(self):
|
def test_portfolio_organization_page_edit_access(self):
|
||||||
|
@ -156,7 +156,7 @@ class TestPortfolio(WebTest):
|
||||||
self.assertContains(response, '<h4 class="read-only-label">Federal agency</h4>')
|
self.assertContains(response, '<h4 class="read-only-label">Federal agency</h4>')
|
||||||
# The read only label for city will be a h4
|
# The read only label for city will be a h4
|
||||||
self.assertNotContains(response, '<h4 class="read-only-label">City</h4>')
|
self.assertNotContains(response, '<h4 class="read-only-label">City</h4>')
|
||||||
self.assertNotContains(response, '<p class="margin-top-0">Los Angeles</p>>')
|
self.assertNotContains(response, '<p class="read-only-value">Los Angeles</p>>')
|
||||||
self.assertContains(response, 'for="id_city"')
|
self.assertContains(response, 'for="id_city"')
|
||||||
|
|
||||||
@less_console_noise_decorator
|
@less_console_noise_decorator
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue