Skip to content

Commit

Permalink
add rotate ci
Browse files Browse the repository at this point in the history
  • Loading branch information
leng-yue committed Aug 5, 2021
1 parent 901292d commit 18e9348
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/test_control.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,10 @@ def test_set_screen_power_mode():
)


def rotate_device():
assert control.rotate_device() == b"\x0b" # TYPE_ROTATE_DEVICE


def test_swipe():
control.swipe(100, 200, 300, 400)
control.swipe(100, 200, 2000, 2000)
Expand Down

0 comments on commit 18e9348

Please sign in to comment.