diff options
Diffstat (limited to 'tests/test_utils.py')
-rw-r--r-- | tests/test_utils.py | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/tests/test_utils.py b/tests/test_utils.py index ed206dd..cc7fae0 100644 --- a/tests/test_utils.py +++ b/tests/test_utils.py @@ -1,6 +1,7 @@ # coding: utf-8 from typing import List, NamedTuple + import pytest from fuzzycat.utils import * @@ -105,10 +106,22 @@ def test_keys_with_values(): cases = ( Case({}, []), Case({"a": "v"}, ["a"]), - Case({"a": "", "b": "v"}, ["b"]), - Case({"a": None, "b": "v"}, ["b"]), - Case({"a": [], "b": "v"}, ["b"]), - Case({"a": 0, "b": "v"}, ["b"]), + Case({ + "a": "", + "b": "v" + }, ["b"]), + Case({ + "a": None, + "b": "v" + }, ["b"]), + Case({ + "a": [], + "b": "v" + }, ["b"]), + Case({ + "a": 0, + "b": "v" + }, ["b"]), ) for case in cases: result = keys_with_values(case.d) |