We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c763df9 commit cbcd6edCopy full SHA for cbcd6ed
1 file changed
test/setup.py
@@ -4,10 +4,10 @@
4
from setuptools import setup
5
6
7
-ROOT = os.path.dirname(os.path.realpath(__file__))
8
-sys.path.insert(0, ROOT)
+TEST_DIR = os.path.dirname(os.path.realpath(__file__))
9
10
-import conftest
+with open(os.path.join(TEST_DIR, 'variables.py')) as varfile:
+ exec(varfile.read())
11
12
13
setup(
@@ -26,5 +26,7 @@
26
'root': '..',
27
'local_scheme': lambda _: '',
28
},
29
- require_node_modules=[conftest.NODE_PACKAGE],
+ require_node_modules=[
30
+ NODE_PACKAGE, # pylint: disable=undefined-variable
31
+ ],
32
)
0 commit comments