aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/tests/test_resources.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2015-01-02 16:45:16 -0500
committerJason R. Coombs <jaraco@jaraco.com>2015-01-02 16:45:16 -0500
commitef428d7278002b558541300fb7b7a96c8dbac830 (patch)
treef774b13c900952fb69c4d4572f1a56fd013f4c08 /setuptools/tests/test_resources.py
parent1f953c4c2f954cc04df15a008cbd32e7bb1dfe04 (diff)
downloadexternal_python_setuptools-ef428d7278002b558541300fb7b7a96c8dbac830.tar.gz
external_python_setuptools-ef428d7278002b558541300fb7b7a96c8dbac830.tar.bz2
external_python_setuptools-ef428d7278002b558541300fb7b7a96c8dbac830.zip
Move tests to be adjacent with other parsing tests.
Diffstat (limited to 'setuptools/tests/test_resources.py')
-rw-r--r--setuptools/tests/test_resources.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/setuptools/tests/test_resources.py b/setuptools/tests/test_resources.py
index ecd45bca..94370ff1 100644
--- a/setuptools/tests/test_resources.py
+++ b/setuptools/tests/test_resources.py
@@ -250,6 +250,11 @@ class TestEntryPoints:
assert ep.attrs == ("foo",)
assert ep.extras == ()
+ # plus in the name
+ spec = "html+mako = mako.ext.pygmentplugin:MakoHtmlLexer"
+ ep = EntryPoint.parse(spec)
+ assert ep.name == 'html+mako'
+
def testRejects(self):
for ep in [
"foo", "x=1=2", "x=a:b:c", "q=x/na", "fez=pish:tush-z", "x=f[a]>2",