Completed
Pull Request — master (#34)
by Wojtek
01:41
created

grortir.Class

Complexity

Total Complexity 0

Size/Duplication

Total Lines 2
Duplicated Lines 0 %

Test Coverage

Coverage 100%
Metric Value
dl 0
loc 2
ccs 1
cts 1
cp 1
wmc 0
1
"""A sample module."""
2
3
4 1
class Class(object):
5
    """A sample class."""
6
7
8 1
def function(value):
9
    """A function with branches to demonstrate branch coverage reporting."""
10 1
    if value is True:
11 1
        return 'True'
12 1
    elif value is False:
13 1
        return 'False'
14
    else:
15 1
        return 'None'
16
17
18 1
def function_with_network_stuff():
19
    """A sample function that might take a long time to test."""
20 1
    return True
21
22
23 1
def function_with_disk_stuff():
24
    """A sample function that might take a long time to test."""
25
    return False
26