tests.test_init   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 9
dl 0
loc 14
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A TestInit.test_env() 0 5 1
1
import pytest
2
3
4
class TestInit:
5
    def test_env(self):
6
        from tyrannosaurus import __version__, metadata
7
8
        assert metadata is not None
9
        assert __version__ is not None
10
11
12
if __name__ == "__main__":
13
    pytest.main()
14