1"""Tests for distutils.command.bdist_msi."""
2import sys
3import unittest
4from test.support import run_unittest
5from distutils.tests import support
6
7
8@unittest.skipUnless(sys.platform == 'win32', 'these tests require Windows')
9class BDistMSITestCase(support.TempdirManager,
10                       support.LoggingSilencer,
11                       unittest.TestCase):
12
13    def test_minimal(self):
14        # minimal test XXX need more tests
15        from distutils.command.bdist_msi import bdist_msi
16        project_dir, dist = self.create_dist()
17        cmd = bdist_msi(dist)
18        cmd.ensure_finalized()
19
20
21def test_suite():
22    return unittest.makeSuite(BDistMSITestCase)
23
24if __name__ == '__main__':
25    run_unittest(test_suite())
26