示例#1
0
 def test_dbsize(self):
     '''
     Test to return the number of keys in the selected database
     '''
     self.assertEqual(redismod.dbsize(), 'A')
示例#2
0
 def test_dbsize(self):
     '''
     Test to return the number of keys in the selected database
     '''
     self.assertEqual(redismod.dbsize(), 'A')
 def test_dbsize(self):
     """
     Test to return the number of keys in the selected database
     """
     self.assertEqual(redismod.dbsize(), "A")