def test_usersettings_bool_keys(self): from apps.main.models import UserSettings keys = UserSettings.get_bool_keys() self.assertTrue(isinstance(keys, list)) self.assertTrue(keys) # at least one self.assertTrue(isinstance(keys[0], basestring))
def test_usersettings_bool_keys(self): keys = UserSettings.get_bool_keys() self.assertTrue(isinstance(keys, list)) self.assertTrue(keys) # at least one self.assertTrue(isinstance(keys[0], basestring))