1
Fork 0
mirror of https://github.com/pds-nest/nest.git synced 2024-11-22 04:54:18 +00:00

Merge branch 'main' of zero.ryg.one:nest/g2-progetto

This commit is contained in:
Annielated 2021-04-29 00:04:29 +02:00
commit 7ff3fd5e1c

View file

@ -16,7 +16,7 @@ class MyTestCase(unittest.TestCase):
auth_code = j['data']['access_token']
r = requests.post(f'http://localhost:5000/api/user/create', headers={'authorization': "Bearer " + auth_code},
json={'email': 'utente16@nest.com', 'password': '', 'username': 'utente16'})
json={'email': 'utente_test@nest.com', 'password': 'password', 'username': 'utente'})
j = json.loads(r.text)
assert j['result'] == "success"