summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/hashserv/tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/hashserv/tests.py')
-rw-r--r--bitbake/lib/hashserv/tests.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/bitbake/lib/hashserv/tests.py b/bitbake/lib/hashserv/tests.py
index 5d209ffb87..f0be867915 100644
--- a/bitbake/lib/hashserv/tests.py
+++ b/bitbake/lib/hashserv/tests.py
@@ -683,10 +683,13 @@ class HashEquivalenceCommonTests(object):
683 683
684 user = self.create_user("test-user", []) 684 user = self.create_user("test-user", [])
685 685
686 # No self service 686 # self service
687 with self.auth_client(user) as client, self.assertRaises(InvokeError): 687 with self.auth_client(user) as client:
688 client.delete_user(user["username"]) 688 client.delete_user(user["username"])
689 689
690 self.assertIsNone(admin_client.get_user(user["username"]))
691 user = self.create_user("test-user", [])
692
690 with self.auth_perms() as client, self.assertRaises(InvokeError): 693 with self.auth_perms() as client, self.assertRaises(InvokeError):
691 client.delete_user(user["username"]) 694 client.delete_user(user["username"])
692 695