def test_build_header(self): xlsdoc = XlsDoc() xlsdoc.book_stream_len = 0x1000 xlsdoc._build_directory() xlsdoc._build_sat() xlsdoc._build_header() self.assertEqual(HEADER, xlsdoc.header)