This commit is contained in:
Matthias Mair committed 2022-05-16 18:33:49 +02:00
1 parent 763cd13b7c
commit 79b4b23a07
2 files changed
+1 -1

No files matched your search

-1
View File
@@ -120,7 +120,6 @@ def offload_task(taskname, *args, force_sync=False, **kwargs):
_func(*args, **kwargs)
def heartbeat():
"""
Simple task which runs at 5 minute intervals,
+1
View File
@@ -42,6 +42,7 @@ class ScheduledTaskTests(TestCase):
t = Schedule.objects.get(func=task)
self.assertEqual(t.minutes, 5)
class InvenTreeTaskTests(TestCase):
"""Unit tests for tasks"""