Added configuration tests & improved json parsing by converting into target types

This commit is contained in:
2023-04-09 12:31:31 +02:00
parent 0378f8944a
commit 1117735f2e
6 changed files with 71 additions and 4 deletions

View File

@@ -26,7 +26,7 @@ class JSONProcessorTestCase(unittest.TestCase):
"i": 10,
"s": "Hello World",
"d": {"test": "Test"},
"l": range(0, 11),
"l": list(range(0, 11)),
"value": {"value": "Hello World"},
}
test: TestClass = JSONProcessor.process(TestClass, test_dict)