def execute(self, ns, devices, _gpt, _msdos):
        if _msdos:
            ptype = partition.PARTITION_TABLE_TYPE_MSDOS
        else:
            ptype = partition.PARTITION_TABLE_TYPE_GPT
        for device in devices:
            partition.create_partition_table(ns, device, ptype)
Test to verify that the specified python is installed with pyenv.
dataset/ETHPy150Open openlmi/openlmi-scripts/commands/storage/lmi/scripts/storage/cmd/partition_table.py/PartitionTableCreate.execute--crossover with--dataset/ETHPy150Open saltstack/salt/tests/unit/states/pyenv_test.py/PyenvTestCase.test_installed