Update tests for teams API
This commit is contained in:
parent
eeadeb9383
commit
b683088f87
4 changed files with 85 additions and 19 deletions
|
@ -8,6 +8,8 @@ from endpoints.api import api
|
|||
CSRF_TOKEN_KEY = '_csrf_token'
|
||||
CSRF_TOKEN = '123csrfforme'
|
||||
|
||||
|
||||
@contextmanager
|
||||
def client_with_identity(auth_username, client):
|
||||
with client.session_transaction() as sess:
|
||||
if auth_username and auth_username is not None:
|
||||
|
|
Reference in a new issue