mirror of
https://github.com/python/cpython.git
synced 2025-10-12 01:43:12 +00:00

svn+ssh://pythondev@svn.python.org/python/trunk ........ r77712 | tarek.ziade | 2010-01-23 11:52:57 -0600 (Sat, 23 Jan 2010) | 1 line fixed the 64bits tests for get_platform() - mac osx ........ r77740 | benjamin.peterson | 2010-01-24 21:58:21 -0600 (Sun, 24 Jan 2010) | 1 line compare types with is not == ........ r77741 | facundo.batista | 2010-01-25 00:15:01 -0600 (Mon, 25 Jan 2010) | 3 lines Added a note about Event.is_set() syntax being new to 2.6 ........ r77756 | tarek.ziade | 2010-01-26 11:20:37 -0600 (Tue, 26 Jan 2010) | 1 line fixed bdist_msi imports and added a test module for distutils.command.bdist_msi ........ r77886 | benjamin.peterson | 2010-01-31 12:09:34 -0600 (Sun, 31 Jan 2010) | 1 line move distutils.rst to different toc ........ r77902 | andrew.kuchling | 2010-01-31 20:04:26 -0600 (Sun, 31 Jan 2010) | 1 line Add various items ........ r77936 | andrew.kuchling | 2010-02-02 20:19:14 -0600 (Tue, 02 Feb 2010) | 1 line Add various items ........
23 lines
698 B
Python
23 lines
698 B
Python
"""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())
|