Total Complexity | 1 |
Total Lines | 14 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | """ |
||
15 | class TestSkinRainmeterSectionCompletion(TestCase): |
||
16 | """Testing the skin/rainmeter section completion.""" |
||
17 | |||
18 | def test_wrong_section_return_none(self): |
||
19 | """ |
||
20 | Test should fail since we move in wrong section. |
||
21 | |||
22 | The given section is 'Different' but we are moving in the Rainmeter section |
||
23 | thus only 'Rainmeter' is allowed |
||
24 | """ |
||
25 | complete = RAINMETER_SECTION.SkinRainmeterSectionAutoComplete() |
||
26 | value_completion = complete.get_value_context_completion("Different", None) |
||
27 | |||
28 | self.assertEqual(value_completion, None) |
||
29 |