Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
zas committed Apr 12, 2024
1 parent b5dd4b8 commit 909a5f3
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions test/test_profiles.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,16 +116,9 @@ def test_no_duplicate_settings(self):
def test_settings_have_no_blank_keys(self):
for key in UserProfileGroups.get_setting_groups_list():
settings = UserProfileGroups.SETTINGS_GROUPS[key]["settings"]
for key, title, fields in settings:
for key, fields in settings:
self.assertNotEqual(key.strip(), "")

def test_settings_have_titles(self):
for key in UserProfileGroups.get_setting_groups_list():
settings = UserProfileGroups.SETTINGS_GROUPS[key]["settings"]
self.assertNotEqual(settings, {})
for key, title, fields in settings:
self.assertNotEqual(title.strip(), "")


class TestUserProfiles(TestPicardProfilesCommon):

Expand Down

0 comments on commit 909a5f3

Please sign in to comment.