Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Commit

Permalink
Improve name of test for occurrence start time shifts for daylight sa…
Browse files Browse the repository at this point in the history
…vings
  • Loading branch information
jmurty committed Oct 18, 2016
1 parent 77f2cb7 commit bb9b078
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions icekit_events/tests/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -723,15 +723,16 @@ 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)
self.repeat_end = djtz.datetime(2016,10,31, 17)

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,
Expand Down

0 comments on commit bb9b078

Please sign in to comment.