simplify plugins bookkeeping further, refine API

--HG--
branch : more_plugin
This commit is contained in:
holger krekel
2015-04-25 20:17:32 +02:00
parent 1c0582eaa7
commit 3a1374e69c
6 changed files with 144 additions and 131 deletions

View File

@@ -313,7 +313,7 @@ def test_plugin_preparse_prevents_setuptools_loading(testdir, monkeypatch):
monkeypatch.setattr(pkg_resources, 'iter_entry_points', my_iter)
config = testdir.parseconfig("-p", "no:mytestplugin")
plugin = config.pluginmanager.getplugin("mytestplugin")
assert plugin == -1
assert plugin is None
def test_cmdline_processargs_simple(testdir):
testdir.makeconftest("""