mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-15 20:38:44 +08:00
fix #942: type_match None
This commit is contained in:
@@ -69,6 +69,9 @@ class TestUtils(unittest.TestCase):
|
||||
functions_mapping["type_match"]([1], "list")
|
||||
functions_mapping["type_match"]({}, "dict")
|
||||
functions_mapping["type_match"]({"a": 1}, "dict")
|
||||
functions_mapping["type_match"](None, "None")
|
||||
functions_mapping["type_match"](None, "NoneType")
|
||||
functions_mapping["type_match"](None, None)
|
||||
|
||||
def test_lower_dict_keys(self):
|
||||
request_dict = {
|
||||
|
||||
Reference in New Issue
Block a user