mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-14 15:05:14 +02:00
Test
This commit is contained in:
parent
f1acd46588
commit
8ec24bfb0d
1 changed files with 3 additions and 2 deletions
|
@ -171,7 +171,6 @@ class TestOrganizationMigration(TestCase):
|
||||||
# Lets test the first one
|
# Lets test the first one
|
||||||
transition = transition_domains.first()
|
transition = transition_domains.first()
|
||||||
expected_transition_domain = TransitionDomain(
|
expected_transition_domain = TransitionDomain(
|
||||||
id=24,
|
|
||||||
username='alexandra.bobbitt5@test.com',
|
username='alexandra.bobbitt5@test.com',
|
||||||
domain_name='fakewebsite2.gov',
|
domain_name='fakewebsite2.gov',
|
||||||
status='on hold',
|
status='on hold',
|
||||||
|
@ -193,10 +192,12 @@ class TestOrganizationMigration(TestCase):
|
||||||
state_territory='Oh',
|
state_territory='Oh',
|
||||||
zipcode='43268'
|
zipcode='43268'
|
||||||
)
|
)
|
||||||
|
expected_transition_domain.id = transition.id
|
||||||
|
|
||||||
self.assertEqual(transition, expected_transition_domain)
|
self.assertEqual(transition, expected_transition_domain)
|
||||||
|
|
||||||
def test_load_organization_data_domain_information(self):
|
def test_load_organization_data_domain_information(self):
|
||||||
|
self.maxDiff = None
|
||||||
# == First, parse all existing data == #
|
# == First, parse all existing data == #
|
||||||
self.run_load_domains()
|
self.run_load_domains()
|
||||||
self.run_transfer_domains()
|
self.run_transfer_domains()
|
||||||
|
@ -234,7 +235,7 @@ class TestOrganizationMigration(TestCase):
|
||||||
anything_else=None,
|
anything_else=None,
|
||||||
is_policy_acknowledged=None
|
is_policy_acknowledged=None
|
||||||
)
|
)
|
||||||
self.assertEqual(domain_information, expected_domain_information)
|
self.assertEqual(domain_information.__dict__, expected_domain_information.__dict__)
|
||||||
|
|
||||||
def test_load_organization_data_integrity(self):
|
def test_load_organization_data_integrity(self):
|
||||||
"""Validates data integrity with the load_org_data command"""
|
"""Validates data integrity with the load_org_data command"""
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue