TestGrortir   A
last analyzed

Complexity

Total Complexity 4

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Importance

Changes 8
Bugs 0 Features 0
Metric Value
wmc 4
c 8
b 0
f 0
dl 0
loc 13
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A test_disk_stuff() 0 4 2
A test_network_stuff() 0 4 2
1
"""Sample integration test module."""
2
# pylint: disable=no-self-use,missing-docstring
0 ignored issues
show
introduced by
Locally disabling no-self-use (R0201)
Loading history...
introduced by
Locally disabling missing-docstring (C0111)
Loading history...
3
4
import unittest
5
6
from grortir import sample
7
8
9
class TestGrortir(unittest.TestCase):
10
11
    """Sample integration test class."""
12
13
    @staticmethod
14
    def test_network_stuff():
15
        """Example Test method."""
16
        assert sample.function_with_network_stuff() is True
17
18
    @staticmethod
19
    def test_disk_stuff():
20
        """Another example Test method."""
21
        assert sample.function_with_disk_stuff() is False
22