We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 534daa5 commit a89f94eCopy full SHA for a89f94e
library/tests/__init__.py
@@ -0,0 +1,5 @@
1
+"""Test Fixtures.
2
+
3
+This __init__.py is required for relative import of test common tools and test discovery in VSCode
4
5
+"""
library/tests/test_features.py
@@ -1,7 +1,7 @@
# noqa D100
import sys
import mock
-from tools import SMBusFakeAS7262, CALIBRATED_VALUES
+from .tools import SMBusFakeAS7262, CALIBRATED_VALUES
6
7
def _setup():
library/tests/test_setup.py
-import mock
-from tools import SMBusFakeAS7262
+import mock # noqa: E402
+from .tools import SMBusFakeAS7262 # noqa: E402
def test_fw_info():
0 commit comments