1 | """Integration tests configuration.""" |
||
2 | # pylint: disable=unused-argument |
||
3 | |||
4 | import os |
||
5 | |||
6 | import yorm |
||
0 ignored issues
–
show
|
|||
7 | |||
8 | from gdm.test.conftest import pytest_configure # pylint: disable=unused-import |
||
9 | |||
10 | |||
11 | # TODO: delete if unused (and files) |
||
12 | ROOT = os.path.dirname(__file__) |
||
13 | FILES = os.path.join(ROOT, 'files') |
||
14 | |||
15 | |||
16 | def pytest_runtest_setup(item): |
||
17 | """Ensure files are created for integration tests.""" |
||
18 | yorm.settings.fake = False |
||
19 |
This can be caused by one of the following:
1. Missing Dependencies
This error could indicate a configuration issue of Pylint. Make sure that your libraries are available by adding the necessary commands.
2. Missing __init__.py files
This error could also result from missing
__init__.py
files in your module folders. Make sure that you place one file in each sub-folder.