def equals(self, rpc):
    if self.kwargs.get("deadline", None) != rpc.deadline:
      return False
    return True
Check to see if rpc matches arguments.
dataset/ETHPy150Open GoogleCloudPlatform/appengine-mapreduce/python/test/testlib/testutil.py/MatchesUserRPC.equals