Removed the unused clients from the setUp method of the BaseAccountTestCase test case.
This commit is contained in:
parent
6b94cfb908
commit
2a6c5de6d6
@ -87,10 +87,6 @@ class BaseAccountTestCase(unittest.TestCase):
|
|||||||
result = runner.invoke(args="accounting-init-base")
|
result = runner.invoke(args="accounting-init-base")
|
||||||
self.assertEqual(result.exit_code, 0)
|
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:
|
def test_nobody(self) -> None:
|
||||||
"""Test the permission as nobody.
|
"""Test the permission as nobody.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user