Start on unit tests for the API endpoint
This commit is contained in:
parent
fdb628a0b0
commit
900ccd4c47
2 changed files with 87 additions and 0 deletions
|
@ -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']
|
||||
|
|
Reference in a new issue