From 5313474460fad34f91ae92e240820c641c96f753 Mon Sep 17 00:00:00 2001 From: Andreas Zweili Date: Tue, 31 Dec 2019 01:25:08 +0100 Subject: [PATCH] correct test_customer_user_table_no_user --- .../inventory/tests/test_views/test_customer_user_table_view.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/network_inventory/inventory/tests/test_views/test_customer_user_table_view.py b/network_inventory/inventory/tests/test_views/test_customer_user_table_view.py index b72511a..61c9e0a 100644 --- a/network_inventory/inventory/tests/test_views/test_customer_user_table_view.py +++ b/network_inventory/inventory/tests/test_views/test_customer_user_table_view.py @@ -39,7 +39,7 @@ def test_customer_user_table_no_user(create_admin_user): client.login(username="novartis-admin", password="password") response = client.get('/customer/' + str(customer.id) + '/users/') 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):