parent
06fd32b501
commit
11e7cbde69
|
@ -92,6 +92,14 @@ def test_key_is_down():
|
||||||
assert result is False
|
assert result is False
|
||||||
|
|
||||||
|
|
||||||
|
def test_feature():
|
||||||
|
expected_data = {"Feature": "CONFIG CHANGE"}
|
||||||
|
|
||||||
|
result = diversion.Feature("CONFIG_CHANGE")
|
||||||
|
|
||||||
|
assert result.data() == expected_data
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.parametrize(
|
@pytest.mark.parametrize(
|
||||||
"feature, data",
|
"feature, data",
|
||||||
[
|
[
|
||||||
|
|
Loading…
Reference in New Issue