mirror of
https://github.com/GSA/notifications-api.git
synced 2026-08-16 20:48:37 -04:00
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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user