ยปCore Development>Code coverage>Lib/distutils/tests/test_bdist_msi.py

Python code coverage for Lib/distutils/tests/test_bdist_msi.py

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