Skip to content

Commit

Permalink
start berlin
Browse files Browse the repository at this point in the history
  • Loading branch information
geier committed Apr 14, 2024
1 parent 8c30cf3 commit d4ac39d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/controller_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,3 +182,8 @@ def test_start_end_empty_default(self):
default_timedelta_datetime=dt.timedelta(hours=1),
)

def test_start_end_berlin(self):
with freeze_time('2016-04-10 23:30'):
start = dt.datetime(2016, 4, 10, 0, 0)
end = dt.datetime(2016, 4, 11, 0, 0)
assert (start, end) == start_end_from_daterange(('today',), locale=utils.LOCALE_BERLIN)

0 comments on commit d4ac39d

Please sign in to comment.