mirror of
https://github.com/Nebucatnetzer/network_inventory.git
synced 2024-06-30 05:01:05 +02:00
correct test_customer_user_table_no_user
This commit is contained in:
parent
3e5a973287
commit
5313474460
|
@ -39,7 +39,7 @@ def test_customer_user_table_no_user(create_admin_user):
|
||||||
client.login(username="novartis-admin", password="password")
|
client.login(username="novartis-admin", password="password")
|
||||||
response = client.get('/customer/' + str(customer.id) + '/users/')
|
response = client.get('/customer/' + str(customer.id) + '/users/')
|
||||||
assert (response.status_code == 200
|
assert (response.status_code == 200
|
||||||
and helper.not_in_content(response, "Novartis PC"))
|
and helper.not_in_content(response, customer))
|
||||||
|
|
||||||
|
|
||||||
def test_customer_user_table_no_permission(create_admin_user):
|
def test_customer_user_table_no_permission(create_admin_user):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user