示例#1
0
 def test_sadd(self):
     self.assertIsInstance(sadd("KEY","VALUE"),int)
示例#2
0
 def test_assignment(self):
     sadd("KEY","VALUE")
     self.assertIs(sismember("KEY","VALUE"),1)