From fc8a63325e803f4a3843ba7f07ad88d75d246fd9 Mon Sep 17 00:00:00 2001 From: Matthias Mair Date: Mon, 16 May 2022 18:57:27 +0200 Subject: [PATCH] that was a stupid misstake --- InvenTree/InvenTree/test_tasks.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/InvenTree/InvenTree/test_tasks.py b/InvenTree/InvenTree/test_tasks.py index f571eee8cd..0d043bd9f8 100644 --- a/InvenTree/InvenTree/test_tasks.py +++ b/InvenTree/InvenTree/test_tasks.py @@ -46,18 +46,18 @@ class ScheduledTaskTests(TestCase): class InvenTreeTaskTests(TestCase): """Unit tests for tasks""" - def test_task_hearbeat(self, name): + def test_task_hearbeat(self): """Test the task heartbeat""" InvenTree.tasks.offload_task(InvenTree.tasks.heartbeat) - def test_task_delete_successful_tasks(self, name): + def test_task_delete_successful_tasks(self): """Test the task delete_successful_tasks""" InvenTree.tasks.offload_task(InvenTree.tasks.delete_successful_tasks) - def test_task_delete_old_error_logs(self, name): + def test_task_delete_old_error_logs(self): """Test the task delete_old_error_logs""" InvenTree.tasks.offload_task(InvenTree.tasks.delete_old_error_logs) - def test_task_check_for_updates(self, name): + def test_task_check_for_updates(self): """Test the task check_for_updates""" InvenTree.tasks.offload_task(InvenTree.tasks.check_for_updates)