Passed
Push — main ( 09efff...542268 )
by Douglas
04:18
created

TestWarningUtils.test()   A

Complexity

Conditions 1

Size

Total Lines 2
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
nop 1
dl 0
loc 2
rs 10
c 0
b 0
f 0
1
import pytest
0 ignored issues
show
introduced by
Missing module docstring
Loading history...
introduced by
Unable to import 'pytest'
Loading history...
2
3
from pocketutils.logging.warning_utils import *
0 ignored issues
show
Coding Style introduced by
The usage of wildcard imports like pocketutils.logging.warning_utils should generally be avoided.
Loading history...
Unused Code introduced by
os was imported with wildcard, but is not used.
Loading history...
Unused Code introduced by
warnings was imported with wildcard, but is not used.
Loading history...
Unused Code introduced by
GlobalWarningUtils was imported with wildcard, but is not used.
Loading history...
Unused Code introduced by
NotConstructableError was imported with wildcard, but is not used.
Loading history...
4
5
raises = pytest.raises
6
7
8
class TestWarningUtils:
0 ignored issues
show
introduced by
Missing class docstring
Loading history...
9
    def test(self):
0 ignored issues
show
introduced by
Missing function or method docstring
Loading history...
10
        pass
11
12
13
if __name__ == "__main__":
14
    pytest.main()
15