Skip to content

Commit

Permalink
tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sezanzeb committed Jan 3, 2025
1 parent c5c51a4 commit 87f1273
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/unit/test_macros/test_mouse.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,8 @@ async def test_wheel_down(self):

async def test_wheel_right(self):
await self._run_mouse_macro(f"wheel(right, 60)", 0.1)
self.assertIn((EV_REL, REL_WHEEL, -1), self.result)
self.assertIn((EV_REL, REL_WHEEL_HI_RES, -60), self.result)
self.assertIn((EV_REL, REL_HWHEEL, -1), self.result)
self.assertIn((EV_REL, REL_HWHEEL_HI_RES, -60), self.result)

def _get_x_movement(self):
return [event for event in self.result if event[1] == REL_X]
Expand Down

0 comments on commit 87f1273

Please sign in to comment.