Add missing configutils test
This commit is contained in:
parent
05017c83d6
commit
9c42d87e7d
@ -169,6 +169,10 @@ def test_get_matching_pattern(values, pattern):
|
||||
assert values.get_for_pattern(pattern, fallback=False) == 'example value'
|
||||
|
||||
|
||||
def test_get_pattern_none(values, pattern):
|
||||
assert values.get_for_pattern(None, fallback=False) == 'global value'
|
||||
|
||||
|
||||
def test_get_unset_pattern(empty_values, pattern):
|
||||
value = empty_values.get_for_pattern(pattern, fallback=False)
|
||||
assert value is configutils.UNSET
|
||||
|
Loading…
Reference in New Issue
Block a user