mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-29 20:16:44 +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)
|
_func(*args, **kwargs)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def heartbeat():
|
def heartbeat():
|
||||||
"""
|
"""
|
||||||
Simple task which runs at 5 minute intervals,
|
Simple task which runs at 5 minute intervals,
|
||||||
|
@ -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"""
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user