Skip to content

Commit

Permalink
test api mock responses to make sure working correct in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean-McCann-HG committed Apr 19, 2024
1 parent a69d280 commit 88015a8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions QGIS-AIMS-Plugin/test/AimsService_Mock.py
Original file line number Diff line number Diff line change
Expand Up @@ -402,6 +402,7 @@ def mock_api_request(url:str, method, payload=None, headers=None, *args, **kwarg
if content is None:
raise LookupError(f'No URL path handling configured for: {url}')

print(f'API MOCK RESPONSE -- URL: {url} -- Method: {method} -- Payload: {payload} -- Response: {response} -- Content: {content}')
return response, json.dumps(content)

###------
Expand Down

0 comments on commit 88015a8

Please sign in to comment.