0001-tests-fix-time-change-issue-58174.patch
tests/api/test_meetings_datetimes.py | ||
---|---|---|
1984 | 1984 |
assert len(resp.json['data']) == 20 |
1985 | 1985 | |
1986 | 1986 |
params = { |
1987 |
'date_end': (localtime(now()) + datetime.timedelta(days=6))
|
|
1988 |
.replace(hour=11, minute=0, second=0, microsecond=0) |
|
1989 |
.isoformat() |
|
1987 |
'date_end': localtime(
|
|
1988 |
((now()) + datetime.timedelta(days=6)).replace(hour=11, minute=0, second=0, microsecond=0)
|
|
1989 |
).isoformat()
|
|
1990 | 1990 |
} |
1991 | 1991 |
resp = app.get(foo_api_url, params=params) |
1992 |
assert len(resp.json['data']) == 22
|
|
1992 |
assert len(resp.json['data']) == 24
|
|
1993 | 1993 |
resp = app.get(virtual_api_url, params=params) |
1994 |
assert len(resp.json['data']) == 22
|
|
1994 |
assert len(resp.json['data']) == 24
|
|
1995 | 1995 | |
1996 | 1996 |
# maximal_booking_delay (which exclude weekday5 and weekday6 ) takes precedence |
1997 | 1997 |
# 4 slots each day * 4 days |
1998 |
- |