mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-10 07:12:20 -05:00
- 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
8 lines
165 B
Python
8 lines
165 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()
|