Skip to content

Commit

Permalink
Fix periodic task tests
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasst committed Mar 21, 2021
1 parent c097541 commit 0e2a4fb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_periodic.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def test_periodic_execution_unique_ids(self):

# generate the expected unique id
expected_unique_id = gen_unique_id(
serialize_func_name(periodic_task), [], {}
"periodic", serialize_func_name(periodic_task), [], {}
)

# pull task out of the queue by id. If found, then the id is correct
Expand Down Expand Up @@ -202,10 +202,10 @@ def test_periodic_execution_unique_ids_self_correct(self):

# generate the ids
correct_unique_id = gen_unique_id(
serialize_func_name(periodic_task), [], {}
"periodic", serialize_func_name(periodic_task), [], {}
)
malformed_unique_id = gen_unique_id(
serialize_func_name(periodic_task), None, None
"periodic", serialize_func_name(periodic_task), None, None
)

task = Task(tiger, func=periodic_task)
Expand Down

0 comments on commit 0e2a4fb

Please sign in to comment.