Skip to content
This repository was archived by the owner on Jun 8, 2023. It is now read-only.

Commit a802055

Browse files
committed
increase delay in test
1 parent 1005102 commit a802055

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/app.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -269,11 +269,11 @@ async def test_scrape(self):
269269

270270
async def test_delay(self):
271271
task = await self.tq.queue_task('scrape',
272-
delay=2,
272+
delay=5,
273273
url='https://www.bbc.co.uk/')
274274
self.assertEqual(task.status_string, 'SUCCESS')
275-
self.assertEqual(task.delay, 2)
276-
self.assertTrue(task.time_started - task.time_queued > 2)
275+
self.assertEqual(task.delay, 5)
276+
self.assertTrue(task.time_started - task.time_queued > 5)
277277
self.assertTrue(task.result)
278278

279279
async def test_thread_io(self):

0 commit comments

Comments
 (0)