Skip to content

Commit 52f42ca

Browse files
committed
adds edge case for None value
1 parent 12a702d commit 52f42ca

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tests/apimatic_core/utility_tests/test_api_helper.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1172,6 +1172,7 @@ def test_update_entry_by_json_pointer(self, initial_dict, pointer, new_value, in
11721172
assert initial_dict == original_copy
11731173

11741174
@pytest.mark.parametrize("url, expected", [
1175+
(None, {}),
11751176
("https://example.com/path?name=Sufyan", {"name": "Sufyan"}),
11761177
("https://example.com/api?name=John&role=Engineer", {"name": "John", "role": "Engineer"}),
11771178
("https://example.com/home", {}),

0 commit comments

Comments
 (0)