|
|
@ -108,7 +108,7 @@ class TestJob(RQTestCase):
|
|
|
|
job.save()
|
|
|
|
job.save()
|
|
|
|
|
|
|
|
|
|
|
|
expected_date = strip_milliseconds(job.created_at)
|
|
|
|
expected_date = strip_milliseconds(job.created_at)
|
|
|
|
stored_date = self.testconn.hget(job.key, 'created_at').decode('ascii')
|
|
|
|
stored_date = self.testconn.hget(job.key, 'created_at').decode('utf-8')
|
|
|
|
self.assertEquals(
|
|
|
|
self.assertEquals(
|
|
|
|
times.to_universal(stored_date),
|
|
|
|
times.to_universal(stored_date),
|
|
|
|
expected_date)
|
|
|
|
expected_date)
|
|
|
@ -124,7 +124,7 @@ class TestJob(RQTestCase):
|
|
|
|
job.save()
|
|
|
|
job.save()
|
|
|
|
|
|
|
|
|
|
|
|
expected_date = strip_milliseconds(job.created_at)
|
|
|
|
expected_date = strip_milliseconds(job.created_at)
|
|
|
|
stored_date = self.testconn.hget(job.key, 'created_at').decode('ascii')
|
|
|
|
stored_date = self.testconn.hget(job.key, 'created_at').decode('utf-8')
|
|
|
|
self.assertEquals(
|
|
|
|
self.assertEquals(
|
|
|
|
times.to_universal(stored_date),
|
|
|
|
times.to_universal(stored_date),
|
|
|
|
expected_date)
|
|
|
|
expected_date)
|
|
|
|