Skip to content

Instantly share code, notes, and snippets.

@cinek810
Last active August 22, 2018 20:33
Show Gist options
  • Save cinek810/5508adfb6f8c3fc4e7bf9d7122d44ddc to your computer and use it in GitHub Desktop.
Save cinek810/5508adfb6f8c3fc4e7bf9d7122d44ddc to your computer and use it in GitHub Desktop.
Tests for aws-lambda version of snow-grafana-proxy
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