Remove queues exclusion at the end of test

This commit is contained in:
Sam Splunks 2024-04-09 13:32:11 +00:00
parent 6e845f6351
commit d1af580483

View File

@ -319,4 +319,7 @@ class TimeSpentAutoTestCase(TestCase):
# total ticket time for followups is 5 hours
self.assertEqual(latest_fup.date - ticket.created, timedelta(hours=5))
# calculated time spent with 2 hours exclusion is 3 hours
self.assertEqual(ticket.time_spent.total_seconds(), 3 * 3600.0)
self.assertEqual(ticket.time_spent.total_seconds(), 3 * 3600.0)
# remove queues exclusion
helpdesk_settings.FOLLOWUP_TIME_SPENT_EXCLUDE_QUEUES = ()