Parse AO information

This commit is contained in:
zandercymatics 2023-11-13 13:08:03 -07:00
parent 51b4c19e35
commit a4758f1b62
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7
3 changed files with 30 additions and 9 deletions

View file

@ -313,6 +313,14 @@ class TestMigrations(TestCase):
self.assertEqual(fakewebsite.federal_agency, "Department of Commerce")
self.assertEqual(fakewebsite.federal_type, "executive")
ao = fakewebsite.authorizing_official
self.assertEqual(ao.first_name, "Seline")
self.assertEqual(ao.middle_name, "testmiddle2")
self.assertEqual(ao.last_name, "Tower")
self.assertEqual(ao.email, "stower3@answers.com")
self.assertEqual(ao.phone, "151-539-6028")
# Check for the "system" creator user
Users = User.objects.filter(username="System")
self.assertEqual(Users.count(), 1)