def METHOD_NAME(self):
    # Set max_jobs
    self.condorworkflow.add_max_jobs_throttle("foo1", 20)
    # Get return value
    ret = self.condorworkflow.condorpy_workflow
    # Check result
    self.assertEqual(20, ret.max_jobs["foo1"])