| Conditions | 1 | 
| Total Lines | 20 | 
| Lines | 0 | 
| Ratio | 0 % | 
| 1 | """Unit test configuration.""" | ||
| 17 | def pytest_configure(config): | ||
| 18 | """Conigure logging and silence verbose test runner output.""" | ||
| 19 | logging.basicConfig( | ||
| 20 | level=logging.DEBUG, | ||
| 21 | format="[%(levelname)-8s] (%(name)s @%(lineno)4d) %(message)s", | ||
| 22 | ) | ||
| 23 |     logging.getLogger('yorm').setLevel(logging.WARNING) | ||
| 24 |     logging.getLogger('sh').setLevel(logging.WARNING) | ||
| 25 | |||
| 26 |     terminal = config.pluginmanager.getplugin('terminal') | ||
| 27 | |||
| 28 | class QuietReporter(terminal.TerminalReporter): | ||
| 29 | |||
| 30 | def __init__(self, *args, **kwargs): | ||
| 31 | super().__init__(*args, **kwargs) | ||
| 32 | self.verbosity = 0 | ||
| 33 | self.showlongtestinfo = False | ||
| 34 | self.showfspath = False | ||
| 35 | |||
| 36 | terminal.TerminalReporter = QuietReporter | ||
| 37 | |||
| 48 | 
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__.pyfiles in your module folders. Make sure that you place one file in each sub-folder.