Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
amercader committed Jun 20, 2024
1 parent 1a236d1 commit b581391
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ckanext/harvest/tests/test_timeouts.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def test_no_objects_job(self):
job.gather_finished = datetime.utcnow()
job.save()

assert job.get_last_finished_object() == None
assert job.get_last_finished_object() is None
assert job.get_last_action_time() == job.gather_finished

def test_no_gathered_job(self):
Expand All @@ -65,7 +65,7 @@ def test_no_gathered_job(self):
job.gather_finished = None
job.save()

assert job.get_last_finished_object() == None
assert job.get_last_finished_object() is None
assert job.get_last_action_time() == job.created

def test_gather_get_last_action_time(self):
Expand Down

0 comments on commit b581391

Please sign in to comment.