Projet

Général

Profil

0002-tests-remove-useless-double-creation-of-a-timeperiod.patch

Benjamin Dauvergne, 30 mai 2018 09:06

Télécharger (1,05 ko)

Voir les différences:

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(-)
tests/test_import_export.py
29 29
def test_import_export(app, some_data, meetings_agenda):
30 30
    # add exception to meeting agenda
31 31
    desk = meetings_agenda.desk_set.first()
32
    TimePeriodException.objects.create(
33
        desk=desk,
34
        start_datetime=make_aware(datetime.datetime(2017, 5, 22, 8, 0)),
35
        end_datetime=make_aware(datetime.datetime(2017, 5, 22, 12, 30)))
36 32
    TimePeriodException.objects.create(
37 33
        desk=desk,
38 34
        start_datetime=make_aware(datetime.datetime(2017, 5, 22, 8, 0)),
39
-