def test_write_filter_column(self):

        self.worksheet._write_filter_column(0, 1, ['East'])

        exp = """<filterColumn colId="0"><filters><filter val="East"/></filters></filterColumn>"""
        got = self.fh.getvalue()

        self.assertEqual(got, exp)
Test the _write_filter_column() method
dataset/ETHPy150Open jmcnamara/XlsxWriter/xlsxwriter/test/worksheet/test_write_filter_column.py/TestWriteFilterColumn.test_write_filter_column