remove dead paths

This commit is contained in:
Matthias Mair 2024-04-05 14:37:23 +01:00 committed by GitHub
parent 9839f64717
commit e6618d1925
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1048,19 +1048,12 @@ class ColorThemeTest(TestCase):
"""Test that default choices are returned."""
result = ColorTheme.get_color_themes_choices()
# skip
if not result:
return
self.assertIn(('default', 'Default'), result)
def test_valid_choice(self):
"""Check that is_valid_choice works correctly."""
result = ColorTheme.get_color_themes_choices()
# skip
if not result:
return
# check wrong reference
self.assertFalse(ColorTheme.is_valid_choice('abcdd'))