def _assert_submit_arguments_equal(self, expected_arguments, actual_arguments):
    for attribute_name in ['scheduler_config', 'job_directory', 'entrypoint', 'project_name', 'ram', 'num_gpus', 'stream_job_logs', 'command']:
        self.assertEqual(getattr(expected_arguments, attribute_name), getattr(actual_arguments, attribute_name))
def _assert_submit_arguments_equal(self, expected_arguments, actual_arguments):
    for attribute_name in ['scheduler_config', 'job_directory', 'entrypoint', 'project_name', 'ram', 'num_gpus', 'stream_job_logs', 'command']:
        self.assertEqual(getattr(expected_arguments, attribute_name), getattr(actual_arguments, attribute_name))