We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d91b413 commit d4c03d1Copy full SHA for d4c03d1
tests/unit/util/test_converters.py
@@ -2,7 +2,6 @@
2
3
import pytest
4
5
-from logprep.factory_error import InvalidConfigurationError
6
from logprep.util.converters import (
7
convert_ordered_mapping_or_keep_mapping,
8
)
@@ -38,7 +37,7 @@
38
37
39
def test_merge_dicts_converter(case, should_raise: bool):
40
if should_raise:
41
- with pytest.raises(InvalidConfigurationError):
+ with pytest.raises(ValueError):
42
convert_ordered_mapping_or_keep_mapping(case)
43
else:
44
assert convert_ordered_mapping_or_keep_mapping(case)
0 commit comments