'Test serialize verifies that exception is raises.'

def test_deserialize_raise_bad_request(self):

    content_type = 'application/unknown'
    data_string = 'test'
    serializer = wsgi.Serializer()
    self.assertRaises(webob.exc.HTTPBadRequest, serializer.deserialize, data_string, content_type)
