GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Push — develop ( 86b96e...4422cd )
by Theo
01:44
created

QuietReporter.__init__()   A

Complexity

Conditions 1

Size

Total Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
c 1
b 0
f 0
dl 0
loc 5
rs 9.4285
1
"""Unit test configuration file."""
2
3
4
def pytest_configure(config):
5
    """Disable verbose output when running tests."""
6
    terminal = config.pluginmanager.getplugin('terminal')
7
    base = terminal.TerminalReporter
8
9
    class QuietReporter(base):
10
        """A py.test reporting that only shows dots when running tests."""
11
12
        def __init__(self, *args, **kwargs):
13
            super().__init__(*args, **kwargs)
14
            self.verbosity = 0
15
            self.showlongtestinfo = False
16
            self.showfspath = False
17
18
    terminal.TerminalReporter = QuietReporter
19