Start on unit tests for the API endpoint

This commit is contained in:
Joseph Schorr 2014-01-31 16:19:29 -05:00
parent fdb628a0b0
commit 900ccd4c47
2 changed files with 87 additions and 0 deletions

View file

@ -314,6 +314,8 @@ def create_new_user():
@internal_api_call
def signin_user():
signin_data = request.get_json()
if not signin_data:
abort(404)
username = signin_data['username']
password = signin_data['password']