Add missing configutils test

This commit is contained in:
Florian Bruhin 2018-02-20 11:18:17 +01:00
parent 05017c83d6
commit 9c42d87e7d

View File

@ -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