From bb9b07824adc0571ced98f1f867dbeef160c8002 Mon Sep 17 00:00:00 2001 From: James Murty Date: Tue, 18 Oct 2016 17:30:03 +1100 Subject: [PATCH] Improve name of test for occurrence start time shifts for daylight savings --- icekit_events/tests/tests.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/icekit_events/tests/tests.py b/icekit_events/tests/tests.py index a8a0a2d..de4846d 100644 --- a/icekit_events/tests/tests.py +++ b/icekit_events/tests/tests.py @@ -723,7 +723,8 @@ def test_event_without_occurrences(self): (None, None), event.get_occurrences_range()) -class TestEventRepeatsGeneratorStrangeness(TestCase): +class TestEventRepeatOccurrencesRespectLocalTimeDefinition(TestCase): + def setUp(self): self.start = djtz.datetime(2016,10,1, 9,0) self.end = djtz.datetime(2016,10,1, 17) @@ -731,7 +732,7 @@ def setUp(self): self.event = G(SimpleEvent) - def test_daily_occurrences(self): + def test_daily_occurrences_spanning_aus_daylight_saving_change(self): generator = models.EventRepeatsGenerator.objects.create( event=self.event, start=self.start,