mirror of https://github.com/rq/rq.git
call register birth in the register birth test
This commit is contained in:
parent
af5a8624a6
commit
450c5969aa
|
@ -385,6 +385,8 @@ class TestWorker(RQTestCase):
|
|||
q = Queue()
|
||||
w = Worker([q])
|
||||
|
||||
w.register_birth()
|
||||
|
||||
birth_date = w.birth_date
|
||||
self.assertIsNotNone(birth_date)
|
||||
self.assertEquals(type(birth_date).__name__, 'datetime')
|
||||
|
|
Loading…
Reference in New Issue