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

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,

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"""