From 6feccf4bc1142f8e0cb34d1cb1676719e78fcfa2 Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Wed, 30 May 2018 09:02:30 +0200 Subject: [PATCH 2/4] tests: remove useless double creation of a timeperiod exception (#24152) --- tests/test_import_export.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tests/test_import_export.py b/tests/test_import_export.py index 3e844c9..94c9152 100644 --- a/tests/test_import_export.py +++ b/tests/test_import_export.py @@ -29,10 +29,6 @@ def get_output_of_command(command, *args, **kwargs): def test_import_export(app, some_data, meetings_agenda): # add exception to meeting agenda desk = meetings_agenda.desk_set.first() - TimePeriodException.objects.create( - desk=desk, - start_datetime=make_aware(datetime.datetime(2017, 5, 22, 8, 0)), - end_datetime=make_aware(datetime.datetime(2017, 5, 22, 12, 30))) TimePeriodException.objects.create( desk=desk, start_datetime=make_aware(datetime.datetime(2017, 5, 22, 8, 0)), -- 2.17.0