2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-04-29 12:06:44 +00:00
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) _func(*args, **kwargs)
def heartbeat(): def heartbeat():
""" """
Simple task which runs at 5 minute intervals, Simple task which runs at 5 minute intervals,

View File

@ -42,6 +42,7 @@ class ScheduledTaskTests(TestCase):
t = Schedule.objects.get(func=task) t = Schedule.objects.get(func=task)
self.assertEqual(t.minutes, 5) self.assertEqual(t.minutes, 5)
class InvenTreeTaskTests(TestCase): class InvenTreeTaskTests(TestCase):
"""Unit tests for tasks""" """Unit tests for tasks"""