Refactor to split s3_client.py into multiple files

Separated s3_client.py into 3 files - for logos, CSV files and the MOU.
This helps to keep things clearer now that we need to add lots more logo
functions for letters.
This commit is contained in:
Katie Smith
2019-01-30 09:42:15 +00:00
parent 5e6d48e50f
commit f005d7a569
15 changed files with 202 additions and 185 deletions

View File

@@ -6,7 +6,7 @@ from bs4 import BeautifulSoup
from flask import url_for
from notifications_python_client.errors import HTTPError
from app.main.s3_client import LOGO_LOCATION_STRUCTURE, TEMP_TAG
from app.s3_client.s3_logo_client import LOGO_LOCATION_STRUCTURE, TEMP_TAG
from tests.conftest import (
mock_get_email_branding,
normalize_spaces,