summaryrefslogtreecommitdiff
path: root/setuptools/tests/__init__.py
diff options
context:
space:
mode:
authorPJ Eby <distutils-sig@python.org>2005-07-18 01:39:45 +0000
committerPJ Eby <distutils-sig@python.org>2005-07-18 01:39:45 +0000
commitc7214855992b9657d6a490f46764ffaf4089c1cb (patch)
tree940c06d0e3d88ace603a430c4bf3f6f98b94c204 /setuptools/tests/__init__.py
parent61a0e7109e42e844dcda2637fa3bbf5d1f897938 (diff)
downloadpython-setuptools-git-c7214855992b9657d6a490f46764ffaf4089c1cb.tar.gz
Massive API refactoring; see setuptools.txt changelog for details. Also,
add ``#egg=project-version`` link support, and docs on how to make your package available for EasyInstall to find. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041135
Diffstat (limited to 'setuptools/tests/__init__.py')
-rw-r--r--setuptools/tests/__init__.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/setuptools/tests/__init__.py b/setuptools/tests/__init__.py
index 06ca095d..97be5626 100644
--- a/setuptools/tests/__init__.py
+++ b/setuptools/tests/__init__.py
@@ -408,8 +408,15 @@ class TestCommandTests(TestCase):
+def test_api():
+ import doctest
+ return doctest.DocFileSuite(
+ 'api_tests.txt', optionflags=doctest.ELLIPSIS, package='pkg_resources',
+ )
+
+
testClasses = (DependsTests, DistroTests, FeatureTests, TestCommandTests)
-testNames = ["setuptools.tests.test_resources"]
+testNames = ["setuptools.tests.test_resources", "setuptools.tests.test_api"]
def test_suite():
return TestSuite(
@@ -442,10 +449,3 @@ def test_suite():
-
-
-
-
-
-
-