============================= test session starts ============================== python: platform linux2 -- Python 2.6.2 test object 1: /home/user/workspace/moin-1.9 MoinMoin/_tests/test_Page.py ......... MoinMoin/_tests/test_PageEditor.py ....s..sss MoinMoin/_tests/test_caching.py ....... MoinMoin/_tests/test_error.py .... MoinMoin/_tests/test_packages.py ........ MoinMoin/_tests/test_sourcecode.py .............. MoinMoin/_tests/test_user.py .............. MoinMoin/_tests/test_wikisync.py . MoinMoin/_tests/test_wikiutil.py ............................................................................................................................................................................. MoinMoin/_tests/test_wsgiapp.py ....... MoinMoin/action/_tests/test_attachfile.py .... MoinMoin/action/_tests/test_cache.py ...... MoinMoin/auth/_tests/test_auth.py S MoinMoin/auth/_tests/test_ldap_login.py S MoinMoin/config/_tests/test_multiconfig.py . MoinMoin/converter/_tests/test_text_html_text_moin_wiki.py ..ss........ssss...ssssssssssssssssss.s.s...sssssssssssssssssssssssssssss.ss.................. MoinMoin/datastruct/backends/_tests/__init__.py ............ MoinMoin/datastruct/backends/_tests/test_composite_groups.py .... MoinMoin/datastruct/backends/_tests/__init__.py .................... MoinMoin/datastruct/backends/_tests/test_lazy_config_groups.py . MoinMoin/datastruct/backends/_tests/__init__.py ..................... MoinMoin/datastruct/backends/_tests/test_wiki_groups.py ....... MoinMoin/events/_tests/test_events.py EEEEEE MoinMoin/filter/_tests/test_filter.py .... MoinMoin/formatter/_tests/test_formatter.py ss........................................................................................................................................................................... MoinMoin/formatter/_tests/test_groups.py .................. MoinMoin/macro/_tests/test_Action.py F MoinMoin/macro/_tests/test_EmbedObject.py .... MoinMoin/macro/_tests/test_FootNote.py . MoinMoin/macro/_tests/test_GetVal.py ..s MoinMoin/macro/_tests/test_Hits.py .... MoinMoin/macro/_tests/test_PageHits.py . MoinMoin/macro/_tests/test_StatsChart.py ... MoinMoin/macro/_tests/test_macro.py . MoinMoin/mail/_tests/test_sendmail.py ......... MoinMoin/parser/_tests/test_text_creole.py ........................... MoinMoin/parser/_tests/test_text_csv.py ... MoinMoin/parser/_tests/test_text_moin_wiki.py ........s................................ MoinMoin/parser/_tests/test_unicode.py . MoinMoin/script/migration/_tests/test_conv160_wiki.py ..... MoinMoin/script/migration/_tests/test_conv160a_wiki.py ...... MoinMoin/search/_tests/test_search.py .............. MoinMoin/security/_tests/test_security.py ............................................................................................................ MoinMoin/theme/_tests/test_editbar_actions.py .. MoinMoin/userform/_tests/test_admin.py . MoinMoin/util/_tests/test_diff3.py . MoinMoin/util/_tests/test_diff_text.py . MoinMoin/util/_tests/test_filesys.py ....s MoinMoin/util/_tests/test_lock.py .......... MoinMoin/util/_tests/test_pysupport.py ..... MoinMoin/util/_tests/test_util.py .. MoinMoin/util/_tests/test_web.py ...... MoinMoin/web/_tests/test_utils.py .ss MoinMoin/widget/_tests/test_html.py ... MoinMoin/wikixml/_tests/test_marshal.py .. MoinMoin/xmlrpc/_tests/test_xmlrpc.py EE jabberbot/_tests/test_capat.py ... jabberbot/_tests/test_xmlrpcbot.py .. jabberbot/_tests/test_xmppbot.py ... ==================================== ERRORS ==================================== _____________________ ERROR at setup of test_get_handlers ______________________ self = func = at 0x44fee60>, when = 'setup' def __init__(self, func, when): self.when = when try: > self.result = func() /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/plugin/pytest_runner.py:105: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > return CallInfo(lambda: hook(item=item), when=when) /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/plugin/pytest_runner.py:98: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = > def __call__(self, *args, **kwargs): if args: raise TypeError("only keyword arguments allowed " "for api call to %r" % self.name) attr = self.registry.listattr(self.name, extra=self.extralookup) mc = MultiCall(attr, **kwargs) # XXX this should be doable from a hook impl: if self.registry.logfile: self.registry.logfile.write("%s(**%s) # firstresult=%s\n" % (self.name, kwargs, self.firstresult)) self.registry.logfile.flush() > return mc.execute(firstresult=self.firstresult) /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/_com.py:139: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , firstresult = False def execute(self, firstresult=False): while self.methods: currentmethod = self.methods.pop() > res = self.execute_method(currentmethod) /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/_com.py:23: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = currentmethod = def execute_method(self, currentmethod): self.currentmethod = currentmethod # provide call introspection if "__call__" is the first positional argument if hasattr(currentmethod, 'im_self'): varnames = currentmethod.im_func.func_code.co_varnames needscall = varnames[1:2] == ('__call__',) else: try: varnames = currentmethod.func_code.co_varnames except AttributeError: # builtin function varnames = () needscall = varnames[:1] == ('__call__',) if needscall: return currentmethod(self, *self.args, **self.kwargs) else: #try: > return currentmethod(*self.args, **self.kwargs) /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/_com.py:53: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ item = def pytest_runtest_setup(item): > item.config._setupstate.prepare(item) /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/plugin/pytest_runner.py:57: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = colitem = def prepare(self, colitem): """ setup objects along the collector chain to the test-method and teardown previously setup objects.""" needed_collectors = colitem.listchain() while self.stack: if self.stack == needed_collectors[:len(self.stack)]: break self._pop_and_teardown() for col in needed_collectors[len(self.stack):]: > col.setup() /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/plugin/pytest_runner.py:287: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def setup(self): super(Function, self).setup() if hasattr(self, 'funcargs'): > funcargs.fillfuncargs(self) /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/pycollect.py:356: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ function = def fillfuncargs(function): """ fill missing funcargs. """ request = FuncargRequest(pyfuncitem=function) > request._fillfuncargs() /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/funcargs.py:14: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = > def _fillfuncargs(self): argnames = getfuncargnames(self.function) if argnames: assert not getattr(self._pyfuncitem, '_args', None), "yielded functions cannot have funcargs" for argname in argnames: if argname not in self._pyfuncitem.funcargs: > self._pyfuncitem.funcargs[argname] = self.getfuncargvalue(argname) /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/funcargs.py:103: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = > argname = 'request' def getfuncargvalue(self, argname): try: return self._funcargs[argname] except KeyError: pass if argname not in self._provider: self._provider[argname] = self.config.pluginmanager.listattr( plugins=self._plugins, attrname=self._argprefix + str(argname) ) #else: we are called recursively if not self._provider[argname]: > self._raiselookupfailed(argname) /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/funcargs.py:140: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = > argname = 'request' def _raiselookupfailed(self, argname): available = [] for plugin in self._plugins: for name in vars(plugin): if name.startswith(self._argprefix): name = name[len(self._argprefix):] if name not in available: available.append(name) fspath, lineno, msg = self._pyfuncitem.reportinfo() line = "%s:%s" %(fspath, lineno) msg = "funcargument %r not found for: %s" %(argname, line) msg += "\n available funcargs: %s" %(", ".join(available),) > raise self.Error(msg) E Error: funcargument 'request' not found for: /home/user/workspace/moin-1.9/MoinMoin/events/_tests/test_events.py:16 E available funcargs: capsys, capfd, tmpdir, monkeypatch, recwarn /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/funcargs.py:177: Error ______________________ ERROR at setup of test_send_event _______________________ self = func = at 0x453ab90>, when = 'setup' def __init__(self, func, when): self.when = when try: > self.result = func() /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/plugin/pytest_runner.py:105: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > return CallInfo(lambda: hook(item=item), when=when) /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/plugin/pytest_runner.py:98: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = > def __call__(self, *args, **kwargs): if args: raise TypeError("only keyword arguments allowed " "for api call to %r" % self.name) attr = self.registry.listattr(self.name, extra=self.extralookup) mc = MultiCall(attr, **kwargs) # XXX this should be doable from a hook impl: if self.registry.logfile: self.registry.logfile.write("%s(**%s) # firstresult=%s\n" % (self.name, kwargs, self.firstresult)) self.registry.logfile.flush() > return mc.execute(firstresult=self.firstresult) /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/_com.py:139: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , firstresult = False def execute(self, firstresult=False): while self.methods: currentmethod = self.methods.pop() > res = self.execute_method(currentmethod) /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/_com.py:23: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = currentmethod = def execute_method(self, currentmethod): self.currentmethod = currentmethod # provide call introspection if "__call__" is the first positional argument if hasattr(currentmethod, 'im_self'): varnames = currentmethod.im_func.func_code.co_varnames needscall = varnames[1:2] == ('__call__',) else: try: varnames = currentmethod.func_code.co_varnames except AttributeError: # builtin function varnames = () needscall = varnames[:1] == ('__call__',) if needscall: return currentmethod(self, *self.args, **self.kwargs) else: #try: > return currentmethod(*self.args, **self.kwargs) /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/_com.py:53: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ item = def pytest_runtest_setup(item): > item.config._setupstate.prepare(item) /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/plugin/pytest_runner.py:57: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = colitem = def prepare(self, colitem): """ setup objects along the collector chain to the test-method and teardown previously setup objects.""" needed_collectors = colitem.listchain() while self.stack: if self.stack == needed_collectors[:len(self.stack)]: break self._pop_and_teardown() for col in needed_collectors[len(self.stack):]: > col.setup() /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/plugin/pytest_runner.py:287: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def setup(self): super(Function, self).setup() if hasattr(self, 'funcargs'): > funcargs.fillfuncargs(self) /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/pycollect.py:356: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ function = def fillfuncargs(function): """ fill missing funcargs. """ request = FuncargRequest(pyfuncitem=function) > request._fillfuncargs() /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/funcargs.py:14: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = > def _fillfuncargs(self): argnames = getfuncargnames(self.function) if argnames: assert not getattr(self._pyfuncitem, '_args', None), "yielded functions cannot have funcargs" for argname in argnames: if argname not in self._pyfuncitem.funcargs: > self._pyfuncitem.funcargs[argname] = self.getfuncargvalue(argname) /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/funcargs.py:103: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = > argname = 'request' def getfuncargvalue(self, argname): try: return self._funcargs[argname] except KeyError: pass if argname not in self._provider: self._provider[argname] = self.config.pluginmanager.listattr( plugins=self._plugins, attrname=self._argprefix + str(argname) ) #else: we are called recursively if not self._provider[argname]: > self._raiselookupfailed(argname) /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/funcargs.py:140: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = > argname = 'request' def _raiselookupfailed(self, argname): available = [] for plugin in self._plugins: for name in vars(plugin): if name.startswith(self._argprefix): name = name[len(self._argprefix):] if name not in available: available.append(name) fspath, lineno, msg = self._pyfuncitem.reportinfo() line = "%s:%s" %(fspath, lineno) msg = "funcargument %r not found for: %s" %(argname, line) msg += "\n available funcargs: %s" %(", ".join(available),) > raise self.Error(msg) E Error: funcargument 'request' not found for: /home/user/workspace/moin-1.9/MoinMoin/events/_tests/test_events.py:21 E available funcargs: capsys, capfd, tmpdir, monkeypatch, recwarn /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/funcargs.py:177: Error __________________ ERROR at setup of test_subscribable_events __________________ self = func = at 0x453aa28>, when = 'setup' def __init__(self, func, when): self.when = when try: > self.result = func() /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/plugin/pytest_runner.py:105: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > return CallInfo(lambda: hook(item=item), when=when) /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/plugin/pytest_runner.py:98: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = > def __call__(self, *args, **kwargs): if args: raise TypeError("only keyword arguments allowed " "for api call to %r" % self.name) attr = self.registry.listattr(self.name, extra=self.extralookup) mc = MultiCall(attr, **kwargs) # XXX this should be doable from a hook impl: if self.registry.logfile: self.registry.logfile.write("%s(**%s) # firstresult=%s\n" % (self.name, kwargs, self.firstresult)) self.registry.logfile.flush() > return mc.execute(firstresult=self.firstresult) /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/_com.py:139: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , firstresult = False def execute(self, firstresult=False): while self.methods: currentmethod = self.methods.pop() > res = self.execute_method(currentmethod) /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/_com.py:23: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = currentmethod = def execute_method(self, currentmethod): self.currentmethod = currentmethod # provide call introspection if "__call__" is the first positional argument if hasattr(currentmethod, 'im_self'): varnames = currentmethod.im_func.func_code.co_varnames needscall = varnames[1:2] == ('__call__',) else: try: varnames = currentmethod.func_code.co_varnames except AttributeError: # builtin function varnames = () needscall = varnames[:1] == ('__call__',) if needscall: return currentmethod(self, *self.args, **self.kwargs) else: #try: > return currentmethod(*self.args, **self.kwargs) /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/_com.py:53: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ item = def pytest_runtest_setup(item): > item.config._setupstate.prepare(item) /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/plugin/pytest_runner.py:57: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = colitem = def prepare(self, colitem): """ setup objects along the collector chain to the test-method and teardown previously setup objects.""" needed_collectors = colitem.listchain() while self.stack: if self.stack == needed_collectors[:len(self.stack)]: break self._pop_and_teardown() for col in needed_collectors[len(self.stack):]: > col.setup() /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/plugin/pytest_runner.py:287: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def setup(self): super(Function, self).setup() if hasattr(self, 'funcargs'): > funcargs.fillfuncargs(self) /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/pycollect.py:356: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ function = def fillfuncargs(function): """ fill missing funcargs. """ request = FuncargRequest(pyfuncitem=function) > request._fillfuncargs() /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/funcargs.py:14: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = > def _fillfuncargs(self): argnames = getfuncargnames(self.function) if argnames: assert not getattr(self._pyfuncitem, '_args', None), "yielded functions cannot have funcargs" for argname in argnames: if argname not in self._pyfuncitem.funcargs: > self._pyfuncitem.funcargs[argname] = self.getfuncargvalue(argname) /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/funcargs.py:103: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = > argname = 'request' def getfuncargvalue(self, argname): try: return self._funcargs[argname] except KeyError: pass if argname not in self._provider: self._provider[argname] = self.config.pluginmanager.listattr( plugins=self._plugins, attrname=self._argprefix + str(argname) ) #else: we are called recursively if not self._provider[argname]: > self._raiselookupfailed(argname) /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/funcargs.py:140: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = > argname = 'request' def _raiselookupfailed(self, argname): available = [] for plugin in self._plugins: for name in vars(plugin): if name.startswith(self._argprefix): name = name[len(self._argprefix):] if name not in available: available.append(name) fspath, lineno, msg = self._pyfuncitem.reportinfo() line = "%s:%s" %(fspath, lineno) msg = "funcargument %r not found for: %s" %(argname, line) msg += "\n available funcargs: %s" %(", ".join(available),) > raise self.Error(msg) E Error: funcargument 'request' not found for: /home/user/workspace/moin-1.9/MoinMoin/events/_tests/test_events.py:37 E available funcargs: capsys, capfd, tmpdir, monkeypatch, recwarn /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/funcargs.py:177: Error __________________ ERROR at setup of test_page_change_message __________________ self = func = at 0x454a320>, when = 'setup' def __init__(self, func, when): self.when = when try: > self.result = func() /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/plugin/pytest_runner.py:105: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > return CallInfo(lambda: hook(item=item), when=when) /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/plugin/pytest_runner.py:98: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = > def __call__(self, *args, **kwargs): if args: raise TypeError("only keyword arguments allowed " "for api call to %r" % self.name) attr = self.registry.listattr(self.name, extra=self.extralookup) mc = MultiCall(attr, **kwargs) # XXX this should be doable from a hook impl: if self.registry.logfile: self.registry.logfile.write("%s(**%s) # firstresult=%s\n" % (self.name, kwargs, self.firstresult)) self.registry.logfile.flush() > return mc.execute(firstresult=self.firstresult) /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/_com.py:139: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , firstresult = False def execute(self, firstresult=False): while self.methods: currentmethod = self.methods.pop() > res = self.execute_method(currentmethod) /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/_com.py:23: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = currentmethod = def execute_method(self, currentmethod): self.currentmethod = currentmethod # provide call introspection if "__call__" is the first positional argument if hasattr(currentmethod, 'im_self'): varnames = currentmethod.im_func.func_code.co_varnames needscall = varnames[1:2] == ('__call__',) else: try: varnames = currentmethod.func_code.co_varnames except AttributeError: # builtin function varnames = () needscall = varnames[:1] == ('__call__',) if needscall: return currentmethod(self, *self.args, **self.kwargs) else: #try: > return currentmethod(*self.args, **self.kwargs) /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/_com.py:53: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ item = def pytest_runtest_setup(item): > item.config._setupstate.prepare(item) /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/plugin/pytest_runner.py:57: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = colitem = def prepare(self, colitem): """ setup objects along the collector chain to the test-method and teardown previously setup objects.""" needed_collectors = colitem.listchain() while self.stack: if self.stack == needed_collectors[:len(self.stack)]: break self._pop_and_teardown() for col in needed_collectors[len(self.stack):]: > col.setup() /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/plugin/pytest_runner.py:287: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def setup(self): super(Function, self).setup() if hasattr(self, 'funcargs'): > funcargs.fillfuncargs(self) /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/pycollect.py:356: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ function = def fillfuncargs(function): """ fill missing funcargs. """ request = FuncargRequest(pyfuncitem=function) > request._fillfuncargs() /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/funcargs.py:14: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = > def _fillfuncargs(self): argnames = getfuncargnames(self.function) if argnames: assert not getattr(self._pyfuncitem, '_args', None), "yielded functions cannot have funcargs" for argname in argnames: if argname not in self._pyfuncitem.funcargs: > self._pyfuncitem.funcargs[argname] = self.getfuncargvalue(argname) /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/funcargs.py:103: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = > argname = 'request' def getfuncargvalue(self, argname): try: return self._funcargs[argname] except KeyError: pass if argname not in self._provider: self._provider[argname] = self.config.pluginmanager.listattr( plugins=self._plugins, attrname=self._argprefix + str(argname) ) #else: we are called recursively if not self._provider[argname]: > self._raiselookupfailed(argname) /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/funcargs.py:140: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = > argname = 'request' def _raiselookupfailed(self, argname): available = [] for plugin in self._plugins: for name in vars(plugin): if name.startswith(self._argprefix): name = name[len(self._argprefix):] if name not in available: available.append(name) fspath, lineno, msg = self._pyfuncitem.reportinfo() line = "%s:%s" %(fspath, lineno) msg = "funcargument %r not found for: %s" %(argname, line) msg += "\n available funcargs: %s" %(", ".join(available),) > raise self.Error(msg) E Error: funcargument 'request' not found for: /home/user/workspace/moin-1.9/MoinMoin/events/_tests/test_events.py:43 E available funcargs: capsys, capfd, tmpdir, monkeypatch, recwarn /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/funcargs.py:177: Error __________________ ERROR at setup of test_user_created_event ___________________ self = func = at 0x4436d70>, when = 'setup' def __init__(self, func, when): self.when = when try: > self.result = func() /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/plugin/pytest_runner.py:105: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > return CallInfo(lambda: hook(item=item), when=when) /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/plugin/pytest_runner.py:98: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = > def __call__(self, *args, **kwargs): if args: raise TypeError("only keyword arguments allowed " "for api call to %r" % self.name) attr = self.registry.listattr(self.name, extra=self.extralookup) mc = MultiCall(attr, **kwargs) # XXX this should be doable from a hook impl: if self.registry.logfile: self.registry.logfile.write("%s(**%s) # firstresult=%s\n" % (self.name, kwargs, self.firstresult)) self.registry.logfile.flush() > return mc.execute(firstresult=self.firstresult) /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/_com.py:139: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , firstresult = False def execute(self, firstresult=False): while self.methods: currentmethod = self.methods.pop() > res = self.execute_method(currentmethod) /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/_com.py:23: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = currentmethod = def execute_method(self, currentmethod): self.currentmethod = currentmethod # provide call introspection if "__call__" is the first positional argument if hasattr(currentmethod, 'im_self'): varnames = currentmethod.im_func.func_code.co_varnames needscall = varnames[1:2] == ('__call__',) else: try: varnames = currentmethod.func_code.co_varnames except AttributeError: # builtin function varnames = () needscall = varnames[:1] == ('__call__',) if needscall: return currentmethod(self, *self.args, **self.kwargs) else: #try: > return currentmethod(*self.args, **self.kwargs) /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/_com.py:53: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ item = def pytest_runtest_setup(item): > item.config._setupstate.prepare(item) /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/plugin/pytest_runner.py:57: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = colitem = def prepare(self, colitem): """ setup objects along the collector chain to the test-method and teardown previously setup objects.""" needed_collectors = colitem.listchain() while self.stack: if self.stack == needed_collectors[:len(self.stack)]: break self._pop_and_teardown() for col in needed_collectors[len(self.stack):]: > col.setup() /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/plugin/pytest_runner.py:287: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def setup(self): super(Function, self).setup() if hasattr(self, 'funcargs'): > funcargs.fillfuncargs(self) /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/pycollect.py:356: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ function = def fillfuncargs(function): """ fill missing funcargs. """ request = FuncargRequest(pyfuncitem=function) > request._fillfuncargs() /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/funcargs.py:14: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = > def _fillfuncargs(self): argnames = getfuncargnames(self.function) if argnames: assert not getattr(self._pyfuncitem, '_args', None), "yielded functions cannot have funcargs" for argname in argnames: if argname not in self._pyfuncitem.funcargs: > self._pyfuncitem.funcargs[argname] = self.getfuncargvalue(argname) /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/funcargs.py:103: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = > argname = 'request' def getfuncargvalue(self, argname): try: return self._funcargs[argname] except KeyError: pass if argname not in self._provider: self._provider[argname] = self.config.pluginmanager.listattr( plugins=self._plugins, attrname=self._argprefix + str(argname) ) #else: we are called recursively if not self._provider[argname]: > self._raiselookupfailed(argname) /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/funcargs.py:140: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = > argname = 'request' def _raiselookupfailed(self, argname): available = [] for plugin in self._plugins: for name in vars(plugin): if name.startswith(self._argprefix): name = name[len(self._argprefix):] if name not in available: available.append(name) fspath, lineno, msg = self._pyfuncitem.reportinfo() line = "%s:%s" %(fspath, lineno) msg = "funcargument %r not found for: %s" %(argname, line) msg += "\n available funcargs: %s" %(", ".join(available),) > raise self.Error(msg) E Error: funcargument 'request' not found for: /home/user/workspace/moin-1.9/MoinMoin/events/_tests/test_events.py:50 E available funcargs: capsys, capfd, tmpdir, monkeypatch, recwarn /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/funcargs.py:177: Error ________________ ERROR at setup of test_filter_subscriber_list _________________ self = func = at 0x44feaa0>, when = 'setup' def __init__(self, func, when): self.when = when try: > self.result = func() /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/plugin/pytest_runner.py:105: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > return CallInfo(lambda: hook(item=item), when=when) /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/plugin/pytest_runner.py:98: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = > def __call__(self, *args, **kwargs): if args: raise TypeError("only keyword arguments allowed " "for api call to %r" % self.name) attr = self.registry.listattr(self.name, extra=self.extralookup) mc = MultiCall(attr, **kwargs) # XXX this should be doable from a hook impl: if self.registry.logfile: self.registry.logfile.write("%s(**%s) # firstresult=%s\n" % (self.name, kwargs, self.firstresult)) self.registry.logfile.flush() > return mc.execute(firstresult=self.firstresult) /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/_com.py:139: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , firstresult = False def execute(self, firstresult=False): while self.methods: currentmethod = self.methods.pop() > res = self.execute_method(currentmethod) /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/_com.py:23: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = currentmethod = def execute_method(self, currentmethod): self.currentmethod = currentmethod # provide call introspection if "__call__" is the first positional argument if hasattr(currentmethod, 'im_self'): varnames = currentmethod.im_func.func_code.co_varnames needscall = varnames[1:2] == ('__call__',) else: try: varnames = currentmethod.func_code.co_varnames except AttributeError: # builtin function varnames = () needscall = varnames[:1] == ('__call__',) if needscall: return currentmethod(self, *self.args, **self.kwargs) else: #try: > return currentmethod(*self.args, **self.kwargs) /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/_com.py:53: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ item = def pytest_runtest_setup(item): > item.config._setupstate.prepare(item) /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/plugin/pytest_runner.py:57: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = colitem = def prepare(self, colitem): """ setup objects along the collector chain to the test-method and teardown previously setup objects.""" needed_collectors = colitem.listchain() while self.stack: if self.stack == needed_collectors[:len(self.stack)]: break self._pop_and_teardown() for col in needed_collectors[len(self.stack):]: > col.setup() /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/plugin/pytest_runner.py:287: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def setup(self): super(Function, self).setup() if hasattr(self, 'funcargs'): > funcargs.fillfuncargs(self) /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/pycollect.py:356: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ function = def fillfuncargs(function): """ fill missing funcargs. """ request = FuncargRequest(pyfuncitem=function) > request._fillfuncargs() /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/funcargs.py:14: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = > def _fillfuncargs(self): argnames = getfuncargnames(self.function) if argnames: assert not getattr(self._pyfuncitem, '_args', None), "yielded functions cannot have funcargs" for argname in argnames: if argname not in self._pyfuncitem.funcargs: > self._pyfuncitem.funcargs[argname] = self.getfuncargvalue(argname) /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/funcargs.py:103: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = > argname = 'request' def getfuncargvalue(self, argname): try: return self._funcargs[argname] except KeyError: pass if argname not in self._provider: self._provider[argname] = self.config.pluginmanager.listattr( plugins=self._plugins, attrname=self._argprefix + str(argname) ) #else: we are called recursively if not self._provider[argname]: > self._raiselookupfailed(argname) /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/funcargs.py:140: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = > argname = 'request' def _raiselookupfailed(self, argname): available = [] for plugin in self._plugins: for name in vars(plugin): if name.startswith(self._argprefix): name = name[len(self._argprefix):] if name not in available: available.append(name) fspath, lineno, msg = self._pyfuncitem.reportinfo() line = "%s:%s" %(fspath, lineno) msg = "funcargument %r not found for: %s" %(argname, line) msg += "\n available funcargs: %s" %(", ".join(available),) > raise self.Error(msg) E Error: funcargument 'request' not found for: /home/user/workspace/moin-1.9/MoinMoin/events/_tests/test_events.py:66 E available funcargs: capsys, capfd, tmpdir, monkeypatch, recwarn /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/funcargs.py:177: Error __________________ ERROR at setup of test_fault_serialization __________________ self = func = at 0x7d64d70>, when = 'setup' def __init__(self, func, when): self.when = when try: > self.result = func() /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/plugin/pytest_runner.py:105: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > return CallInfo(lambda: hook(item=item), when=when) /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/plugin/pytest_runner.py:98: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = > def __call__(self, *args, **kwargs): if args: raise TypeError("only keyword arguments allowed " "for api call to %r" % self.name) attr = self.registry.listattr(self.name, extra=self.extralookup) mc = MultiCall(attr, **kwargs) # XXX this should be doable from a hook impl: if self.registry.logfile: self.registry.logfile.write("%s(**%s) # firstresult=%s\n" % (self.name, kwargs, self.firstresult)) self.registry.logfile.flush() > return mc.execute(firstresult=self.firstresult) /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/_com.py:139: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , firstresult = False def execute(self, firstresult=False): while self.methods: currentmethod = self.methods.pop() > res = self.execute_method(currentmethod) /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/_com.py:23: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = currentmethod = def execute_method(self, currentmethod): self.currentmethod = currentmethod # provide call introspection if "__call__" is the first positional argument if hasattr(currentmethod, 'im_self'): varnames = currentmethod.im_func.func_code.co_varnames needscall = varnames[1:2] == ('__call__',) else: try: varnames = currentmethod.func_code.co_varnames except AttributeError: # builtin function varnames = () needscall = varnames[:1] == ('__call__',) if needscall: return currentmethod(self, *self.args, **self.kwargs) else: #try: > return currentmethod(*self.args, **self.kwargs) /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/_com.py:53: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ item = def pytest_runtest_setup(item): > item.config._setupstate.prepare(item) /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/plugin/pytest_runner.py:57: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = colitem = def prepare(self, colitem): """ setup objects along the collector chain to the test-method and teardown previously setup objects.""" needed_collectors = colitem.listchain() while self.stack: if self.stack == needed_collectors[:len(self.stack)]: break self._pop_and_teardown() for col in needed_collectors[len(self.stack):]: > col.setup() /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/plugin/pytest_runner.py:287: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def setup(self): super(Function, self).setup() if hasattr(self, 'funcargs'): > funcargs.fillfuncargs(self) /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/pycollect.py:356: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ function = def fillfuncargs(function): """ fill missing funcargs. """ request = FuncargRequest(pyfuncitem=function) > request._fillfuncargs() /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/funcargs.py:14: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = > def _fillfuncargs(self): argnames = getfuncargnames(self.function) if argnames: assert not getattr(self._pyfuncitem, '_args', None), "yielded functions cannot have funcargs" for argname in argnames: if argname not in self._pyfuncitem.funcargs: > self._pyfuncitem.funcargs[argname] = self.getfuncargvalue(argname) /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/funcargs.py:103: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = > argname = 'request' def getfuncargvalue(self, argname): try: return self._funcargs[argname] except KeyError: pass if argname not in self._provider: self._provider[argname] = self.config.pluginmanager.listattr( plugins=self._plugins, attrname=self._argprefix + str(argname) ) #else: we are called recursively if not self._provider[argname]: > self._raiselookupfailed(argname) /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/funcargs.py:140: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = > argname = 'request' def _raiselookupfailed(self, argname): available = [] for plugin in self._plugins: for name in vars(plugin): if name.startswith(self._argprefix): name = name[len(self._argprefix):] if name not in available: available.append(name) fspath, lineno, msg = self._pyfuncitem.reportinfo() line = "%s:%s" %(fspath, lineno) msg = "funcargument %r not found for: %s" %(argname, line) msg += "\n available funcargs: %s" %(", ".join(available),) > raise self.Error(msg) E Error: funcargument 'request' not found for: /home/user/workspace/moin-1.9/MoinMoin/xmlrpc/_tests/test_xmlrpc.py:14 E available funcargs: capsys, capfd, tmpdir, monkeypatch, recwarn /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/funcargs.py:177: Error _____________________ ERROR at setup of test_getAuthToken ______________________ self = func = at 0x7d818c0>, when = 'setup' def __init__(self, func, when): self.when = when try: > self.result = func() /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/plugin/pytest_runner.py:105: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > return CallInfo(lambda: hook(item=item), when=when) /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/plugin/pytest_runner.py:98: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = > def __call__(self, *args, **kwargs): if args: raise TypeError("only keyword arguments allowed " "for api call to %r" % self.name) attr = self.registry.listattr(self.name, extra=self.extralookup) mc = MultiCall(attr, **kwargs) # XXX this should be doable from a hook impl: if self.registry.logfile: self.registry.logfile.write("%s(**%s) # firstresult=%s\n" % (self.name, kwargs, self.firstresult)) self.registry.logfile.flush() > return mc.execute(firstresult=self.firstresult) /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/_com.py:139: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , firstresult = False def execute(self, firstresult=False): while self.methods: currentmethod = self.methods.pop() > res = self.execute_method(currentmethod) /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/_com.py:23: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = currentmethod = def execute_method(self, currentmethod): self.currentmethod = currentmethod # provide call introspection if "__call__" is the first positional argument if hasattr(currentmethod, 'im_self'): varnames = currentmethod.im_func.func_code.co_varnames needscall = varnames[1:2] == ('__call__',) else: try: varnames = currentmethod.func_code.co_varnames except AttributeError: # builtin function varnames = () needscall = varnames[:1] == ('__call__',) if needscall: return currentmethod(self, *self.args, **self.kwargs) else: #try: > return currentmethod(*self.args, **self.kwargs) /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/_com.py:53: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ item = def pytest_runtest_setup(item): > item.config._setupstate.prepare(item) /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/plugin/pytest_runner.py:57: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = colitem = def prepare(self, colitem): """ setup objects along the collector chain to the test-method and teardown previously setup objects.""" needed_collectors = colitem.listchain() while self.stack: if self.stack == needed_collectors[:len(self.stack)]: break self._pop_and_teardown() for col in needed_collectors[len(self.stack):]: > col.setup() /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/plugin/pytest_runner.py:287: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def setup(self): super(Function, self).setup() if hasattr(self, 'funcargs'): > funcargs.fillfuncargs(self) /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/pycollect.py:356: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ function = def fillfuncargs(function): """ fill missing funcargs. """ request = FuncargRequest(pyfuncitem=function) > request._fillfuncargs() /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/funcargs.py:14: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = > def _fillfuncargs(self): argnames = getfuncargnames(self.function) if argnames: assert not getattr(self._pyfuncitem, '_args', None), "yielded functions cannot have funcargs" for argname in argnames: if argname not in self._pyfuncitem.funcargs: > self._pyfuncitem.funcargs[argname] = self.getfuncargvalue(argname) /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/funcargs.py:103: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = > argname = 'request' def getfuncargvalue(self, argname): try: return self._funcargs[argname] except KeyError: pass if argname not in self._provider: self._provider[argname] = self.config.pluginmanager.listattr( plugins=self._plugins, attrname=self._argprefix + str(argname) ) #else: we are called recursively if not self._provider[argname]: > self._raiselookupfailed(argname) /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/funcargs.py:140: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = > argname = 'request' def _raiselookupfailed(self, argname): available = [] for plugin in self._plugins: for name in vars(plugin): if name.startswith(self._argprefix): name = name[len(self._argprefix):] if name not in available: available.append(name) fspath, lineno, msg = self._pyfuncitem.reportinfo() line = "%s:%s" %(fspath, lineno) msg = "funcargument %r not found for: %s" %(argname, line) msg += "\n available funcargs: %s" %(", ".join(available),) > raise self.Error(msg) E Error: funcargument 'request' not found for: /home/user/workspace/moin-1.9/MoinMoin/xmlrpc/_tests/test_xmlrpc.py:32 E available funcargs: capsys, capfd, tmpdir, monkeypatch, recwarn /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/funcargs.py:177: Error =================================== FAILURES =================================== _______________________ TestAction.testActionCallingRaw ________________________ self = def testActionCallingRaw(self): """ module_tested: executes raw by macro Action on existing page""" request = self.request become_trusted(request) self.page = create_page(request, self.pagename, u'= title1 =\n||A||B||\n') m = make_macro(self.request, self.page) result = Action.macro_Action(m, 'raw') nuke_page(request, self.pagename) expected = 'raw' > assert result == expected E assert u'raw' == 'raw' MoinMoin/macro/_tests/test_Action.py:30: AssertionError ========= 1 failed, 824 passed, 70 skipped, 8 error in 202.44 seconds ==========