def test_export(self):
        test_array = bytearray(_bytearray)
        row = util.DB_Row(test_array, test_spec, layout_offset=4)
        data = row.export()
        self.assertTrue('testDword' in data)
        self.assertTrue('testbool1' in data)
        self.assertTrue(data['testbool5'] == 0)
dataset/ETHPy150Open gijzelaerr/python-snap7/test/test_util.py/TestS7util.test_export/original