aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authornico <nico@magicbroccoli.de>2019-12-12 23:20:59 +0100
committernico <nico@magicbroccoli.de>2019-12-12 23:20:59 +0100
commit6f19f160ef0d2d72c1db35abcf03ee28a3982d7c (patch)
tree6f30c630da4cf6c59198d9621fa0303b6b92e2a0 /tests
parentcb84351270041449ee8a8984758e7e3ef86ea590 (diff)
code fixup
+ add contextlib.suppress to further improve readability - remove unnecessary return from if clause * added back else case
Diffstat (limited to 'tests')
-rw-r--r--tests/test_group_assign.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/test_group_assign.py b/tests/test_group_assign.py
index 1f86574..c3529a0 100644
--- a/tests/test_group_assign.py
+++ b/tests/test_group_assign.py
@@ -19,9 +19,8 @@ creds = {
class TestGroupAssigner:
def test_missing_input(self):
- """
- this should fail due to missing arguments
- """
+ # the main class is missing arguments and should fail with a TypeError
+
with pytest.raises(TypeError):
GroupAssigner().start()