def test_write_sheet_protection_1(self):

        password = ''
        options = {}

        self.worksheet.protect(password, options)
        self.worksheet._write_sheet_protection()

        exp = """<sheetProtection sheet="1" objects="1" scenarios="1"/>"""
        got = self.fh.getvalue()

        self.assertEqual(got, exp)
Test picking forward with SEEG and ECoG
dataset/ETHPy150Open jmcnamara/XlsxWriter/xlsxwriter/test/worksheet/test_write_sheet_protection.py/TestWriteSheetProtection.test_write_sheet_protection_1--crossover with--dataset/ETHPy150Open mne-tools/mne-python/mne/io/tests/test_pick.py/test_pick_forward_seeg_ecog