Update config to new s3 bucket names

This commit is contained in:
Ken Tsang
2017-08-02 11:05:17 +01:00
parent 81d8494755
commit 6c18c9d6ac
2 changed files with 9 additions and 5 deletions

View File

@@ -159,6 +159,7 @@ def test_generate_notifications_csv_calls_twice_if_next_link(mocker):
assert mock_get_notifications.mock_calls[1][2]['page'] == 2
<<<<<<< HEAD
<<<<<<< HEAD
@freeze_time('2017-07-14 14:59:59') # Friday, before print deadline
@pytest.mark.parametrize('upload_time, expected_print_time, is_printed, expected_earliest, expected_latest', [
@@ -298,6 +299,9 @@ def test_get_estimated_delivery_date_for_letter(
>>>>>>> Update emails to use logos cdn
def test_get_cdn_domain_on_localhost(client, mocker):
mocker.patch.dict('app.current_app.config', values={'ADMIN_BASE_URL': 'http://localhost:6012'})
=======
def test_get_cdn_domain_on_localhost(client):
>>>>>>> Update config to new s3 bucket names
domain = get_cdn_domain()
assert domain == 'static-logos.notify.tools'