Fix tests
This commit is contained in:
parent
75172d5e2c
commit
9ce53b8215
1 changed files with 4 additions and 0 deletions
|
|
@ -424,6 +424,7 @@ def test_events_calendar(
|
|||
"start": on_call_shift.start,
|
||||
"end": on_call_shift.start + on_call_shift.duration,
|
||||
"users": [{"display_name": user.username, "pk": user.public_primary_key}],
|
||||
"missing_users": [],
|
||||
"priority_level": on_call_shift.priority_level,
|
||||
"source": "api",
|
||||
"calendar_type": OnCallSchedule.PRIMARY,
|
||||
|
|
@ -487,6 +488,7 @@ def test_filter_events_calendar(
|
|||
"start": mon_start,
|
||||
"end": mon_start + on_call_shift.duration,
|
||||
"users": [{"display_name": user.username, "pk": user.public_primary_key}],
|
||||
"missing_users": [],
|
||||
"priority_level": on_call_shift.priority_level,
|
||||
"source": "api",
|
||||
"calendar_type": OnCallSchedule.PRIMARY,
|
||||
|
|
@ -501,6 +503,7 @@ def test_filter_events_calendar(
|
|||
"start": fri_start,
|
||||
"end": fri_start + on_call_shift.duration,
|
||||
"users": [{"display_name": user.username, "pk": user.public_primary_key}],
|
||||
"missing_users": [],
|
||||
"priority_level": on_call_shift.priority_level,
|
||||
"source": "api",
|
||||
"calendar_type": OnCallSchedule.PRIMARY,
|
||||
|
|
@ -567,6 +570,7 @@ def test_filter_events_range_calendar(
|
|||
"start": fri_start,
|
||||
"end": fri_start + on_call_shift.duration,
|
||||
"users": [{"display_name": user.username, "pk": user.public_primary_key}],
|
||||
"missing_users": [],
|
||||
"priority_level": on_call_shift.priority_level,
|
||||
"source": "api",
|
||||
"calendar_type": OnCallSchedule.PRIMARY,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue