We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b557b9b commit f2cab92Copy full SHA for f2cab92
tests/test_client.py
@@ -297,9 +297,9 @@ def test_multi_content_scan(self):
297
scan_results, status_code = self.client.multi_content_scan(entry.input)
298
self.assertEqual(status_code, 200)
299
self.assertEqual(type(scan_results), list)
300
- example_dict = json.loads(EXAMPLE_RESPONSE)
301
for i, scan_result in enumerate(scan_results):
302
if entry.expected:
+ example_dict = json.loads(entry.expected)
303
self.assertEqual(
304
all(
305
elem in example_dict[i]["policies"]
0 commit comments