Completed
Push — master ( f46766...a9fd17 )
by Jace
8s
created

TestProgramConfig.test_init()   A

Complexity

Conditions 3

Size

Total Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 2
Bugs 0 Features 0
Metric Value
cc 3
c 2
b 0
f 0
dl 0
loc 5
rs 9.4285
1
# pylint: disable=misplaced-comparison-constant,no-self-use
0 ignored issues
show
introduced by
Bad option value 'misplaced-comparison-constant'
Loading history...
2
3
from mine.config import ProgramConfig
4
5
6
class TestProgramConfig:
7
8
    """Unit tests for the program configuration class."""
9
10
    def test_init(self):
11
        """Verify a new program configuration is blank."""
12
        config = ProgramConfig()
13
        assert not config.applications
14
        assert not config.computers
15