'Check bad flows id is rejected.
Make sure our input is validated because this API doesn\'t require
authorization.'

def testValidatesFlowId(self):

    bad_opid = flow_plugin.ApiGetRobotGetFilesOperationStateArgs(operation_id=utils.SmartUnicode(self.client_id.Add('flows').Add('X:<script>')))
    with self.assertRaises(ValueError):
        self.handler.Handle(bad_opid, token=self.token)
