mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-05-04 08:01:34 -04:00
Created api_key_api_client.
Implementation of create, revoke and show api keys for service. These calls work, however we still need to fix the tests.
This commit is contained in:
@@ -210,3 +210,7 @@ def mock_register_user(mocker, user_data):
|
||||
mock_class = mocker.patch('app.user_api_client.register_user')
|
||||
mock_class.return_value = user
|
||||
return mock_class
|
||||
|
||||
|
||||
def mock_create_api_key(mocker, key_name):
|
||||
mock_class = mocker.patch('app.api')
|
||||
|
||||
Reference in New Issue
Block a user