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 ( 844209...95deb7 )
by thatsIch
59s
created

TestFunctions   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A test_default_drive() 0 7 1
1
import sys
2
3
from unittest import TestCase
4
5
program_drive_provider = sys.modules["Rainmeter.path.program_drive_provider"]
6
7
8
class TestFunctions(TestCase):
9
10
    def test_default_drive(self):
11
        """
12
        Per default we install it onto c:/
13
        """
14
        program_drive = program_drive_provider.get_cached_program_drive()
15
16
        self.assertEqual(program_drive, "C:")
17