'Test the _write_auto_filter() method'

def test_write_auto_filter_12(self):

    filter_condition = 'x    ==    1000'
    exp = '<autoFilter    ref="A1:D51"><filterColumn    colId="2"><filters><filter    val="1000"/></filters></filterColumn></autoFilter>'
    self.worksheet.filter_column(2, filter_condition)
    self.worksheet._write_auto_filter()
    got = self.fh.getvalue()
    self.assertEqual(got, exp)
