chore(api): fix some linting errors
This commit is contained in:
parent
1e83a91b5e
commit
ec8c18097d
6 changed files with 7 additions and 8 deletions
|
@ -99,7 +99,7 @@ class TestScheduleViewSet(APITestCase):
|
|||
instance=show,
|
||||
file=file,
|
||||
)
|
||||
invalid_schedule_item = baker.make(
|
||||
invalid_schedule_item = baker.make( # pylint: disable=unused-variable
|
||||
"schedule.Schedule",
|
||||
starts=show.ends + timedelta(minutes=1),
|
||||
ends=show.ends + timedelta(minutes=1) + file.length,
|
||||
|
@ -142,7 +142,7 @@ class TestScheduleViewSet(APITestCase):
|
|||
instance=show,
|
||||
file=file,
|
||||
)
|
||||
previous_item = baker.make(
|
||||
previous_item = baker.make( # pylint: disable=unused-variable
|
||||
"schedule.Schedule",
|
||||
starts=filter_point - timedelta(minutes=5),
|
||||
ends=filter_point - timedelta(minutes=5) + file.length,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue