Last active
August 22, 2018 20:33
-
-
Save cinek810/5508adfb6f8c3fc4e7bf9d7122d44ddc to your computer and use it in GitHub Desktop.
Tests for aws-lambda version of snow-grafana-proxy
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if __name__ == "__main__": | |
#Test search_post | |
event={} | |
context=[] | |
print("Testin search_post function") | |
result=search_post(event,context) | |
print(result) | |
print("Testing query_post function") | |
query_json={ "targets": [ {"target": "get_my_incidents"} ]} | |
result=query_post(query_json,context) | |
print(result) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment