def test_serialization(self): jserial = JSONSerializer(self.my_dict) self.assertEquals(jserial.serialize(), demjson.encode(self.my_dict))
def test_serialization(self): jserial = JSONSerializer(self.my_dict) self.assertEquals(jserial.serialize(), simplejson.dumps(self.my_dict))