rename "api" into "hook" in most places.

--HG--
branch : trunk
This commit is contained in:
holger krekel
2009-05-07 18:01:53 +02:00
parent 1f14aacbc2
commit 8182d341a5
37 changed files with 126 additions and 126 deletions

View File

@@ -84,7 +84,7 @@ class TestBootstrapping:
#syspath.prepend(aplugin.dirpath())
py.std.sys.path.insert(0, str(aplugin.dirpath()))
pluginmanager.consider_module(mod)
call = sorter.getcall(pluginmanager.api.pytest_plugin_registered.name)
call = sorter.getcall(pluginmanager.hook.pytest_plugin_registered.name)
assert call.plugin.__class__.__name__ == "APlugin"
# check that it is not registered twice