[Python-checkins] distutils2: missing renaming
tarek.ziade
python-checkins at python.org
Sat Oct 23 22:36:31 CEST 2010
tarek.ziade pushed 1d2dc08162cd to distutils2:
http://hg.python.org/distutils2/rev/1d2dc08162cd
changeset: 776:1d2dc08162cd
user: Tarek Ziade <tarek at ziade.org>
date: Sat Oct 23 22:22:04 2010 +0200
summary: missing renaming
files: distutils2/tests/test_command_install.py, distutils2/tests/test_command_install_dist.py
diff --git a/distutils2/tests/test_command_install.py b/distutils2/tests/test_command_install_dist.py
rename from distutils2/tests/test_command_install.py
rename to distutils2/tests/test_command_install_dist.py
--- a/distutils2/tests/test_command_install.py
+++ b/distutils2/tests/test_command_install_dist.py
@@ -12,7 +12,7 @@
from distutils2.tests import captured_stdout
-from distutils2.command.install import install
+from distutils2.command.install_dist import install_dist
from distutils2.command import install as install_module
from distutils2.core import Distribution
from distutils2.errors import DistutilsOptionError
@@ -47,7 +47,7 @@
_SCHEMES.set('posix_home', 'platinclude', '{platbase}/include/python')
try:
- cmd = install(dist)
+ cmd = install_dist(dist)
cmd.home = destination
cmd.ensure_finalized()
finally:
@@ -104,7 +104,7 @@
self.assertTrue(key in schemes)
dist = Distribution({'name': 'xx'})
- cmd = install(dist)
+ cmd = install_dist(dist)
# making sure the user option is there
options = [name for name, short, lable in
cmd.user_options]
@@ -129,7 +129,7 @@
def test_handle_extra_path(self):
dist = Distribution({'name': 'xx', 'extra_path': 'path,dirs'})
- cmd = install(dist)
+ cmd = install_dist(dist)
# two elements
cmd.handle_extra_path()
@@ -157,7 +157,7 @@
def test_finalize_options(self):
dist = Distribution({'name': 'xx'})
- cmd = install(dist)
+ cmd = install_dist(dist)
# must supply either prefix/exec-prefix/home or
# install-base/install-platbase -- not both
@@ -183,7 +183,7 @@
pkgdir, dist = self.create_dist()
dist = Distribution()
- cmd = install(dist)
+ cmd = install_dist(dist)
dist.command_obj['install_dist'] = cmd
cmd.root = install_dir
cmd.record = os.path.join(pkgdir, 'RECORD')
--
Repository URL: http://hg.python.org/distutils2
More information about the Python-checkins
mailing list