Skip to content

Commit

Permalink
black
Browse files Browse the repository at this point in the history
  • Loading branch information
tadeubas committed Mar 20, 2024
1 parent 50fba92 commit 08e9db9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/test_display.py
Original file line number Diff line number Diff line change
Expand Up @@ -554,6 +554,7 @@ def test_draw_qr_code(mocker, m5stickv):
0, TEST_QR, 135, QR_DARK_COLOR, QR_LIGHT_COLOR, QR_LIGHT_COLOR
)


def test_flash_text(mocker, m5stickv):
from krux.display import Display, FLASH_MSG_TIME
from krux.themes import WHITE
Expand All @@ -568,7 +569,5 @@ def test_flash_text(mocker, m5stickv):
d.flash_text("test", WHITE)

d.clear.assert_called()
d.draw_centered_text.assert_called_with(
"test", WHITE
)
d.draw_centered_text.assert_called_with("test", WHITE)
time.sleep_ms.assert_called_with(FLASH_MSG_TIME)

0 comments on commit 08e9db9

Please sign in to comment.