'Test the _write_data_validations() method. Data validation example 7 from docs'

def test_write_data_validations_7(self):

    self.worksheet.data_validation('A7', {'validate': 'integer', 'criteria': 'between', 'minimum': 1, 'maximum': 100, 'input_title': 'Enter    an    integer:', 'input_message': 'between    1    and    100'})
    self.worksheet._write_data_validations()
    exp = '<dataValidations    count="1"><dataValidation    type="whole"    allowBlank="1"    showInputMessage="1"    showErrorMessage="1"    promptTitle="Enter    an    integer:"    prompt="between    1    and    100"    sqref="A7"><formula1>1</formula1><formula2>100</formula2></dataValidation></dataValidations>'
    got = self.fh.getvalue()
    exp = _xml_to_list(exp)
    got = _xml_to_list(got)
    self.assertEqual(got, exp)
