From 0cefef4e150f04b803d7c910427412fc646357e3 Mon Sep 17 00:00:00 2001 From: Matthias Bisping Date: Thu, 31 Mar 2022 16:35:12 +0200 Subject: [PATCH] more test cases for key transformer --- test/unit_tests/formatter_test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/unit_tests/formatter_test.py b/test/unit_tests/formatter_test.py index 0b5a2d1..c222147 100644 --- a/test/unit_tests/formatter_test.py +++ b/test/unit_tests/formatter_test.py @@ -14,9 +14,9 @@ def test_camel_case_key_formatter(snake_case_data, camel_case_data): @pytest.fixture def snake_case_data(): - return {"a_key": {"key": None, "key_2": ["may_not_be_changed"]}, 2: {"yet_another_key": None}} + return {"a_key": {"key": None, "key_2": ["may_not_be_changed", (1, 2, 2.2)]}, 2: {"yet_another_key": 3, 4: "a"}} @pytest.fixture def camel_case_data(): - return {"aKey": {"key": None, "key2": ["may_not_be_changed"]}, 2: {"yetAnotherKey": None}} + return {"aKey": {"key": None, "key2": ["may_not_be_changed", (1, 2, 2.2)]}, 2: {"yetAnotherKey": 3, 4: "a"}}