Skip to content

Commit 663fef4

Browse files
committed
start berlin
1 parent b0dab17 commit 663fef4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/controller_test.py

+5
Original file line numberDiff line numberDiff line change
@@ -182,3 +182,8 @@ def test_start_end_empty_default(self):
182182
default_timedelta_datetime=dt.timedelta(hours=1),
183183
)
184184

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

0 commit comments

Comments
 (0)