[Backport] Fix export test

remotes/origin/issue/4795/notification_even_they_are_disabled
Jesús Espino 2016-06-21 15:57:12 +02:00 committed by Alejandro Alonso
parent a907bdab74
commit 4279ea9ec0
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ def test_valid_project_export_with_celery_enabled(client, settings):
response_data = response.data
assert "export_id" in response_data
args = (project.id, project.slug, response_data["export_id"], None)
args = (project.id, project.slug, response_data["export_id"], "plain")
kwargs = {"countdown": settings.EXPORTS_TTL}
delete_project_dump_mock.apply_async.assert_called_once_with(args, **kwargs)