Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: b613a3d4587bd93ea66ed0516372b0b7cd9450eb authored by Georg Brandl on 01 May 2012, 07:57:34 UTC
Disable test_13183 temporarily on Windows for 3.3a3 release.
Tip revision: b613a3d
test_bdist_msi.py
"""Tests for distutils.command.bdist_msi."""
import sys
import unittest
from test.support import run_unittest
from distutils.tests import support


@unittest.skipUnless(sys.platform == 'win32', 'these tests require Windows')
class BDistMSITestCase(support.TempdirManager,
                       support.LoggingSilencer,
                       unittest.TestCase):

    def test_minimal(self):
        # minimal test XXX need more tests
        from distutils.command.bdist_msi import bdist_msi
        project_dir, dist = self.create_dist()
        cmd = bdist_msi(dist)
        cmd.ensure_finalized()


def test_suite():
    return unittest.makeSuite(BDistMSITestCase)

if __name__ == '__main__':
    run_unittest(test_suite())
back to top