mirror of
https://github.com/GSA/notifications-api.git
synced 2026-01-31 23:26:23 -05:00
Remove csv after process job is finished.
Fixed new tests.
This commit is contained in:
@@ -345,6 +345,11 @@ def mock_encryption(mocker):
|
||||
return mocker.patch('app.encryption.encrypt', return_value="something_encrypted")
|
||||
|
||||
|
||||
@pytest.fixture(scope='function')
|
||||
def mock_celery_remove_job(mocker):
|
||||
return mocker.patch('app.celery.tasks.remove_job.apply_async')
|
||||
|
||||
|
||||
@pytest.fixture(scope='function')
|
||||
def sample_invited_user(notify_db,
|
||||
notify_db_session,
|
||||
|
||||
Reference in New Issue
Block a user