From 2a6c5de6d6c501317cd6c45ac734d4cf6d39d22a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BE=9D=E7=91=AA=E8=B2=93?= Date: Mon, 6 Feb 2023 21:37:41 +0800 Subject: [PATCH] Removed the unused clients from the setUp method of the BaseAccountTestCase test case. --- tests/test_base_account.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tests/test_base_account.py b/tests/test_base_account.py index 01ad713..1fff9ea 100644 --- a/tests/test_base_account.py +++ b/tests/test_base_account.py @@ -87,10 +87,6 @@ class BaseAccountTestCase(unittest.TestCase): result = runner.invoke(args="accounting-init-base") self.assertEqual(result.exit_code, 0) - self.viewer: UserClient = get_user_client(self, self.app, "viewer") - self.editor: UserClient = get_user_client(self, self.app, "editor") - self.nobody: UserClient = get_user_client(self, self.app, "nobody") - def test_nobody(self) -> None: """Test the permission as nobody.