Skip to content

Commit 77c0322

Browse files
fix: Adjust the unit tests (#99)
* fix: Adjust the unit tests * docs: Add coverage badge --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent cf521c7 commit 77c0322

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

docs/coverage.svg

Lines changed: 2 additions & 2 deletions
Loading

tests/unittests/test_api.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,9 @@ def test_check_the_api_call_response_return_status_code_list(self):
247247
),
248248
)
249249

250+
def test_check_if_valid_json_null(self):
251+
self.assertEqual(False, self.api._check_if_valid_json("null"))
252+
250253
def test_prepare_api_string(self):
251254
self.assertEqual("test&", self.api.prepare_api_string("test"))
252255

0 commit comments

Comments
 (0)