Skip to content

Commit

Permalink
Update test_delete_clip.py
Browse files Browse the repository at this point in the history
  • Loading branch information
dam2452 committed Dec 27, 2024
1 parent 08d8404 commit 31f302e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions bot/tests/not_sending_videos/test_delete_clip.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ async def test_delete_existing_clip(self):

@pytest.mark.asyncio
async def test_delete_nonexistent_clip(self):
id = 1337
response = await self.send_command(f'/usunklip {id}')
self.assert_response_contains(response, [delete_msg.get_clip_not_exist_message(id)])
clip_id = 1337
response = await self.send_command(f'/usunklip {clip_id}')
self.assert_response_contains(response, [delete_msg.get_clip_not_exist_message(clip_id)])

@pytest.mark.asyncio
async def test_delete_clip_no_arguments(self):
Expand Down Expand Up @@ -66,6 +66,6 @@ async def test_delete_clip_with_special_characters(self):

@pytest.mark.asyncio
async def test_delete_clip_invalid_index(self):
id = 999
response = await self.send_command(f'/usunklip {id}')
self.assert_response_contains(response, [delete_msg.get_clip_not_exist_message(id)])
clip_id = 999
response = await self.send_command(f'/usunklip {clip_id}')
self.assert_response_contains(response, [delete_msg.get_clip_not_exist_message(clip_id)])

0 comments on commit 31f302e

Please sign in to comment.