def test_exports32(self):
        """Iterate all exports of the 32 bit binary, and validate that they are all accepted"""
        # Update all the symbol addresses to be __ImageBase+0x01
        for idx, _ in enumerate(EXPECT_NAMES):
            PE_32[0x218 + 4 * idx] = 0x01
        pe = pefile.PE(data=PE_32)

        exports = []
        for exp in pe.DIRECTORY_ENTRY_EXPORT.symbols:
            name = exp.name.decode("utf-8") if exp.name else "-INVALID-"
            exports.append((exp.ordinal, name))

        self.assertEqual(EXPECT_NAMES, exports)
Iterate all exports of the 32 bit binary, and validate that they are all accepted
tests/export_test.py