Removed the unused clients from the setUp method of the BaseAccountTestCase test case.

This commit is contained in:
依瑪貓 2023-02-06 21:37:41 +08:00
parent 6b94cfb908
commit 2a6c5de6d6

View File

@ -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.