]> Repositories - Adafruit_Blinka-hackapet.git/blobdiff - tests/test_generic_agnostic_board_i2c.py
move tests to pyutest test/ dir
[Adafruit_Blinka-hackapet.git] / tests / test_generic_agnostic_board_i2c.py
similarity index 82%
rename from examples/generic_i2c.py
rename to tests/test_generic_agnostic_board_i2c.py
index 61ca8f03d6053dded6477bbf48afa744c788645c..6a3b5b9deb20d0fed5a617dab6324e0105c9deca 100644 (file)
@@ -1,9 +1,9 @@
 # SPDX-FileCopyrightText: 2024 Brent Rubell for Adafruit Industries
 #
 # SPDX-License-Identifier: MIT
-import pytest
+import pytest # pylint: disable=unused-import
 import busio
-from board import *
+from board import SCL, SDA
 
 def test_i2c_scan_random():
     i2c = busio.I2C(SCL, SDA)