Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: a7be9d240a9ccd06010384c986f505acf084b6b2 authored by Benjamin Peterson on 06 February 2010, 16:37:32 UTC
bump version to 2.7a3
Tip revision: a7be9d2
test_bdist_msi.py
"""Tests for distutils.command.bdist_msi."""
import unittest
import sys

from distutils.tests import support

@unittest.skipUnless(sys.platform=="win32", "These tests are only for win32")
class BDistMSITestCase(support.TempdirManager,
                       support.LoggingSilencer,
                       unittest.TestCase):

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

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

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