summaryrefslogtreecommitdiff
path: root/setuptools/tests/test_resources.py
diff options
context:
space:
mode:
authorpje <pje@6015fed2-1504-0410-9fe1-9d1591cc4771>2005-08-13 23:04:08 +0000
committerpje <pje@6015fed2-1504-0410-9fe1-9d1591cc4771>2005-08-13 23:04:08 +0000
commit3d80d7b25848b2ed74498168ff9ad51ac99389fe (patch)
tree02731d6a0687dd6d9962188e7f2024023fc98327 /setuptools/tests/test_resources.py
parent2fe7f1286cdb0afec89b3a2c40d02c44e93b8f5b (diff)
downloadpython-setuptools-3d80d7b25848b2ed74498168ff9ad51ac99389fe.tar.gz
Added docs for main EntryPoint APIs, and cleaned up the API itself a bit.
Also fixed a few bugs. git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@41192 6015fed2-1504-0410-9fe1-9d1591cc4771
Diffstat (limited to 'setuptools/tests/test_resources.py')
-rw-r--r--setuptools/tests/test_resources.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/setuptools/tests/test_resources.py b/setuptools/tests/test_resources.py
index 7ec9b98..ed65167 100644
--- a/setuptools/tests/test_resources.py
+++ b/setuptools/tests/test_resources.py
@@ -269,9 +269,9 @@ class EntryPointTests(TestCase):
"""
def testParseList(self):
- self.checkSubMap(EntryPoint.parse_list("xyz", self.submap_str))
- self.assertRaises(ValueError, EntryPoint.parse_list, "x a", "foo=bar")
- self.assertRaises(ValueError, EntryPoint.parse_list, "x",
+ self.checkSubMap(EntryPoint.parse_group("xyz", self.submap_str))
+ self.assertRaises(ValueError, EntryPoint.parse_group, "x a", "foo=bar")
+ self.assertRaises(ValueError, EntryPoint.parse_group, "x",
["foo=baz", "foo=bar"])
def testParseMap(self):
@@ -397,7 +397,7 @@ class ParseTests(TestCase):
"""
)
),
- [(None,["x"]), ("y",["z","a"]), ("b",["c"]), ("d",[]), ("q",["v"])]
+ [(None,["x"]), ("Y",["z","a"]), ("b",["c"]), ("d",[]), ("q",["v"])]
)
self.assertRaises(ValueError,list,pkg_resources.split_sections("[foo"))