<commit_before><commit_msg>Added test for theme switcher<commit_after>import sublime

from unittest import TestCase


class TestThemeSwitcher(TestCase):
    """Test class wrapper using unittest."""

    # pylint: disable=W0703; This is acceptable since we are testing it not failing

    def test_edit_theme_command(self):
        """Should run through."""
        win = sublime.active_window()
        win.run_command(
            "edit_theme",
            {
                "theme": "Rainmeter (Light)"
            }
        )
{'fraction_non_alphanumeric': 0.0928030303030303, 'fraction_numerical': 0.007575757575757576, 'mean_word_length': 2.5033112582781456, 'pattern_counts': {'":': 1, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '749014', 'n_tokens_mistral': 151, 'n_tokens_neox': 140, 'n_words': 41}