mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-13 06:28:24 +02:00
Allow unknown state in data migration
This commit is contained in:
parent
01b1e3e520
commit
45f8e26018
5 changed files with 14 additions and 14 deletions
|
@ -193,6 +193,17 @@ class TestOrganizationMigration(TestCase):
|
|||
|
||||
self.assertEqual(transition, expected_transition_domain)
|
||||
|
||||
def test_transition_domain_status_unknown(self):
|
||||
"""
|
||||
Test that a domain in unknown status can be loaded
|
||||
""" # noqa - E501 (harder to read)
|
||||
# == First, parse all existing data == #
|
||||
self.run_load_domains()
|
||||
self.run_transfer_domains()
|
||||
|
||||
domain_object = Domain.objects.get(name="fakewebsite3.gov")
|
||||
self.assertEqual(domain_object.state, Domain.State.UNKNOWN)
|
||||
|
||||
def test_load_organization_data_domain_information(self):
|
||||
"""
|
||||
This test verifies the functionality of the load_organization_data method.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue