mirror of
https://github.com/lucaspalomodevelop/eventcally.git
synced 2026-03-13 08:09:37 +00:00
11 lines
404 B
Python
11 lines
404 B
Python
def test_date_str(client, seeder, utils):
|
|
from project.dateutils import create_berlin_date
|
|
from project.services.event_search import EventSearchParams
|
|
|
|
params = EventSearchParams()
|
|
params.date_from = create_berlin_date(2030, 12, 30, 0)
|
|
params.date_to = create_berlin_date(2030, 12, 31, 0)
|
|
|
|
assert params.date_from_str == "2030-12-30"
|
|
assert params.date_to_str == "2030-12-31"
|