test_bdist_msi.py 728 Bytes
Newer Older
1 2
"""Tests for distutils.command.bdist_msi."""
import sys
3
import unittest
Georg Brandl's avatar
Georg Brandl committed
4
from test.support import run_unittest
5 6
from distutils.tests import support

7 8

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

13
    def test_minimal(self):
14 15
        # minimal test XXX need more tests
        from distutils.command.bdist_msi import bdist_msi
16
        project_dir, dist = self.create_dist()
17 18
        cmd = bdist_msi(dist)
        cmd.ensure_finalized()
19

20 21 22 23 24

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

if __name__ == '__main__':
Georg Brandl's avatar
Georg Brandl committed
25
    run_unittest(test_suite())