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 ( 2ece62...ad8cdd )
by thatsIch
01:14
created

TestThemeSwitcher   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A test_edit_theme_command() 0 7 1
1
import sublime
2
3
from unittest import TestCase
4
5
6
class TestThemeSwitcher(TestCase):
7
    """Test class wrapper using unittest."""
8
9
    # pylint: disable=W0703; This is acceptable since we are testing it not failing
10
11
    def test_edit_theme_command(self):
12
        """Should run through."""
13
        win = sublime.active_window()
14
        win.run_command(
15
            "edit_theme",
16
            {
17
                "theme": "Rainmeter (Light)"
18
            }
19
        )
20