mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
pep fix
This commit is contained in:
parent
763cd13b7c
commit
79b4b23a07
@ -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,
|
||||
|
@ -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"""
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user