summaryrefslogtreecommitdiff
path: root/setuptools/command
diff options
context:
space:
mode:
authorphillip.eby <phillip.eby@6015fed2-1504-0410-9fe1-9d1591cc4771>2007-03-02 01:22:27 +0000
committerphillip.eby <phillip.eby@6015fed2-1504-0410-9fe1-9d1591cc4771>2007-03-02 01:22:27 +0000
commit3e231b8d43885832b380d76c41aa521a320f16ad (patch)
tree4d9f8d744ce1cf5d4dd5fee0b0ee2c609ca5bf2b /setuptools/command
parent69a6935ac9ed307a5fa3ed6464d3a028495d1ad2 (diff)
downloadpython-setuptools-3e231b8d43885832b380d76c41aa521a320f16ad.tar.gz
Fix problem activating dependencies for tests
git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@54071 6015fed2-1504-0410-9fe1-9d1591cc4771
Diffstat (limited to 'setuptools/command')
-rw-r--r--setuptools/command/test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/command/test.py b/setuptools/command/test.py
index fe024c6..f8a1169 100644
--- a/setuptools/command/test.py
+++ b/setuptools/command/test.py
@@ -96,6 +96,7 @@ class test(Command):
try:
sys.path.insert(0, normalize_path(ei_cmd.egg_base))
working_set.__init__()
+ add_activation_listener(lambda dist: dist.activate())
require('%s==%s' % (ei_cmd.egg_name, ei_cmd.egg_version))
func()
finally:
@@ -120,7 +121,6 @@ class test(Command):
-
def run_tests(self):
import unittest
loader_ep = EntryPoint.parse("x="+self.test_loader)