mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-13 13:09:41 +02:00
Update test_management_scripts.py
This commit is contained in:
parent
90e0887eb3
commit
574cb1bafa
1 changed files with 1 additions and 3 deletions
|
@ -149,15 +149,13 @@ class TestPopulateOrganizationType(MockEppLib):
|
||||||
self.assert_expected_org_values_on_request_and_info(city_request, city_info, expected_values)
|
self.assert_expected_org_values_on_request_and_info(city_request, city_info, expected_values)
|
||||||
|
|
||||||
def test_request_and_info_federal(self):
|
def test_request_and_info_federal(self):
|
||||||
"""Tests what happens to a federal domain with is_election_board=True (which should be reverted to None)"""
|
"""Tests what happens to a federal domain after the script is run (should be unchanged)"""
|
||||||
federal_request = self.domain_request_1
|
federal_request = self.domain_request_1
|
||||||
federal_info = self.domain_info_1
|
federal_info = self.domain_info_1
|
||||||
|
|
||||||
# Make sure that all data is correct before proceeding.
|
# Make sure that all data is correct before proceeding.
|
||||||
# Since the presave fixture is in effect, we should expect that
|
# Since the presave fixture is in effect, we should expect that
|
||||||
# is_election_board is equal to none, even though we tried to define it as "True"
|
# is_election_board is equal to none, even though we tried to define it as "True"
|
||||||
# TODO - either add some logging if this happens or a ValueError in the original ticket.
|
|
||||||
# Or FSM? Probably FSM.
|
|
||||||
expected_values = {
|
expected_values = {
|
||||||
'is_election_board': None,
|
'is_election_board': None,
|
||||||
'generic_org_type': DomainRequest.OrganizationChoices.FEDERAL,
|
'generic_org_type': DomainRequest.OrganizationChoices.FEDERAL,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue