mirror of
https://github.com/pds-nest/nest.git
synced 2024-11-22 21:14:18 +00:00
cancellato utente_test al termine dei test
This commit is contained in:
parent
0b09d2274a
commit
54217fc8c2
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ class MyTestCase(unittest.TestCase):
|
||||||
auth_code = j['data']['access_token']
|
auth_code = j['data']['access_token']
|
||||||
|
|
||||||
r = requests.post(f'http://localhost:5000/api/user/remove', headers={'authorization': "Bearer " + auth_code},
|
r = requests.post(f'http://localhost:5000/api/user/remove', headers={'authorization': "Bearer " + auth_code},
|
||||||
json={'email': 'utente15@nest.com'})
|
json={'email': 'utente_test@nest.com'})
|
||||||
j = json.loads(r.text)
|
j = json.loads(r.text)
|
||||||
assert j['result'] == "success"
|
assert j['result'] == "success"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue