From 3be5bbed449d35ca352ed30e5fd45b113ad89854 Mon Sep 17 00:00:00 2001 From: Sam Splunks <72095718+samsplunks@users.noreply.github.com> Date: Wed, 27 Mar 2024 14:32:56 +0000 Subject: [PATCH] Removed begining of next test --- helpdesk/tests/test_time_spent_auto.py | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/helpdesk/tests/test_time_spent_auto.py b/helpdesk/tests/test_time_spent_auto.py index 9a9da421..abb8d131 100644 --- a/helpdesk/tests/test_time_spent_auto.py +++ b/helpdesk/tests/test_time_spent_auto.py @@ -98,20 +98,3 @@ class TimeSpentAutoTestCase(TestCase): # delete second follow-up as we test it with many intervals followup2.delete() - - - def test_add_two_followups_time_spent_auto(self): - """Tests automatic time_spent calculation""" - # activate automatic calculation - helpdesk_settings.FOLLOWUP_TIME_SPENT_AUTO = True - - # ticket creation date, follow-up creation date, assertion value - TEST_VALUES = ( - # friday - ('2024-03-01T00:00:00+00:00', '2024-03-01T09:30:10+00:00', timedelta(hours=9, minutes=30, seconds=10)), - ('2024-03-01T00:00:00+00:00', '2024-03-01T23:59:58+00:00', timedelta(hours=23, minutes=59, seconds=58)), - ('2024-03-01T00:00:00+00:00', '2024-03-01T23:59:59+00:00', timedelta(hours=23, minutes=59, seconds=59)), - ('2024-03-01T00:00:00+00:00', '2024-03-02T00:00:00+00:00', timedelta(hours=24)), - ('2024-03-01T00:00:00+00:00', '2024-03-02T09:00:00+00:00', timedelta(hours=33)), - ('2024-03-01T00:00:00+00:00', '2024-03-03T00:00:00+00:00', timedelta(hours=48)), - ) \ No newline at end of file