示例#1
0
 def test_flushdb(self):
     '''
     Test to remove all keys from the selected database
     '''
     self.assertEqual(redismod.flushdb(), 'A')
示例#2
0
 def test_flushdb(self):
     '''
     Test to remove all keys from the selected database
     '''
     self.assertEqual(redismod.flushdb(), 'A')
 def test_flushdb(self):
     """
     Test to remove all keys from the selected database
     """
     self.assertEqual(redismod.flushdb(), "A")