rather named the new hook cmdline_preparse

This commit is contained in:
holger krekel
2010-12-07 12:34:18 +01:00
parent 9ab256c296
commit a15983cb33
7 changed files with 7 additions and 7 deletions

View File

@@ -306,7 +306,7 @@ class Config(object):
self._setinitialconftest(args)
self.pluginmanager.do_addoption(self._parser)
if addopts:
self.hook.pytest_cmdline_processargs(config=self, args=args)
self.hook.pytest_cmdline_preparse(config=self, args=args)
def _checkversion(self):
minver = self.inicfg.get('minversion', None)