'Test broken code raises back to the original flow.'

def testExecuteBrokenPython(self):

    python_code = 'raise    ValueError'
    signed_blob = rdf_crypto.SignedBlob()
    signed_blob.Sign(python_code, self.signing_key)
    request = rdf_client.ExecutePythonRequest(python_code=signed_blob)
    self.assertRaises(ValueError, self.RunAction, standard.ExecutePython, request)
