Passed
Push — master ( d6dd02...c311bb )
by Guibert
02:25
created

tests.conftest.pytest_configure()   A

Complexity

Conditions 1

Size

Total Lines 7
Code Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 5
nop 1
dl 0
loc 7
rs 10
c 0
b 0
f 0
1
"""Unit tests configuration file."""
2
3
import logging
4
5
6
def pytest_configure(config):
7
    """Disable verbose output when running tests."""
8
    _logger = logging.getLogger()
9
    _logger.setLevel(logging.DEBUG)
10
11
    terminal = config.pluginmanager.getplugin('terminal')
12
    terminal.TerminalReporter.showfspath = False
13