示例#1
0
 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))
示例#2
0
    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))
示例#3
0
 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))
示例#4
0
    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))