From 3d80d7b25848b2ed74498168ff9ad51ac99389fe Mon Sep 17 00:00:00 2001 From: pje Date: Sat, 13 Aug 2005 23:04:08 +0000 Subject: 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 --- setuptools/tests/test_resources.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'setuptools/tests/test_resources.py') 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")) -- cgit v1.2.1