Update tests for teams API

This commit is contained in:
Joseph Schorr 2017-02-22 15:23:52 -05:00
parent eeadeb9383
commit b683088f87
4 changed files with 85 additions and 19 deletions

View file

@ -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: