1316 - exportactionlogsworker period to 60sec

This commit is contained in:
Tom McKay 2019-02-05 15:52:43 -05:00
parent 39097b2318
commit 56ceef823a
2 changed files with 4 additions and 2 deletions

View file

@ -7,7 +7,7 @@ from httmock import urlmatch, HTTMock
from data import model
from data.logs_model import logs_model
from workers.exportactionlogsworker import ExportActionLogsWorker
from workers.exportactionlogsworker import ExportActionLogsWorker, POLL_PERIOD_SECONDS
from test.fixtures import *
@ -64,3 +64,5 @@ def test_process_queue_item(namespace, repo_name, expects_logs, app):
assert created_json['export_id'] == 'someid'
assert len(created_json['logs']) == (expected_count + 1)
assert POLL_PERIOD_SECONDS == 60