diff options
| author | Tarek Ziade <tarek@ziade.org> | 2010-10-23 22:22:04 +0200 |
|---|---|---|
| committer | Tarek Ziade <tarek@ziade.org> | 2010-10-23 22:22:04 +0200 |
| commit | b8fbe8c1e72c2c43bbee5c102e37bf7e5bbec22a (patch) | |
| tree | 5c32d9f2ef34c165d564d6a1f73a4143f9fa6696 /distutils2/tests | |
| parent | d03b60c568e47fa516adb909bc7807c5317b2c68 (diff) | |
| download | disutils2-b8fbe8c1e72c2c43bbee5c102e37bf7e5bbec22a.tar.gz | |
missing renaming
Diffstat (limited to 'distutils2/tests')
| -rw-r--r-- | distutils2/tests/test_command_install_dist.py (renamed from distutils2/tests/test_command_install.py) | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/distutils2/tests/test_command_install.py b/distutils2/tests/test_command_install_dist.py index 7238644..46de3d2 100644 --- a/distutils2/tests/test_command_install.py +++ b/distutils2/tests/test_command_install_dist.py @@ -12,7 +12,7 @@ _CONFIG_VARS = get_config_vars() 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 @@ class InstallTestCase(support.TempdirManager, _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 @@ class InstallTestCase(support.TempdirManager, 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 @@ class InstallTestCase(support.TempdirManager, 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 @@ class InstallTestCase(support.TempdirManager, 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 @@ class InstallTestCase(support.TempdirManager, 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') |
