Skip to content

Commit

Permalink
QA remarks
Browse files Browse the repository at this point in the history
  • Loading branch information
matemaciek committed Mar 13, 2021
1 parent 34148a0 commit f4d9431
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions tests/test_st7789.py
Expand Up @@ -7,16 +7,15 @@
Tests for the :py:class:`luma.lcd.device.st7789` device.
"""

import pytest

from luma.lcd.device import st7789
from luma.core.render import canvas
from luma.core.framebuffer import full_frame

from baseline_data import get_reference_data, primitives
from helpers import serial, setup_function
from helpers import serial
from unittest.mock import Mock


def test_init_240x240():
recordings = []

Expand Down Expand Up @@ -96,7 +95,7 @@ def command(*cmd):

# To regenerate test data, uncomment the following (remember not to commit though)
# ================================================================================
#from baseline_data import save_reference_data
#save_reference_data("demo_st7789", recordings)
# from baseline_data import save_reference_data
# save_reference_data("demo_st7789", recordings)

assert recordings == get_reference_data('demo_st7789')

0 comments on commit f4d9431

Please sign in to comment.