GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Push — master ( 7509ac...cc567b )
by thatsIch
01:05
created

TestSkinRainmeterSectionCompletion   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
dl 0
loc 14
rs 10
c 1
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A not_rainmeter_should_return_none() 0 9 1
1
import sys
2
3
from unittest import TestCase
4
5
rainmeter_section = sys.modules["Rainmeter.completion.skin.rainmeter_section"]
6
7
8
class TestSkinRainmeterSectionCompletion(TestCase):
9
    """
10
    Testing the skin/rainmeter section completion
11
    """
12
13
    def not_rainmeter_should_return_none(self):
14
        """
15
        The given section is 'Different' but we are moving in the Rainmeter section
16
        thus only 'Rainmeter' is allowed
17
        """
18
        complete = rainmeter_section.SkinRainmeterSectionAutoComplete()
19
        value_completion = complete.get_value_context_completion(None, None, None, None, "Different", None, None)
20
21
        self.assertEqual(value_completion, None)
22