extract get_current_user, fix tests
This commit is contained in:
@@ -19,6 +19,12 @@ MOCK_REQUEST = RequestFactory.create(
|
||||
},
|
||||
}
|
||||
)
|
||||
DOD_SDN_INFO = {
|
||||
'first_name': 'ART',
|
||||
'last_name': 'GARFUNKEL',
|
||||
'dod_id': '5892460358'
|
||||
}
|
||||
DOD_SDN = f"CN={DOD_SDN_INFO['last_name']}.{DOD_SDN_INFO['first_name']}.G.{DOD_SDN_INFO['dod_id']},OU=OTHER,OU=PKI,OU=DoD,O=U.S. Government,C=US"
|
||||
|
||||
|
||||
class MockApiClient(ApiClient):
|
||||
|
Reference in New Issue
Block a user