def test_stream_is_not_certificate(self):
     deserialized_claim = ClaimDict.deserialize(example_010_serialized.decode('hex'))
     self.assertEquals(deserialized_claim.is_certificate, False)
 def test_deserialize(self):
     deserialized_claim = ClaimDict.deserialize(example_010_serialized.decode('hex'))
     self.assertDictEqual(ClaimDict.load_dict(example_010).claim_dict,
                          deserialized_claim.claim_dict)