Files
notifications-api/tests/app/__init__.py
Martyn Inglis f88f86a924 Endpoint to allow SES updates to occur
- update notification with delivery state
2016-03-10 17:29:17 +00:00

14 lines
325 B
Python

import os
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()