mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-23 17:01:35 -05:00
notify-api-533 add flask command to promote user to platform admin
This commit is contained in:
@@ -182,6 +182,11 @@ def sample_user(notify_db_session):
|
||||
return create_user(email="notify@digital.fake.gov")
|
||||
|
||||
|
||||
@pytest.fixture(scope="function")
|
||||
def sample_platform_admin(notify_db_session):
|
||||
return create_user(email="notify_pa@digital.fake.gov", platform_admin=True)
|
||||
|
||||
|
||||
@pytest.fixture(scope="function")
|
||||
def notify_user(notify_db_session):
|
||||
return create_user(
|
||||
|
||||
Reference in New Issue
Block a user