mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-19 05:59:44 -04:00
Proactively specify aws region for s3 operations
This commit is contained in:
@@ -2133,7 +2133,7 @@ def mock_get_users_by_service(mocker):
|
||||
|
||||
@pytest.fixture(scope='function')
|
||||
def mock_s3_upload(mocker):
|
||||
def _upload(service_id, filedata, region):
|
||||
def _upload(service_id, filedata):
|
||||
return sample_uuid()
|
||||
|
||||
return mocker.patch('app.main.views.send.s3upload', side_effect=_upload)
|
||||
|
||||
Reference in New Issue
Block a user