remove deprecated test.
This commit is contained in:
parent
09b18fbc68
commit
9b8b2130ef
@ -82,14 +82,10 @@ class TestColorDict:
|
|||||||
|
|
||||||
@pytest.mark.parametrize('key, expected', [
|
@pytest.mark.parametrize('key, expected', [
|
||||||
('foo', 'one'),
|
('foo', 'one'),
|
||||||
('foo.fg', 'color: two;'),
|
|
||||||
('foo.bg', 'background-color: three;'),
|
|
||||||
])
|
])
|
||||||
def test_values(self, key, expected):
|
def test_values(self, key, expected):
|
||||||
d = style.ColorDict()
|
d = style.ColorDict()
|
||||||
d['foo'] = 'one'
|
d['foo'] = 'one'
|
||||||
d['foo.fg'] = 'two'
|
|
||||||
d['foo.bg'] = 'three'
|
|
||||||
assert d[key] == expected
|
assert d[key] == expected
|
||||||
|
|
||||||
def test_key_error(self, caplog):
|
def test_key_error(self, caplog):
|
||||||
|
Loading…
Reference in New Issue
Block a user