Add missing test for configtypes.Key
This commit is contained in:
parent
a9c1fc665f
commit
7bddb7867b
@ -2123,6 +2123,9 @@ class TestKey:
|
|||||||
with pytest.raises(configexc.ValidationError):
|
with pytest.raises(configexc.ValidationError):
|
||||||
klass().to_py(val)
|
klass().to_py(val)
|
||||||
|
|
||||||
|
def test_normalized(self, klass):
|
||||||
|
assert klass().from_obj('<ctrl-q>') == '<Ctrl+q>'
|
||||||
|
|
||||||
|
|
||||||
class TestUrlPattern:
|
class TestUrlPattern:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user