示例#1
0
 def test_error(self):
     self.assertEqual(
         Redisizer.error('ERR: ☃ summer'),
         b'-ERR: \xe2\x98\x83 summer\r\n'
     )
示例#2
0
 def test_error(self):
     self.assertEqual(
         Redisizer.error('ERR: ☃ summer'),
         b'-ERR: \xe2\x98\x83 summer\r\n'
     )
示例#3
0
 def test_error(self):
     self.assertEqual(Redisizer.error("ERR: ☃ summer"),
                      b"-ERR: \xe2\x98\x83 summer\r\n")