summaryrefslogtreecommitdiffstats
path: root/Lib/packaging/tests/test_command_bdist_msi.py
blob: fded962dbf6831d28e5c5a491f1deca773c6571a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
"""Tests for distutils.command.bdist_msi."""
import sys

from packaging.tests import unittest, support


class BDistMSITestCase(support.TempdirManager,
                       support.LoggingCatcher,
                       unittest.TestCase):

    @unittest.skipUnless(sys.platform == "win32", "runs only on win32")
    def test_minimal(self):
        # minimal test XXX need more tests
        from packaging.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__':
    unittest.main(defaultTest='test_suite')