'Test the _write_auto_filter() method'

def test_write_auto_filter_5(self):

    filter_condition = 'x    !=    East'
    exp = '<autoFilter    ref="A1:D51"><filterColumn    colId="0"><customFilters><customFilter    operator="notEqual"    val="East"/></customFilters></filterColumn></autoFilter>'
    self.worksheet.filter_column('A', filter_condition)
    self.worksheet._write_auto_filter()
    got = self.fh.getvalue()
    self.assertEqual(got, exp)
