diff options
Diffstat (limited to 'tests/test_scenarios.py')
-rw-r--r-- | tests/test_scenarios.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/test_scenarios.py b/tests/test_scenarios.py index 1cd9db3..4314959 100644 --- a/tests/test_scenarios.py +++ b/tests/test_scenarios.py @@ -3,7 +3,7 @@ # Copyright (C) 2021 Thomas Touhey <thomas@touhey.fr> # This file is part of the pyfingerd project, which is MIT-licensed. # ***************************************************************************** -""" Tests for the pyfingerd server. """ +"""Tests for the pyfingerd server.""" from pyfingerd.fiction import ( FingerScenario, FingerUserCreationAction, FingerUserDeletionAction, @@ -14,18 +14,18 @@ import pytest class TestScenarios: - """ Test scenarios. """ + """Test scenarios.""" def test_no_ending_type(self): scenario = FingerScenario() scenario.duration = '1m' - with pytest.raises(ValueError, match=r'ending type'): + with pytest.raises(ValueError, match=r'Ending type'): scenario.verify() def test_no_duration(self): scenario = FingerScenario() scenario.ending_type = FingerScenario.EndingType.FREEZE - with pytest.raises(ValueError, match=r'ending time'): + with pytest.raises(ValueError, match=r'Ending time'): scenario.verify() def test_edit_without_create_user(self): |