mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-31 23:16:36 +02:00
Convert investigator id to investigator name in descriptive subheader on admin lists, update unit test, linting
This commit is contained in:
parent
257db0fae5
commit
10b0700657
5 changed files with 81 additions and 21 deletions
|
@ -65,6 +65,11 @@ class UserFixture:
|
|||
"first_name": "Rachid-Analyst",
|
||||
"last_name": "Mrad-Analyst",
|
||||
},
|
||||
{
|
||||
"username": "b6a15987-5c88-4e26-8de2-ca71a0bdb2cd",
|
||||
"first_name": "Alysia-Analyst",
|
||||
"last_name": "Alysia-Analyst",
|
||||
},
|
||||
]
|
||||
|
||||
STAFF_PERMISSIONS = [
|
||||
|
@ -99,7 +104,7 @@ class UserFixture:
|
|||
logger.debug("User object created for %s" % admin["first_name"])
|
||||
except Exception as e:
|
||||
logger.warning(e)
|
||||
logger.debug("All superusers loaded.")
|
||||
logger.info("All superusers loaded.")
|
||||
|
||||
logger.info("Going to load %s CISA analysts (staff)" % str(len(cls.STAFF)))
|
||||
for staff in cls.STAFF:
|
||||
|
@ -150,7 +155,7 @@ class UserFixture:
|
|||
logger.debug("User object created for %s" % staff["first_name"])
|
||||
except Exception as e:
|
||||
logger.warning(e)
|
||||
logger.debug("All CISA analysts (staff) loaded.")
|
||||
logger.info("All CISA analysts (staff) loaded.")
|
||||
|
||||
|
||||
class DomainApplicationFixture:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue