Skip to content

Commit d4c03d1

Browse files
committed
Change test to expect ValueError not InvalidConfigurationError
1 parent d91b413 commit d4c03d1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/unit/util/test_converters.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
import pytest
44

5-
from logprep.factory_error import InvalidConfigurationError
65
from logprep.util.converters import (
76
convert_ordered_mapping_or_keep_mapping,
87
)
@@ -38,7 +37,7 @@
3837
)
3938
def test_merge_dicts_converter(case, should_raise: bool):
4039
if should_raise:
41-
with pytest.raises(InvalidConfigurationError):
40+
with pytest.raises(ValueError):
4241
convert_ordered_mapping_or_keep_mapping(case)
4342
else:
4443
assert convert_ordered_mapping_or_keep_mapping(case)

0 commit comments

Comments
 (0)