Skip to content

Commit

Permalink
fix: tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Skelmis committed Feb 25, 2024
1 parent 3d78a1b commit d7192f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_interaction_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ async def test_new_handler(bot: SuggestionsBot):

async def test_fetch_handler(bot: SuggestionsBot):
application_id = 123456789
with pytest.raises(NonExistentEntry):
await InteractionHandler.fetch_handler(application_id, bot)
r_1 = await InteractionHandler.fetch_handler(application_id, bot)
assert r_1 is None

mock = AsyncMock()
mock.client = bot
Expand Down

0 comments on commit d7192f7

Please sign in to comment.