diff options
| author | PJ Eby <distutils-sig@python.org> | 2005-04-02 02:43:21 +0000 |
|---|---|---|
| committer | PJ Eby <distutils-sig@python.org> | 2005-04-02 02:43:21 +0000 |
| commit | 6d3753cc8d96814a99cedd8a24a57977e5ef7766 (patch) | |
| tree | 025f6cb23e724bdefed8bd372490bfe65fb742f8 /setuptools/tests/__init__.py | |
| parent | 0ad2e2ea4e3814a8ce02149878932c036f02477b (diff) | |
| download | python-setuptools-git-6d3753cc8d96814a99cedd8a24a57977e5ef7766.tar.gz | |
Rough draft of version requirement parser. Make bdist_egg look for a
distname.egg-info directory instead of EGG-INFO.in; this will be used later
to support development of egg-distributed packages that an application
under development expects to 'require()'. (Thanks to Fred Drake for
pointing out this use case, and Bob Ippolito for helping me figure out how
to support it, although the runtime support doesn't actually exist yet.)
--HG--
branch : setuptools
extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4040999
Diffstat (limited to 'setuptools/tests/__init__.py')
| -rw-r--r-- | setuptools/tests/__init__.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/setuptools/tests/__init__.py b/setuptools/tests/__init__.py index 913c65bf..7db37888 100644 --- a/setuptools/tests/__init__.py +++ b/setuptools/tests/__init__.py @@ -1,6 +1,6 @@ """Tests for the 'setuptools' package""" -from unittest import TestSuite, TestCase, makeSuite +from unittest import TestSuite, TestCase, makeSuite, defaultTestLoader import distutils.core, distutils.cmd from distutils.errors import DistutilsOptionError, DistutilsPlatformError from distutils.errors import DistutilsSetupError @@ -409,13 +409,13 @@ class TestCommandTests(TestCase): testClasses = (DependsTests, DistroTests, FeatureTests, TestCommandTests) +testNames = ["setuptools.tests.test_resources"] def test_suite(): - return TestSuite([makeSuite(t,'test') for t in testClasses]) - - - - + return TestSuite( + [makeSuite(t,'test') for t in testClasses]+ + [defaultTestLoader.loadTestsFromName(n) for n in testNames] + ) |
