def _ValidateRowDict(row, test_map):
    'Checks all fields in the input dictionary.\n\n  Args:\n    row: A dictionary which represents one point.\n    test_map: A dictionary mapping test paths to last added revision.\n\n  Raises:\n    BadRequestError: The input was not valid.\n  '
    required_fields = ['master', 'bot', 'test']
    for field in required_fields:
        if (field not in row):
            raise BadRequestError(('No "%s" field in row dict.' % field))
    _ValidateMasterBotTest(row['master'], row['bot'], row['test'])
    _ValidateRowId(row, test_map)
    GetAndValidateRowProperties(row)
Checks all fields in the input dictionary.

Args:
  row: A dictionary which represents one point.
  test_map: A dictionary mapping test paths to last added revision.

Raises:
  BadRequestError: The input was not valid.
def _ValidateRowDict(row, test_map):
    'Checks all fields in the input dictionary.\n\n  Args:\n    row: A dictionary which represents one point.\n    test_map: A dictionary mapping test paths to last added revision.\n\n  Raises:\n    BadRequestError: The input was not valid.\n  '
    required_fields = ['master', 'bot', 'test']
    for field in required_fields:
        if (field not in row):
            raise BadRequestError(('No "%s" field in row dict.' % field))
    _ValidateMasterBotTest(row['master'], row['bot'], row['test'])
    _ValidateRowId(row, test_map)
    GetAndValidateRowProperties(row)