mirror of
https://github.com/pds-nest/nest.git
synced 2024-11-21 20:44:18 +00:00
delete testata in tutti i metodi
This commit is contained in:
parent
be7820521c
commit
549877fb53
1 changed files with 2 additions and 2 deletions
|
@ -44,13 +44,13 @@ class MyTestCase(unittest.TestCase):
|
|||
|
||||
print("delete User NON eseguito correttamente!")
|
||||
|
||||
r = requests.delete(f'http://localhost:5000/api/v1/users/utente12@nest.com',
|
||||
r = requests.delete(f'http://localhost:5000/api/v1/users/utente3@nest.com',
|
||||
headers={'authorization': "Bearer " + auth_code},)
|
||||
j = json.loads(r.text)
|
||||
assert j['result'] == "success"
|
||||
|
||||
print("User_delete eseguito correttamente!")
|
||||
|
||||
print("Testing del metodo user_delete")
|
||||
print("Testing del metodo user delete")
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue