We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80ec1f0 commit b8bd0d1Copy full SHA for b8bd0d1
tests/unit/test_eventtype_parser.py
@@ -20,9 +20,12 @@ def test_get_eventtypes_calls_app_get_config(parser):
20
mock.assert_called_once()
21
22
23
-def test_no_config_file(parser):
+def test_no_eventtype_config_file(parser):
24
parser.app.eventtypes_conf = os_error
25
- assert not parser.eventtypes, "eventtypes created when no config file exists"
+ output = []
26
+ for i in parser.get_eventtypes():
27
+ output.append(i)
28
+ assert not output, "eventtypes created when no config file exists"
29
30
31
@pytest.fixture()
0 commit comments