Commit a1ae533a authored by Tarek Ziade's avatar Tarek Ziade

make sure build_dir.build_lib is synced to the faked build location

parent d6881701
...@@ -67,6 +67,10 @@ class InstallLibTestCase(support.TempdirManager, ...@@ -67,6 +67,10 @@ class InstallLibTestCase(support.TempdirManager,
cmd.distribution.packages = [pkg_dir] cmd.distribution.packages = [pkg_dir]
cmd.distribution.script_name = 'setup.py' cmd.distribution.script_name = 'setup.py'
# make sure the build_lib is set the temp dir
build_dir = os.path.split(pkg_dir)[0]
cmd.get_finalized_command('build_py').build_lib = build_dir
# get_output should return 4 elements # get_output should return 4 elements
self.assertEqual(len(cmd.get_outputs()), 4) self.assertEqual(len(cmd.get_outputs()), 4)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment