def test_build_source(self): run_module('setup', 'sdist', '--formats=gztar,zip') self.assertTrue(os.path.isdir('dist'))