diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2015-01-02 16:45:16 -0500 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2015-01-02 16:45:16 -0500 |
commit | ef428d7278002b558541300fb7b7a96c8dbac830 (patch) | |
tree | f774b13c900952fb69c4d4572f1a56fd013f4c08 /setuptools/tests/test_resources.py | |
parent | 1f953c4c2f954cc04df15a008cbd32e7bb1dfe04 (diff) | |
download | external_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.py | 5 |
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", |