test(privacy): print the test data to stdout

This will enable visibility within the test report.

MR !4
This commit is contained in:
2022-01-28 12:05:44 +09:30
parent cfe5de7ed7
commit 3a2968b56a

View File

@ -25,6 +25,8 @@ class Test:
check_url = data['url']
print(str(data))
assert data['request_protocol'] == 'https', f"Insecure Request to domain [{data['request_path']}] in source files [{data['source_files']}]"
assert data['domain'] in self.approved_external_requests, f"A request is being made to a non-approved domain [{data['domain']}] path [{data['request_path']}] in source files [{data['source_files']}]"