Skip to content

Commit

Permalink
Merge branch 'hotfix/2025-01-13_fix_bg_requeue_test'
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven-Eardley committed Jan 13, 2025
2 parents 15b5af5 + dfaa49a commit 1f9a5ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doajtest/unit/test_background_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def test_02_register_schedule__a_second_time(self):
def _fn1():
print('fake fn')

assert _fn1 is None # We've added a catch to check if we get ValueError from huey we should return None
assert _fn1 is None # We've added a catch to check if we get ValueError from huey we should return None

def test_03_register_schedule__schedule_not_found(self):
helper = background_helper.RedisHueyTaskHelper(scheduled_short_queue,
Expand All @@ -86,7 +86,7 @@ def _fn2():
print('fake fn')

def test_04_register_execute(self):
helper = background_helper.RedisHueyTaskHelper(scheduled_short_queue, fixture_bgtask_class(self.task_name_b))
helper = background_helper.RedisHueyTaskHelper(events_queue, fixture_bgtask_class(self.task_name_b))

@helper.register_execute(is_load_config=True)
def _fn3():
Expand Down

0 comments on commit 1f9a5ad

Please sign in to comment.