SES Callback testing

- SES/AWS JSON is horrible and not valid.
- JSON in tests did not test accurately what it looked like in reality
- Using very odd looking bytes/strings as input into API which is more accurate
This commit is contained in:
Martyn Inglis
2016-03-14 14:49:02 +00:00
parent 1ff4ebad5c
commit 3192f5f6d1
4 changed files with 39 additions and 71 deletions

View File

@@ -5,9 +5,3 @@ def load_example_csv(file):
file_path = os.path.join("test_csv_files", "{}.csv".format(file))
with open(file_path) as f:
return f.read()
def load_example_ses(file):
file_path = os.path.join("test_ses_responses", "{}.json".format(file))
with open(file_path) as f:
return f.read()