Skip to content

Commit

Permalink
Merge pull request #19 from mikemill/fix_unittest
Browse files Browse the repository at this point in the history
Fix assertion for Python < 3.6
  • Loading branch information
mikemill committed Jul 29, 2017
2 parents d711b59 + 4ae48c6 commit 10ac705
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_queue.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def test_schedule_job(mock, queue, connection):
queue.schedule_job(job, dt)

zadd.assert_called_with(queue.scheduler_jobs_key, util.to_unix(dt), job.id)
save.assert_called()
assert save.called


def test_enqueue_job(mock, queue, connection):
Expand Down

0 comments on commit 10ac705

Please sign in to comment.