Fixes deprecated arrow syntax

This commit is contained in:
Ilan Steemers
2019-08-10 14:03:03 +02:00
parent 918a1b2208
commit 16fa6fa8d9
2 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -61,7 +61,7 @@ def test_scheduler(broker, monkeypatch):
assert schedule.repeats == 0
assert schedule.last_run() is not None
assert schedule.success() is True
assert schedule.next_run < arrow.get(timezone.now()).replace(hours=+1)
assert schedule.next_run < arrow.get(timezone.now()).shift(hours=+1)
task = fetch(schedule.task)
assert task is not None
assert task.success is True