Attachment 'moin-1.9.txt'

Download

   1 ============================= test session starts ==============================
   2 python: platform linux2 -- Python 2.6.2
   3 test object 1: /home/user/workspace/moin-1.9
   4 
   5 MoinMoin/_tests/test_Page.py .........
   6 MoinMoin/_tests/test_PageEditor.py ....s..sss
   7 MoinMoin/_tests/test_caching.py .......
   8 MoinMoin/_tests/test_error.py ....
   9 MoinMoin/_tests/test_packages.py ........
  10 MoinMoin/_tests/test_sourcecode.py ..............
  11 MoinMoin/_tests/test_user.py ..............
  12 MoinMoin/_tests/test_wikisync.py .
  13 MoinMoin/_tests/test_wikiutil.py .............................................................................................................................................................................
  14 MoinMoin/_tests/test_wsgiapp.py .......
  15 MoinMoin/action/_tests/test_attachfile.py ....
  16 MoinMoin/action/_tests/test_cache.py ......
  17 MoinMoin/auth/_tests/test_auth.py S
  18 MoinMoin/auth/_tests/test_ldap_login.py S
  19 MoinMoin/config/_tests/test_multiconfig.py .
  20 MoinMoin/converter/_tests/test_text_html_text_moin_wiki.py ..ss........ssss...ssssssssssssssssss.s.s...sssssssssssssssssssssssssssss.ss..................
  21 MoinMoin/datastruct/backends/_tests/__init__.py ............
  22 MoinMoin/datastruct/backends/_tests/test_composite_groups.py ....
  23 MoinMoin/datastruct/backends/_tests/__init__.py ....................
  24 MoinMoin/datastruct/backends/_tests/test_lazy_config_groups.py .
  25 MoinMoin/datastruct/backends/_tests/__init__.py .....................
  26 MoinMoin/datastruct/backends/_tests/test_wiki_groups.py .......
  27 MoinMoin/events/_tests/test_events.py EEEEEE
  28 MoinMoin/filter/_tests/test_filter.py ....
  29 MoinMoin/formatter/_tests/test_formatter.py ss...........................................................................................................................................................................
  30 MoinMoin/formatter/_tests/test_groups.py ..................
  31 MoinMoin/macro/_tests/test_Action.py F
  32 MoinMoin/macro/_tests/test_EmbedObject.py ....
  33 MoinMoin/macro/_tests/test_FootNote.py .
  34 MoinMoin/macro/_tests/test_GetVal.py ..s
  35 MoinMoin/macro/_tests/test_Hits.py ....
  36 MoinMoin/macro/_tests/test_PageHits.py .
  37 MoinMoin/macro/_tests/test_StatsChart.py ...
  38 MoinMoin/macro/_tests/test_macro.py .
  39 MoinMoin/mail/_tests/test_sendmail.py .........
  40 MoinMoin/parser/_tests/test_text_creole.py ...........................
  41 MoinMoin/parser/_tests/test_text_csv.py ...
  42 MoinMoin/parser/_tests/test_text_moin_wiki.py ........s................................
  43 MoinMoin/parser/_tests/test_unicode.py .
  44 MoinMoin/script/migration/_tests/test_conv160_wiki.py .....
  45 MoinMoin/script/migration/_tests/test_conv160a_wiki.py ......
  46 MoinMoin/search/_tests/test_search.py ..............
  47 MoinMoin/security/_tests/test_security.py ............................................................................................................
  48 MoinMoin/theme/_tests/test_editbar_actions.py ..
  49 MoinMoin/userform/_tests/test_admin.py .
  50 MoinMoin/util/_tests/test_diff3.py .
  51 MoinMoin/util/_tests/test_diff_text.py .
  52 MoinMoin/util/_tests/test_filesys.py ....s
  53 MoinMoin/util/_tests/test_lock.py ..........
  54 MoinMoin/util/_tests/test_pysupport.py .....
  55 MoinMoin/util/_tests/test_util.py ..
  56 MoinMoin/util/_tests/test_web.py ......
  57 MoinMoin/web/_tests/test_utils.py .ss
  58 MoinMoin/widget/_tests/test_html.py ...
  59 MoinMoin/wikixml/_tests/test_marshal.py ..
  60 MoinMoin/xmlrpc/_tests/test_xmlrpc.py EE
  61 jabberbot/_tests/test_capat.py ...
  62 jabberbot/_tests/test_xmlrpcbot.py ..
  63 jabberbot/_tests/test_xmppbot.py ...
  64 
  65 ==================================== ERRORS ====================================
  66 _____________________ ERROR at setup of test_get_handlers ______________________
  67 
  68 self = <py.__.test.plugin.pytest_runner.CallInfo instance at 0x45377a0>
  69 func = <function <lambda> at 0x44fee60>, when = 'setup'
  70 
  71     def __init__(self, func, when):
  72         self.when = when
  73         try:
  74 >           self.result = func()
  75 
  76 /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/plugin/pytest_runner.py:105: 
  77 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
  78 
  79 >   return CallInfo(lambda: hook(item=item), when=when)
  80 
  81 /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/plugin/pytest_runner.py:98: 
  82 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
  83 
  84 self = <HookCall 'pytest_runtest_setup' mode=each <py.__._com.Registry instance at 0x24e14d0>>
  85 
  86     def __call__(self, *args, **kwargs):
  87         if args:
  88             raise TypeError("only keyword arguments allowed "
  89                             "for api call to %r" % self.name)
  90         attr = self.registry.listattr(self.name, extra=self.extralookup)
  91         mc = MultiCall(attr, **kwargs)
  92         # XXX this should be doable from a hook impl:
  93         if self.registry.logfile:
  94             self.registry.logfile.write("%s(**%s) # firstresult=%s\n" %
  95                 (self.name, kwargs, self.firstresult))
  96             self.registry.logfile.flush()
  97 >       return mc.execute(firstresult=self.firstresult)
  98 
  99 /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/_com.py:139: 
 100 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
 101 
 102 self = <py.__._com.MultiCall instance at 0x45373f8>, firstresult = False
 103 
 104     def execute(self, firstresult=False):
 105         while self.methods:
 106             currentmethod = self.methods.pop()
 107 >           res = self.execute_method(currentmethod)
 108 
 109 /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/_com.py:23: 
 110 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
 111 
 112 self = <py.__._com.MultiCall instance at 0x45373f8>
 113 currentmethod = <function pytest_runtest_setup at 0x2568410>
 114 
 115     def execute_method(self, currentmethod):
 116         self.currentmethod = currentmethod
 117         # provide call introspection if "__call__" is the first positional argument
 118         if hasattr(currentmethod, 'im_self'):
 119             varnames = currentmethod.im_func.func_code.co_varnames
 120             needscall = varnames[1:2] == ('__call__',)
 121         else:
 122             try:
 123                 varnames = currentmethod.func_code.co_varnames
 124             except AttributeError:
 125                 # builtin function
 126                 varnames = ()
 127             needscall = varnames[:1] == ('__call__',)
 128         if needscall:
 129             return currentmethod(self, *self.args, **self.kwargs)
 130         else:
 131             #try:
 132 >               return currentmethod(*self.args, **self.kwargs)
 133 
 134 /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/_com.py:53: 
 135 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
 136 
 137 item = <MoinTestFunction 'test_get_handlers'>
 138 
 139     def pytest_runtest_setup(item):
 140 >       item.config._setupstate.prepare(item)
 141 
 142 /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/plugin/pytest_runner.py:57: 
 143 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
 144 
 145 self = <py.__.test.plugin.pytest_runner.SetupState object at 0x2605710>
 146 colitem = <MoinTestFunction 'test_get_handlers'>
 147 
 148     def prepare(self, colitem):
 149         """ setup objects along the collector chain to the test-method
 150                 and teardown previously setup objects."""
 151         needed_collectors = colitem.listchain()
 152         while self.stack:
 153             if self.stack == needed_collectors[:len(self.stack)]:
 154                 break
 155             self._pop_and_teardown()
 156         for col in needed_collectors[len(self.stack):]:
 157 >           col.setup()
 158 
 159 /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/plugin/pytest_runner.py:287: 
 160 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
 161 
 162 self = <MoinTestFunction 'test_get_handlers'>
 163 
 164     def setup(self):
 165         super(Function, self).setup()
 166         if hasattr(self, 'funcargs'):
 167 >           funcargs.fillfuncargs(self)
 168 
 169 /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/pycollect.py:356: 
 170 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
 171 
 172 function = <MoinTestFunction 'test_get_handlers'>
 173 
 174     def fillfuncargs(function):
 175         """ fill missing funcargs. """
 176         request = FuncargRequest(pyfuncitem=function)
 177 >       request._fillfuncargs()
 178 
 179 /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/funcargs.py:14: 
 180 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
 181 
 182 self = <FuncargRequest for <MoinTestFunction 'test_get_handlers'>>
 183 
 184     def _fillfuncargs(self):
 185         argnames = getfuncargnames(self.function)
 186         if argnames:
 187             assert not getattr(self._pyfuncitem, '_args', None), "yielded functions cannot have funcargs"
 188         for argname in argnames:
 189             if argname not in self._pyfuncitem.funcargs:
 190 >               self._pyfuncitem.funcargs[argname] = self.getfuncargvalue(argname)
 191 
 192 /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/funcargs.py:103: 
 193 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
 194 
 195 self = <FuncargRequest for <MoinTestFunction 'test_get_handlers'>>
 196 argname = 'request'
 197 
 198     def getfuncargvalue(self, argname):
 199         try:
 200             return self._funcargs[argname]
 201         except KeyError:
 202             pass
 203         if argname not in self._provider:
 204             self._provider[argname] = self.config.pluginmanager.listattr(
 205                     plugins=self._plugins,
 206                     attrname=self._argprefix + str(argname)
 207             )
 208         #else: we are called recursively
 209         if not self._provider[argname]:
 210 >           self._raiselookupfailed(argname)
 211 
 212 /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/funcargs.py:140: 
 213 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
 214 
 215 self = <FuncargRequest for <MoinTestFunction 'test_get_handlers'>>
 216 argname = 'request'
 217 
 218     def _raiselookupfailed(self, argname):
 219         available = []
 220         for plugin in self._plugins:
 221             for name in vars(plugin):
 222                 if name.startswith(self._argprefix):
 223                     name = name[len(self._argprefix):]
 224                     if name not in available:
 225                         available.append(name)
 226         fspath, lineno, msg = self._pyfuncitem.reportinfo()
 227         line = "%s:%s" %(fspath, lineno)
 228         msg = "funcargument %r not found for: %s" %(argname, line)
 229         msg += "\n available funcargs: %s" %(", ".join(available),)
 230 >       raise self.Error(msg)
 231 E       Error: funcargument 'request' not found for: /home/user/workspace/moin-1.9/MoinMoin/events/_tests/test_events.py:16
 232 E        available funcargs: capsys, capfd, tmpdir, monkeypatch, recwarn
 233 
 234 /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/funcargs.py:177: Error
 235 ______________________ ERROR at setup of test_send_event _______________________
 236 
 237 self = <py.__.test.plugin.pytest_runner.CallInfo instance at 0x4505680>
 238 func = <function <lambda> at 0x453ab90>, when = 'setup'
 239 
 240     def __init__(self, func, when):
 241         self.when = when
 242         try:
 243 >           self.result = func()
 244 
 245 /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/plugin/pytest_runner.py:105: 
 246 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
 247 
 248 >   return CallInfo(lambda: hook(item=item), when=when)
 249 
 250 /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/plugin/pytest_runner.py:98: 
 251 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
 252 
 253 self = <HookCall 'pytest_runtest_setup' mode=each <py.__._com.Registry instance at 0x24e14d0>>
 254 
 255     def __call__(self, *args, **kwargs):
 256         if args:
 257             raise TypeError("only keyword arguments allowed "
 258                             "for api call to %r" % self.name)
 259         attr = self.registry.listattr(self.name, extra=self.extralookup)
 260         mc = MultiCall(attr, **kwargs)
 261         # XXX this should be doable from a hook impl:
 262         if self.registry.logfile:
 263             self.registry.logfile.write("%s(**%s) # firstresult=%s\n" %
 264                 (self.name, kwargs, self.firstresult))
 265             self.registry.logfile.flush()
 266 >       return mc.execute(firstresult=self.firstresult)
 267 
 268 /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/_com.py:139: 
 269 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
 270 
 271 self = <py.__._com.MultiCall instance at 0x45057a0>, firstresult = False
 272 
 273     def execute(self, firstresult=False):
 274         while self.methods:
 275             currentmethod = self.methods.pop()
 276 >           res = self.execute_method(currentmethod)
 277 
 278 /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/_com.py:23: 
 279 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
 280 
 281 self = <py.__._com.MultiCall instance at 0x45057a0>
 282 currentmethod = <function pytest_runtest_setup at 0x2568410>
 283 
 284     def execute_method(self, currentmethod):
 285         self.currentmethod = currentmethod
 286         # provide call introspection if "__call__" is the first positional argument
 287         if hasattr(currentmethod, 'im_self'):
 288             varnames = currentmethod.im_func.func_code.co_varnames
 289             needscall = varnames[1:2] == ('__call__',)
 290         else:
 291             try:
 292                 varnames = currentmethod.func_code.co_varnames
 293             except AttributeError:
 294                 # builtin function
 295                 varnames = ()
 296             needscall = varnames[:1] == ('__call__',)
 297         if needscall:
 298             return currentmethod(self, *self.args, **self.kwargs)
 299         else:
 300             #try:
 301 >               return currentmethod(*self.args, **self.kwargs)
 302 
 303 /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/_com.py:53: 
 304 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
 305 
 306 item = <MoinTestFunction 'test_send_event'>
 307 
 308     def pytest_runtest_setup(item):
 309 >       item.config._setupstate.prepare(item)
 310 
 311 /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/plugin/pytest_runner.py:57: 
 312 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
 313 
 314 self = <py.__.test.plugin.pytest_runner.SetupState object at 0x2605710>
 315 colitem = <MoinTestFunction 'test_send_event'>
 316 
 317     def prepare(self, colitem):
 318         """ setup objects along the collector chain to the test-method
 319                 and teardown previously setup objects."""
 320         needed_collectors = colitem.listchain()
 321         while self.stack:
 322             if self.stack == needed_collectors[:len(self.stack)]:
 323                 break
 324             self._pop_and_teardown()
 325         for col in needed_collectors[len(self.stack):]:
 326 >           col.setup()
 327 
 328 /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/plugin/pytest_runner.py:287: 
 329 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
 330 
 331 self = <MoinTestFunction 'test_send_event'>
 332 
 333     def setup(self):
 334         super(Function, self).setup()
 335         if hasattr(self, 'funcargs'):
 336 >           funcargs.fillfuncargs(self)
 337 
 338 /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/pycollect.py:356: 
 339 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
 340 
 341 function = <MoinTestFunction 'test_send_event'>
 342 
 343     def fillfuncargs(function):
 344         """ fill missing funcargs. """
 345         request = FuncargRequest(pyfuncitem=function)
 346 >       request._fillfuncargs()
 347 
 348 /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/funcargs.py:14: 
 349 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
 350 
 351 self = <FuncargRequest for <MoinTestFunction 'test_send_event'>>
 352 
 353     def _fillfuncargs(self):
 354         argnames = getfuncargnames(self.function)
 355         if argnames:
 356             assert not getattr(self._pyfuncitem, '_args', None), "yielded functions cannot have funcargs"
 357         for argname in argnames:
 358             if argname not in self._pyfuncitem.funcargs:
 359 >               self._pyfuncitem.funcargs[argname] = self.getfuncargvalue(argname)
 360 
 361 /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/funcargs.py:103: 
 362 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
 363 
 364 self = <FuncargRequest for <MoinTestFunction 'test_send_event'>>
 365 argname = 'request'
 366 
 367     def getfuncargvalue(self, argname):
 368         try:
 369             return self._funcargs[argname]
 370         except KeyError:
 371             pass
 372         if argname not in self._provider:
 373             self._provider[argname] = self.config.pluginmanager.listattr(
 374                     plugins=self._plugins,
 375                     attrname=self._argprefix + str(argname)
 376             )
 377         #else: we are called recursively
 378         if not self._provider[argname]:
 379 >           self._raiselookupfailed(argname)
 380 
 381 /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/funcargs.py:140: 
 382 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
 383 
 384 self = <FuncargRequest for <MoinTestFunction 'test_send_event'>>
 385 argname = 'request'
 386 
 387     def _raiselookupfailed(self, argname):
 388         available = []
 389         for plugin in self._plugins:
 390             for name in vars(plugin):
 391                 if name.startswith(self._argprefix):
 392                     name = name[len(self._argprefix):]
 393                     if name not in available:
 394                         available.append(name)
 395         fspath, lineno, msg = self._pyfuncitem.reportinfo()
 396         line = "%s:%s" %(fspath, lineno)
 397         msg = "funcargument %r not found for: %s" %(argname, line)
 398         msg += "\n available funcargs: %s" %(", ".join(available),)
 399 >       raise self.Error(msg)
 400 E       Error: funcargument 'request' not found for: /home/user/workspace/moin-1.9/MoinMoin/events/_tests/test_events.py:21
 401 E        available funcargs: capsys, capfd, tmpdir, monkeypatch, recwarn
 402 
 403 /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/funcargs.py:177: Error
 404 __________________ ERROR at setup of test_subscribable_events __________________
 405 
 406 self = <py.__.test.plugin.pytest_runner.CallInfo instance at 0x44e8248>
 407 func = <function <lambda> at 0x453aa28>, when = 'setup'
 408 
 409     def __init__(self, func, when):
 410         self.when = when
 411         try:
 412 >           self.result = func()
 413 
 414 /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/plugin/pytest_runner.py:105: 
 415 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
 416 
 417 >   return CallInfo(lambda: hook(item=item), when=when)
 418 
 419 /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/plugin/pytest_runner.py:98: 
 420 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
 421 
 422 self = <HookCall 'pytest_runtest_setup' mode=each <py.__._com.Registry instance at 0x24e14d0>>
 423 
 424     def __call__(self, *args, **kwargs):
 425         if args:
 426             raise TypeError("only keyword arguments allowed "
 427                             "for api call to %r" % self.name)
 428         attr = self.registry.listattr(self.name, extra=self.extralookup)
 429         mc = MultiCall(attr, **kwargs)
 430         # XXX this should be doable from a hook impl:
 431         if self.registry.logfile:
 432             self.registry.logfile.write("%s(**%s) # firstresult=%s\n" %
 433                 (self.name, kwargs, self.firstresult))
 434             self.registry.logfile.flush()
 435 >       return mc.execute(firstresult=self.firstresult)
 436 
 437 /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/_com.py:139: 
 438 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
 439 
 440 self = <py.__._com.MultiCall instance at 0x44e83f8>, firstresult = False
 441 
 442     def execute(self, firstresult=False):
 443         while self.methods:
 444             currentmethod = self.methods.pop()
 445 >           res = self.execute_method(currentmethod)
 446 
 447 /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/_com.py:23: 
 448 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
 449 
 450 self = <py.__._com.MultiCall instance at 0x44e83f8>
 451 currentmethod = <function pytest_runtest_setup at 0x2568410>
 452 
 453     def execute_method(self, currentmethod):
 454         self.currentmethod = currentmethod
 455         # provide call introspection if "__call__" is the first positional argument
 456         if hasattr(currentmethod, 'im_self'):
 457             varnames = currentmethod.im_func.func_code.co_varnames
 458             needscall = varnames[1:2] == ('__call__',)
 459         else:
 460             try:
 461                 varnames = currentmethod.func_code.co_varnames
 462             except AttributeError:
 463                 # builtin function
 464                 varnames = ()
 465             needscall = varnames[:1] == ('__call__',)
 466         if needscall:
 467             return currentmethod(self, *self.args, **self.kwargs)
 468         else:
 469             #try:
 470 >               return currentmethod(*self.args, **self.kwargs)
 471 
 472 /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/_com.py:53: 
 473 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
 474 
 475 item = <MoinTestFunction 'test_subscribable_events'>
 476 
 477     def pytest_runtest_setup(item):
 478 >       item.config._setupstate.prepare(item)
 479 
 480 /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/plugin/pytest_runner.py:57: 
 481 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
 482 
 483 self = <py.__.test.plugin.pytest_runner.SetupState object at 0x2605710>
 484 colitem = <MoinTestFunction 'test_subscribable_events'>
 485 
 486     def prepare(self, colitem):
 487         """ setup objects along the collector chain to the test-method
 488                 and teardown previously setup objects."""
 489         needed_collectors = colitem.listchain()
 490         while self.stack:
 491             if self.stack == needed_collectors[:len(self.stack)]:
 492                 break
 493             self._pop_and_teardown()
 494         for col in needed_collectors[len(self.stack):]:
 495 >           col.setup()
 496 
 497 /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/plugin/pytest_runner.py:287: 
 498 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
 499 
 500 self = <MoinTestFunction 'test_subscribable_events'>
 501 
 502     def setup(self):
 503         super(Function, self).setup()
 504         if hasattr(self, 'funcargs'):
 505 >           funcargs.fillfuncargs(self)
 506 
 507 /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/pycollect.py:356: 
 508 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
 509 
 510 function = <MoinTestFunction 'test_subscribable_events'>
 511 
 512     def fillfuncargs(function):
 513         """ fill missing funcargs. """
 514         request = FuncargRequest(pyfuncitem=function)
 515 >       request._fillfuncargs()
 516 
 517 /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/funcargs.py:14: 
 518 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
 519 
 520 self = <FuncargRequest for <MoinTestFunction 'test_subscribable_events'>>
 521 
 522     def _fillfuncargs(self):
 523         argnames = getfuncargnames(self.function)
 524         if argnames:
 525             assert not getattr(self._pyfuncitem, '_args', None), "yielded functions cannot have funcargs"
 526         for argname in argnames:
 527             if argname not in self._pyfuncitem.funcargs:
 528 >               self._pyfuncitem.funcargs[argname] = self.getfuncargvalue(argname)
 529 
 530 /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/funcargs.py:103: 
 531 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
 532 
 533 self = <FuncargRequest for <MoinTestFunction 'test_subscribable_events'>>
 534 argname = 'request'
 535 
 536     def getfuncargvalue(self, argname):
 537         try:
 538             return self._funcargs[argname]
 539         except KeyError:
 540             pass
 541         if argname not in self._provider:
 542             self._provider[argname] = self.config.pluginmanager.listattr(
 543                     plugins=self._plugins,
 544                     attrname=self._argprefix + str(argname)
 545             )
 546         #else: we are called recursively
 547         if not self._provider[argname]:
 548 >           self._raiselookupfailed(argname)
 549 
 550 /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/funcargs.py:140: 
 551 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
 552 
 553 self = <FuncargRequest for <MoinTestFunction 'test_subscribable_events'>>
 554 argname = 'request'
 555 
 556     def _raiselookupfailed(self, argname):
 557         available = []
 558         for plugin in self._plugins:
 559             for name in vars(plugin):
 560                 if name.startswith(self._argprefix):
 561                     name = name[len(self._argprefix):]
 562                     if name not in available:
 563                         available.append(name)
 564         fspath, lineno, msg = self._pyfuncitem.reportinfo()
 565         line = "%s:%s" %(fspath, lineno)
 566         msg = "funcargument %r not found for: %s" %(argname, line)
 567         msg += "\n available funcargs: %s" %(", ".join(available),)
 568 >       raise self.Error(msg)
 569 E       Error: funcargument 'request' not found for: /home/user/workspace/moin-1.9/MoinMoin/events/_tests/test_events.py:37
 570 E        available funcargs: capsys, capfd, tmpdir, monkeypatch, recwarn
 571 
 572 /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/funcargs.py:177: Error
 573 __________________ ERROR at setup of test_page_change_message __________________
 574 
 575 self = <py.__.test.plugin.pytest_runner.CallInfo instance at 0x44e00e0>
 576 func = <function <lambda> at 0x454a320>, when = 'setup'
 577 
 578     def __init__(self, func, when):
 579         self.when = when
 580         try:
 581 >           self.result = func()
 582 
 583 /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/plugin/pytest_runner.py:105: 
 584 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
 585 
 586 >   return CallInfo(lambda: hook(item=item), when=when)
 587 
 588 /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/plugin/pytest_runner.py:98: 
 589 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
 590 
 591 self = <HookCall 'pytest_runtest_setup' mode=each <py.__._com.Registry instance at 0x24e14d0>>
 592 
 593     def __call__(self, *args, **kwargs):
 594         if args:
 595             raise TypeError("only keyword arguments allowed "
 596                             "for api call to %r" % self.name)
 597         attr = self.registry.listattr(self.name, extra=self.extralookup)
 598         mc = MultiCall(attr, **kwargs)
 599         # XXX this should be doable from a hook impl:
 600         if self.registry.logfile:
 601             self.registry.logfile.write("%s(**%s) # firstresult=%s\n" %
 602                 (self.name, kwargs, self.firstresult))
 603             self.registry.logfile.flush()
 604 >       return mc.execute(firstresult=self.firstresult)
 605 
 606 /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/_com.py:139: 
 607 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
 608 
 609 self = <py.__._com.MultiCall instance at 0x44e0320>, firstresult = False
 610 
 611     def execute(self, firstresult=False):
 612         while self.methods:
 613             currentmethod = self.methods.pop()
 614 >           res = self.execute_method(currentmethod)
 615 
 616 /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/_com.py:23: 
 617 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
 618 
 619 self = <py.__._com.MultiCall instance at 0x44e0320>
 620 currentmethod = <function pytest_runtest_setup at 0x2568410>
 621 
 622     def execute_method(self, currentmethod):
 623         self.currentmethod = currentmethod
 624         # provide call introspection if "__call__" is the first positional argument
 625         if hasattr(currentmethod, 'im_self'):
 626             varnames = currentmethod.im_func.func_code.co_varnames
 627             needscall = varnames[1:2] == ('__call__',)
 628         else:
 629             try:
 630                 varnames = currentmethod.func_code.co_varnames
 631             except AttributeError:
 632                 # builtin function
 633                 varnames = ()
 634             needscall = varnames[:1] == ('__call__',)
 635         if needscall:
 636             return currentmethod(self, *self.args, **self.kwargs)
 637         else:
 638             #try:
 639 >               return currentmethod(*self.args, **self.kwargs)
 640 
 641 /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/_com.py:53: 
 642 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
 643 
 644 item = <MoinTestFunction 'test_page_change_message'>
 645 
 646     def pytest_runtest_setup(item):
 647 >       item.config._setupstate.prepare(item)
 648 
 649 /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/plugin/pytest_runner.py:57: 
 650 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
 651 
 652 self = <py.__.test.plugin.pytest_runner.SetupState object at 0x2605710>
 653 colitem = <MoinTestFunction 'test_page_change_message'>
 654 
 655     def prepare(self, colitem):
 656         """ setup objects along the collector chain to the test-method
 657                 and teardown previously setup objects."""
 658         needed_collectors = colitem.listchain()
 659         while self.stack:
 660             if self.stack == needed_collectors[:len(self.stack)]:
 661                 break
 662             self._pop_and_teardown()
 663         for col in needed_collectors[len(self.stack):]:
 664 >           col.setup()
 665 
 666 /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/plugin/pytest_runner.py:287: 
 667 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
 668 
 669 self = <MoinTestFunction 'test_page_change_message'>
 670 
 671     def setup(self):
 672         super(Function, self).setup()
 673         if hasattr(self, 'funcargs'):
 674 >           funcargs.fillfuncargs(self)
 675 
 676 /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/pycollect.py:356: 
 677 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
 678 
 679 function = <MoinTestFunction 'test_page_change_message'>
 680 
 681     def fillfuncargs(function):
 682         """ fill missing funcargs. """
 683         request = FuncargRequest(pyfuncitem=function)
 684 >       request._fillfuncargs()
 685 
 686 /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/funcargs.py:14: 
 687 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
 688 
 689 self = <FuncargRequest for <MoinTestFunction 'test_page_change_message'>>
 690 
 691     def _fillfuncargs(self):
 692         argnames = getfuncargnames(self.function)
 693         if argnames:
 694             assert not getattr(self._pyfuncitem, '_args', None), "yielded functions cannot have funcargs"
 695         for argname in argnames:
 696             if argname not in self._pyfuncitem.funcargs:
 697 >               self._pyfuncitem.funcargs[argname] = self.getfuncargvalue(argname)
 698 
 699 /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/funcargs.py:103: 
 700 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
 701 
 702 self = <FuncargRequest for <MoinTestFunction 'test_page_change_message'>>
 703 argname = 'request'
 704 
 705     def getfuncargvalue(self, argname):
 706         try:
 707             return self._funcargs[argname]
 708         except KeyError:
 709             pass
 710         if argname not in self._provider:
 711             self._provider[argname] = self.config.pluginmanager.listattr(
 712                     plugins=self._plugins,
 713                     attrname=self._argprefix + str(argname)
 714             )
 715         #else: we are called recursively
 716         if not self._provider[argname]:
 717 >           self._raiselookupfailed(argname)
 718 
 719 /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/funcargs.py:140: 
 720 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
 721 
 722 self = <FuncargRequest for <MoinTestFunction 'test_page_change_message'>>
 723 argname = 'request'
 724 
 725     def _raiselookupfailed(self, argname):
 726         available = []
 727         for plugin in self._plugins:
 728             for name in vars(plugin):
 729                 if name.startswith(self._argprefix):
 730                     name = name[len(self._argprefix):]
 731                     if name not in available:
 732                         available.append(name)
 733         fspath, lineno, msg = self._pyfuncitem.reportinfo()
 734         line = "%s:%s" %(fspath, lineno)
 735         msg = "funcargument %r not found for: %s" %(argname, line)
 736         msg += "\n available funcargs: %s" %(", ".join(available),)
 737 >       raise self.Error(msg)
 738 E       Error: funcargument 'request' not found for: /home/user/workspace/moin-1.9/MoinMoin/events/_tests/test_events.py:43
 739 E        available funcargs: capsys, capfd, tmpdir, monkeypatch, recwarn
 740 
 741 /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/funcargs.py:177: Error
 742 __________________ ERROR at setup of test_user_created_event ___________________
 743 
 744 self = <py.__.test.plugin.pytest_runner.CallInfo instance at 0x4537cf8>
 745 func = <function <lambda> at 0x4436d70>, when = 'setup'
 746 
 747     def __init__(self, func, when):
 748         self.when = when
 749         try:
 750 >           self.result = func()
 751 
 752 /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/plugin/pytest_runner.py:105: 
 753 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
 754 
 755 >   return CallInfo(lambda: hook(item=item), when=when)
 756 
 757 /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/plugin/pytest_runner.py:98: 
 758 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
 759 
 760 self = <HookCall 'pytest_runtest_setup' mode=each <py.__._com.Registry instance at 0x24e14d0>>
 761 
 762     def __call__(self, *args, **kwargs):
 763         if args:
 764             raise TypeError("only keyword arguments allowed "
 765                             "for api call to %r" % self.name)
 766         attr = self.registry.listattr(self.name, extra=self.extralookup)
 767         mc = MultiCall(attr, **kwargs)
 768         # XXX this should be doable from a hook impl:
 769         if self.registry.logfile:
 770             self.registry.logfile.write("%s(**%s) # firstresult=%s\n" %
 771                 (self.name, kwargs, self.firstresult))
 772             self.registry.logfile.flush()
 773 >       return mc.execute(firstresult=self.firstresult)
 774 
 775 /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/_com.py:139: 
 776 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
 777 
 778 self = <py.__._com.MultiCall instance at 0x427c3b0>, firstresult = False
 779 
 780     def execute(self, firstresult=False):
 781         while self.methods:
 782             currentmethod = self.methods.pop()
 783 >           res = self.execute_method(currentmethod)
 784 
 785 /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/_com.py:23: 
 786 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
 787 
 788 self = <py.__._com.MultiCall instance at 0x427c3b0>
 789 currentmethod = <function pytest_runtest_setup at 0x2568410>
 790 
 791     def execute_method(self, currentmethod):
 792         self.currentmethod = currentmethod
 793         # provide call introspection if "__call__" is the first positional argument
 794         if hasattr(currentmethod, 'im_self'):
 795             varnames = currentmethod.im_func.func_code.co_varnames
 796             needscall = varnames[1:2] == ('__call__',)
 797         else:
 798             try:
 799                 varnames = currentmethod.func_code.co_varnames
 800             except AttributeError:
 801                 # builtin function
 802                 varnames = ()
 803             needscall = varnames[:1] == ('__call__',)
 804         if needscall:
 805             return currentmethod(self, *self.args, **self.kwargs)
 806         else:
 807             #try:
 808 >               return currentmethod(*self.args, **self.kwargs)
 809 
 810 /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/_com.py:53: 
 811 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
 812 
 813 item = <MoinTestFunction 'test_user_created_event'>
 814 
 815     def pytest_runtest_setup(item):
 816 >       item.config._setupstate.prepare(item)
 817 
 818 /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/plugin/pytest_runner.py:57: 
 819 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
 820 
 821 self = <py.__.test.plugin.pytest_runner.SetupState object at 0x2605710>
 822 colitem = <MoinTestFunction 'test_user_created_event'>
 823 
 824     def prepare(self, colitem):
 825         """ setup objects along the collector chain to the test-method
 826                 and teardown previously setup objects."""
 827         needed_collectors = colitem.listchain()
 828         while self.stack:
 829             if self.stack == needed_collectors[:len(self.stack)]:
 830                 break
 831             self._pop_and_teardown()
 832         for col in needed_collectors[len(self.stack):]:
 833 >           col.setup()
 834 
 835 /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/plugin/pytest_runner.py:287: 
 836 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
 837 
 838 self = <MoinTestFunction 'test_user_created_event'>
 839 
 840     def setup(self):
 841         super(Function, self).setup()
 842         if hasattr(self, 'funcargs'):
 843 >           funcargs.fillfuncargs(self)
 844 
 845 /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/pycollect.py:356: 
 846 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
 847 
 848 function = <MoinTestFunction 'test_user_created_event'>
 849 
 850     def fillfuncargs(function):
 851         """ fill missing funcargs. """
 852         request = FuncargRequest(pyfuncitem=function)
 853 >       request._fillfuncargs()
 854 
 855 /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/funcargs.py:14: 
 856 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
 857 
 858 self = <FuncargRequest for <MoinTestFunction 'test_user_created_event'>>
 859 
 860     def _fillfuncargs(self):
 861         argnames = getfuncargnames(self.function)
 862         if argnames:
 863             assert not getattr(self._pyfuncitem, '_args', None), "yielded functions cannot have funcargs"
 864         for argname in argnames:
 865             if argname not in self._pyfuncitem.funcargs:
 866 >               self._pyfuncitem.funcargs[argname] = self.getfuncargvalue(argname)
 867 
 868 /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/funcargs.py:103: 
 869 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
 870 
 871 self = <FuncargRequest for <MoinTestFunction 'test_user_created_event'>>
 872 argname = 'request'
 873 
 874     def getfuncargvalue(self, argname):
 875         try:
 876             return self._funcargs[argname]
 877         except KeyError:
 878             pass
 879         if argname not in self._provider:
 880             self._provider[argname] = self.config.pluginmanager.listattr(
 881                     plugins=self._plugins,
 882                     attrname=self._argprefix + str(argname)
 883             )
 884         #else: we are called recursively
 885         if not self._provider[argname]:
 886 >           self._raiselookupfailed(argname)
 887 
 888 /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/funcargs.py:140: 
 889 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
 890 
 891 self = <FuncargRequest for <MoinTestFunction 'test_user_created_event'>>
 892 argname = 'request'
 893 
 894     def _raiselookupfailed(self, argname):
 895         available = []
 896         for plugin in self._plugins:
 897             for name in vars(plugin):
 898                 if name.startswith(self._argprefix):
 899                     name = name[len(self._argprefix):]
 900                     if name not in available:
 901                         available.append(name)
 902         fspath, lineno, msg = self._pyfuncitem.reportinfo()
 903         line = "%s:%s" %(fspath, lineno)
 904         msg = "funcargument %r not found for: %s" %(argname, line)
 905         msg += "\n available funcargs: %s" %(", ".join(available),)
 906 >       raise self.Error(msg)
 907 E       Error: funcargument 'request' not found for: /home/user/workspace/moin-1.9/MoinMoin/events/_tests/test_events.py:50
 908 E        available funcargs: capsys, capfd, tmpdir, monkeypatch, recwarn
 909 
 910 /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/funcargs.py:177: Error
 911 ________________ ERROR at setup of test_filter_subscriber_list _________________
 912 
 913 self = <py.__.test.plugin.pytest_runner.CallInfo instance at 0x4129f80>
 914 func = <function <lambda> at 0x44feaa0>, when = 'setup'
 915 
 916     def __init__(self, func, when):
 917         self.when = when
 918         try:
 919 >           self.result = func()
 920 
 921 /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/plugin/pytest_runner.py:105: 
 922 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
 923 
 924 >   return CallInfo(lambda: hook(item=item), when=when)
 925 
 926 /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/plugin/pytest_runner.py:98: 
 927 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
 928 
 929 self = <HookCall 'pytest_runtest_setup' mode=each <py.__._com.Registry instance at 0x24e14d0>>
 930 
 931     def __call__(self, *args, **kwargs):
 932         if args:
 933             raise TypeError("only keyword arguments allowed "
 934                             "for api call to %r" % self.name)
 935         attr = self.registry.listattr(self.name, extra=self.extralookup)
 936         mc = MultiCall(attr, **kwargs)
 937         # XXX this should be doable from a hook impl:
 938         if self.registry.logfile:
 939             self.registry.logfile.write("%s(**%s) # firstresult=%s\n" %
 940                 (self.name, kwargs, self.firstresult))
 941             self.registry.logfile.flush()
 942 >       return mc.execute(firstresult=self.firstresult)
 943 
 944 /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/_com.py:139: 
 945 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
 946 
 947 self = <py.__._com.MultiCall instance at 0x4129c68>, firstresult = False
 948 
 949     def execute(self, firstresult=False):
 950         while self.methods:
 951             currentmethod = self.methods.pop()
 952 >           res = self.execute_method(currentmethod)
 953 
 954 /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/_com.py:23: 
 955 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
 956 
 957 self = <py.__._com.MultiCall instance at 0x4129c68>
 958 currentmethod = <function pytest_runtest_setup at 0x2568410>
 959 
 960     def execute_method(self, currentmethod):
 961         self.currentmethod = currentmethod
 962         # provide call introspection if "__call__" is the first positional argument
 963         if hasattr(currentmethod, 'im_self'):
 964             varnames = currentmethod.im_func.func_code.co_varnames
 965             needscall = varnames[1:2] == ('__call__',)
 966         else:
 967             try:
 968                 varnames = currentmethod.func_code.co_varnames
 969             except AttributeError:
 970                 # builtin function
 971                 varnames = ()
 972             needscall = varnames[:1] == ('__call__',)
 973         if needscall:
 974             return currentmethod(self, *self.args, **self.kwargs)
 975         else:
 976             #try:
 977 >               return currentmethod(*self.args, **self.kwargs)
 978 
 979 /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/_com.py:53: 
 980 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
 981 
 982 item = <MoinTestFunction 'test_filter_subscriber_list'>
 983 
 984     def pytest_runtest_setup(item):
 985 >       item.config._setupstate.prepare(item)
 986 
 987 /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/plugin/pytest_runner.py:57: 
 988 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
 989 
 990 self = <py.__.test.plugin.pytest_runner.SetupState object at 0x2605710>
 991 colitem = <MoinTestFunction 'test_filter_subscriber_list'>
 992 
 993     def prepare(self, colitem):
 994         """ setup objects along the collector chain to the test-method
 995                 and teardown previously setup objects."""
 996         needed_collectors = colitem.listchain()
 997         while self.stack:
 998             if self.stack == needed_collectors[:len(self.stack)]:
 999                 break
1000             self._pop_and_teardown()
1001         for col in needed_collectors[len(self.stack):]:
1002 >           col.setup()
1003 
1004 /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/plugin/pytest_runner.py:287: 
1005 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
1006 
1007 self = <MoinTestFunction 'test_filter_subscriber_list'>
1008 
1009     def setup(self):
1010         super(Function, self).setup()
1011         if hasattr(self, 'funcargs'):
1012 >           funcargs.fillfuncargs(self)
1013 
1014 /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/pycollect.py:356: 
1015 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
1016 
1017 function = <MoinTestFunction 'test_filter_subscriber_list'>
1018 
1019     def fillfuncargs(function):
1020         """ fill missing funcargs. """
1021         request = FuncargRequest(pyfuncitem=function)
1022 >       request._fillfuncargs()
1023 
1024 /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/funcargs.py:14: 
1025 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
1026 
1027 self = <FuncargRequest for <MoinTestFunction 'test_filter_subscriber_list'>>
1028 
1029     def _fillfuncargs(self):
1030         argnames = getfuncargnames(self.function)
1031         if argnames:
1032             assert not getattr(self._pyfuncitem, '_args', None), "yielded functions cannot have funcargs"
1033         for argname in argnames:
1034             if argname not in self._pyfuncitem.funcargs:
1035 >               self._pyfuncitem.funcargs[argname] = self.getfuncargvalue(argname)
1036 
1037 /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/funcargs.py:103: 
1038 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
1039 
1040 self = <FuncargRequest for <MoinTestFunction 'test_filter_subscriber_list'>>
1041 argname = 'request'
1042 
1043     def getfuncargvalue(self, argname):
1044         try:
1045             return self._funcargs[argname]
1046         except KeyError:
1047             pass
1048         if argname not in self._provider:
1049             self._provider[argname] = self.config.pluginmanager.listattr(
1050                     plugins=self._plugins,
1051                     attrname=self._argprefix + str(argname)
1052             )
1053         #else: we are called recursively
1054         if not self._provider[argname]:
1055 >           self._raiselookupfailed(argname)
1056 
1057 /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/funcargs.py:140: 
1058 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
1059 
1060 self = <FuncargRequest for <MoinTestFunction 'test_filter_subscriber_list'>>
1061 argname = 'request'
1062 
1063     def _raiselookupfailed(self, argname):
1064         available = []
1065         for plugin in self._plugins:
1066             for name in vars(plugin):
1067                 if name.startswith(self._argprefix):
1068                     name = name[len(self._argprefix):]
1069                     if name not in available:
1070                         available.append(name)
1071         fspath, lineno, msg = self._pyfuncitem.reportinfo()
1072         line = "%s:%s" %(fspath, lineno)
1073         msg = "funcargument %r not found for: %s" %(argname, line)
1074         msg += "\n available funcargs: %s" %(", ".join(available),)
1075 >       raise self.Error(msg)
1076 E       Error: funcargument 'request' not found for: /home/user/workspace/moin-1.9/MoinMoin/events/_tests/test_events.py:66
1077 E        available funcargs: capsys, capfd, tmpdir, monkeypatch, recwarn
1078 
1079 /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/funcargs.py:177: Error
1080 __________________ ERROR at setup of test_fault_serialization __________________
1081 
1082 self = <py.__.test.plugin.pytest_runner.CallInfo instance at 0x55d17e8>
1083 func = <function <lambda> at 0x7d64d70>, when = 'setup'
1084 
1085     def __init__(self, func, when):
1086         self.when = when
1087         try:
1088 >           self.result = func()
1089 
1090 /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/plugin/pytest_runner.py:105: 
1091 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
1092 
1093 >   return CallInfo(lambda: hook(item=item), when=when)
1094 
1095 /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/plugin/pytest_runner.py:98: 
1096 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
1097 
1098 self = <HookCall 'pytest_runtest_setup' mode=each <py.__._com.Registry instance at 0x24e14d0>>
1099 
1100     def __call__(self, *args, **kwargs):
1101         if args:
1102             raise TypeError("only keyword arguments allowed "
1103                             "for api call to %r" % self.name)
1104         attr = self.registry.listattr(self.name, extra=self.extralookup)
1105         mc = MultiCall(attr, **kwargs)
1106         # XXX this should be doable from a hook impl:
1107         if self.registry.logfile:
1108             self.registry.logfile.write("%s(**%s) # firstresult=%s\n" %
1109                 (self.name, kwargs, self.firstresult))
1110             self.registry.logfile.flush()
1111 >       return mc.execute(firstresult=self.firstresult)
1112 
1113 /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/_com.py:139: 
1114 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
1115 
1116 self = <py.__._com.MultiCall instance at 0x55d18c0>, firstresult = False
1117 
1118     def execute(self, firstresult=False):
1119         while self.methods:
1120             currentmethod = self.methods.pop()
1121 >           res = self.execute_method(currentmethod)
1122 
1123 /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/_com.py:23: 
1124 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
1125 
1126 self = <py.__._com.MultiCall instance at 0x55d18c0>
1127 currentmethod = <function pytest_runtest_setup at 0x2568410>
1128 
1129     def execute_method(self, currentmethod):
1130         self.currentmethod = currentmethod
1131         # provide call introspection if "__call__" is the first positional argument
1132         if hasattr(currentmethod, 'im_self'):
1133             varnames = currentmethod.im_func.func_code.co_varnames
1134             needscall = varnames[1:2] == ('__call__',)
1135         else:
1136             try:
1137                 varnames = currentmethod.func_code.co_varnames
1138             except AttributeError:
1139                 # builtin function
1140                 varnames = ()
1141             needscall = varnames[:1] == ('__call__',)
1142         if needscall:
1143             return currentmethod(self, *self.args, **self.kwargs)
1144         else:
1145             #try:
1146 >               return currentmethod(*self.args, **self.kwargs)
1147 
1148 /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/_com.py:53: 
1149 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
1150 
1151 item = <MoinTestFunction 'test_fault_serialization'>
1152 
1153     def pytest_runtest_setup(item):
1154 >       item.config._setupstate.prepare(item)
1155 
1156 /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/plugin/pytest_runner.py:57: 
1157 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
1158 
1159 self = <py.__.test.plugin.pytest_runner.SetupState object at 0x2605710>
1160 colitem = <MoinTestFunction 'test_fault_serialization'>
1161 
1162     def prepare(self, colitem):
1163         """ setup objects along the collector chain to the test-method
1164                 and teardown previously setup objects."""
1165         needed_collectors = colitem.listchain()
1166         while self.stack:
1167             if self.stack == needed_collectors[:len(self.stack)]:
1168                 break
1169             self._pop_and_teardown()
1170         for col in needed_collectors[len(self.stack):]:
1171 >           col.setup()
1172 
1173 /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/plugin/pytest_runner.py:287: 
1174 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
1175 
1176 self = <MoinTestFunction 'test_fault_serialization'>
1177 
1178     def setup(self):
1179         super(Function, self).setup()
1180         if hasattr(self, 'funcargs'):
1181 >           funcargs.fillfuncargs(self)
1182 
1183 /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/pycollect.py:356: 
1184 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
1185 
1186 function = <MoinTestFunction 'test_fault_serialization'>
1187 
1188     def fillfuncargs(function):
1189         """ fill missing funcargs. """
1190         request = FuncargRequest(pyfuncitem=function)
1191 >       request._fillfuncargs()
1192 
1193 /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/funcargs.py:14: 
1194 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
1195 
1196 self = <FuncargRequest for <MoinTestFunction 'test_fault_serialization'>>
1197 
1198     def _fillfuncargs(self):
1199         argnames = getfuncargnames(self.function)
1200         if argnames:
1201             assert not getattr(self._pyfuncitem, '_args', None), "yielded functions cannot have funcargs"
1202         for argname in argnames:
1203             if argname not in self._pyfuncitem.funcargs:
1204 >               self._pyfuncitem.funcargs[argname] = self.getfuncargvalue(argname)
1205 
1206 /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/funcargs.py:103: 
1207 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
1208 
1209 self = <FuncargRequest for <MoinTestFunction 'test_fault_serialization'>>
1210 argname = 'request'
1211 
1212     def getfuncargvalue(self, argname):
1213         try:
1214             return self._funcargs[argname]
1215         except KeyError:
1216             pass
1217         if argname not in self._provider:
1218             self._provider[argname] = self.config.pluginmanager.listattr(
1219                     plugins=self._plugins,
1220                     attrname=self._argprefix + str(argname)
1221             )
1222         #else: we are called recursively
1223         if not self._provider[argname]:
1224 >           self._raiselookupfailed(argname)
1225 
1226 /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/funcargs.py:140: 
1227 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
1228 
1229 self = <FuncargRequest for <MoinTestFunction 'test_fault_serialization'>>
1230 argname = 'request'
1231 
1232     def _raiselookupfailed(self, argname):
1233         available = []
1234         for plugin in self._plugins:
1235             for name in vars(plugin):
1236                 if name.startswith(self._argprefix):
1237                     name = name[len(self._argprefix):]
1238                     if name not in available:
1239                         available.append(name)
1240         fspath, lineno, msg = self._pyfuncitem.reportinfo()
1241         line = "%s:%s" %(fspath, lineno)
1242         msg = "funcargument %r not found for: %s" %(argname, line)
1243         msg += "\n available funcargs: %s" %(", ".join(available),)
1244 >       raise self.Error(msg)
1245 E       Error: funcargument 'request' not found for: /home/user/workspace/moin-1.9/MoinMoin/xmlrpc/_tests/test_xmlrpc.py:14
1246 E        available funcargs: capsys, capfd, tmpdir, monkeypatch, recwarn
1247 
1248 /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/funcargs.py:177: Error
1249 _____________________ ERROR at setup of test_getAuthToken ______________________
1250 
1251 self = <py.__.test.plugin.pytest_runner.CallInfo instance at 0x532c488>
1252 func = <function <lambda> at 0x7d818c0>, when = 'setup'
1253 
1254     def __init__(self, func, when):
1255         self.when = when
1256         try:
1257 >           self.result = func()
1258 
1259 /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/plugin/pytest_runner.py:105: 
1260 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
1261 
1262 >   return CallInfo(lambda: hook(item=item), when=when)
1263 
1264 /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/plugin/pytest_runner.py:98: 
1265 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
1266 
1267 self = <HookCall 'pytest_runtest_setup' mode=each <py.__._com.Registry instance at 0x24e14d0>>
1268 
1269     def __call__(self, *args, **kwargs):
1270         if args:
1271             raise TypeError("only keyword arguments allowed "
1272                             "for api call to %r" % self.name)
1273         attr = self.registry.listattr(self.name, extra=self.extralookup)
1274         mc = MultiCall(attr, **kwargs)
1275         # XXX this should be doable from a hook impl:
1276         if self.registry.logfile:
1277             self.registry.logfile.write("%s(**%s) # firstresult=%s\n" %
1278                 (self.name, kwargs, self.firstresult))
1279             self.registry.logfile.flush()
1280 >       return mc.execute(firstresult=self.firstresult)
1281 
1282 /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/_com.py:139: 
1283 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
1284 
1285 self = <py.__._com.MultiCall instance at 0x532ca28>, firstresult = False
1286 
1287     def execute(self, firstresult=False):
1288         while self.methods:
1289             currentmethod = self.methods.pop()
1290 >           res = self.execute_method(currentmethod)
1291 
1292 /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/_com.py:23: 
1293 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
1294 
1295 self = <py.__._com.MultiCall instance at 0x532ca28>
1296 currentmethod = <function pytest_runtest_setup at 0x2568410>
1297 
1298     def execute_method(self, currentmethod):
1299         self.currentmethod = currentmethod
1300         # provide call introspection if "__call__" is the first positional argument
1301         if hasattr(currentmethod, 'im_self'):
1302             varnames = currentmethod.im_func.func_code.co_varnames
1303             needscall = varnames[1:2] == ('__call__',)
1304         else:
1305             try:
1306                 varnames = currentmethod.func_code.co_varnames
1307             except AttributeError:
1308                 # builtin function
1309                 varnames = ()
1310             needscall = varnames[:1] == ('__call__',)
1311         if needscall:
1312             return currentmethod(self, *self.args, **self.kwargs)
1313         else:
1314             #try:
1315 >               return currentmethod(*self.args, **self.kwargs)
1316 
1317 /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/_com.py:53: 
1318 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
1319 
1320 item = <MoinTestFunction 'test_getAuthToken'>
1321 
1322     def pytest_runtest_setup(item):
1323 >       item.config._setupstate.prepare(item)
1324 
1325 /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/plugin/pytest_runner.py:57: 
1326 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
1327 
1328 self = <py.__.test.plugin.pytest_runner.SetupState object at 0x2605710>
1329 colitem = <MoinTestFunction 'test_getAuthToken'>
1330 
1331     def prepare(self, colitem):
1332         """ setup objects along the collector chain to the test-method
1333                 and teardown previously setup objects."""
1334         needed_collectors = colitem.listchain()
1335         while self.stack:
1336             if self.stack == needed_collectors[:len(self.stack)]:
1337                 break
1338             self._pop_and_teardown()
1339         for col in needed_collectors[len(self.stack):]:
1340 >           col.setup()
1341 
1342 /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/plugin/pytest_runner.py:287: 
1343 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
1344 
1345 self = <MoinTestFunction 'test_getAuthToken'>
1346 
1347     def setup(self):
1348         super(Function, self).setup()
1349         if hasattr(self, 'funcargs'):
1350 >           funcargs.fillfuncargs(self)
1351 
1352 /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/pycollect.py:356: 
1353 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
1354 
1355 function = <MoinTestFunction 'test_getAuthToken'>
1356 
1357     def fillfuncargs(function):
1358         """ fill missing funcargs. """
1359         request = FuncargRequest(pyfuncitem=function)
1360 >       request._fillfuncargs()
1361 
1362 /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/funcargs.py:14: 
1363 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
1364 
1365 self = <FuncargRequest for <MoinTestFunction 'test_getAuthToken'>>
1366 
1367     def _fillfuncargs(self):
1368         argnames = getfuncargnames(self.function)
1369         if argnames:
1370             assert not getattr(self._pyfuncitem, '_args', None), "yielded functions cannot have funcargs"
1371         for argname in argnames:
1372             if argname not in self._pyfuncitem.funcargs:
1373 >               self._pyfuncitem.funcargs[argname] = self.getfuncargvalue(argname)
1374 
1375 /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/funcargs.py:103: 
1376 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
1377 
1378 self = <FuncargRequest for <MoinTestFunction 'test_getAuthToken'>>
1379 argname = 'request'
1380 
1381     def getfuncargvalue(self, argname):
1382         try:
1383             return self._funcargs[argname]
1384         except KeyError:
1385             pass
1386         if argname not in self._provider:
1387             self._provider[argname] = self.config.pluginmanager.listattr(
1388                     plugins=self._plugins,
1389                     attrname=self._argprefix + str(argname)
1390             )
1391         #else: we are called recursively
1392         if not self._provider[argname]:
1393 >           self._raiselookupfailed(argname)
1394 
1395 /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/funcargs.py:140: 
1396 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
1397 
1398 self = <FuncargRequest for <MoinTestFunction 'test_getAuthToken'>>
1399 argname = 'request'
1400 
1401     def _raiselookupfailed(self, argname):
1402         available = []
1403         for plugin in self._plugins:
1404             for name in vars(plugin):
1405                 if name.startswith(self._argprefix):
1406                     name = name[len(self._argprefix):]
1407                     if name not in available:
1408                         available.append(name)
1409         fspath, lineno, msg = self._pyfuncitem.reportinfo()
1410         line = "%s:%s" %(fspath, lineno)
1411         msg = "funcargument %r not found for: %s" %(argname, line)
1412         msg += "\n available funcargs: %s" %(", ".join(available),)
1413 >       raise self.Error(msg)
1414 E       Error: funcargument 'request' not found for: /home/user/workspace/moin-1.9/MoinMoin/xmlrpc/_tests/test_xmlrpc.py:32
1415 E        available funcargs: capsys, capfd, tmpdir, monkeypatch, recwarn
1416 
1417 /usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/funcargs.py:177: Error
1418 =================================== FAILURES ===================================
1419 _______________________ TestAction.testActionCallingRaw ________________________
1420 
1421 self = <test_Action.TestAction instance at 0x427d7e8>
1422 
1423     def testActionCallingRaw(self):
1424         """ module_tested: executes raw by macro Action on existing page"""
1425         request = self.request
1426         become_trusted(request)
1427         self.page = create_page(request, self.pagename, u'= title1 =\n||A||B||\n')
1428         m = make_macro(self.request, self.page)
1429         result = Action.macro_Action(m, 'raw')
1430         nuke_page(request, self.pagename)
1431         expected = '<a href="/AutoCreatedMoinMoinTemporaryTestPageForAction?action=raw">raw</a>'
1432 >       assert result == expected
1433 E       assert u'<a class="TextAction" href="/AutoCreatedMoinMoinTemporaryTestPageForAction?action=raw">raw</a>' == '<a href="/AutoCreatedMoinMoinTemporaryTestPageForAction?action=raw">raw</a>'
1434 
1435 MoinMoin/macro/_tests/test_Action.py:30: AssertionError
1436 ========= 1 failed, 824 passed, 70 skipped, 8 error in 202.44 seconds ==========

Attached Files

To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.
  • [get | view] (2008-06-28 12:08:22, 8.1 KB) [[attachment:ArnicaTestSeite.htm]]
  • [get | view] (2008-05-09 17:05:26, 1.3 KB) [[attachment:AttachFile_config_patch.patch]]
  • [get | view] (2010-11-28 20:20:00, 237.6 KB) [[attachment:Bildschirmfoto.png]]
  • [get | view] (2010-03-15 23:32:08, 1.4 KB) [[attachment:DictColumns.zip]]
  • [get | view] (2012-02-05 12:57:40, 1812.4 KB) [[attachment:HelpOnArnica.zip]]
  • [get | view] (2008-07-17 19:33:36, 3264.0 KB) [[attachment:MoinMoins_GHOP_Grand_Prize_Winner.mpg]]
  • [get | view] (2009-06-22 22:46:07, 490.1 KB) [[attachment:New_street_station_to_Conservatoire_to_premier_inn.png]]
  • [get | view] (2009-06-22 22:59:17, 70.6 KB) [[attachment:New_street_station_to_Conservatoire_to_premier_inn_weg.png]]
  • [get | view] (2009-09-04 11:37:10, 3.4 KB) [[attachment:SlideShow.patch]]
  • [get | view] (2010-02-02 18:27:19, 293.8 KB) [[attachment:Solenoid_svg_edit.png]]
  • [get | view] (2009-04-13 17:51:57, 22.8 KB) [[attachment:SystemPages.png]]
  • [get | view] (2009-04-13 18:58:14, 1.4 KB) [[attachment:SystemPages.py]]
  • [get | view] (2008-10-19 04:19:34, 252.4 KB) [[attachment:TheSheep1.png]]
  • [get | view] (2008-07-28 08:12:08, 685.8 KB) [[attachment:UnderConstruction.zip]]
  • [get | view] (2008-06-28 18:54:51, 7.9 KB) [[attachment:UnifyParsersAndMacros.zip]]
  • [get | view] (2007-06-07 16:02:03, 0.3 KB) [[attachment:abc.png]]
  • [get | view] (2009-09-06 11:39:34, 10.0 KB) [[attachment:abc235.adraw]]
  • [get | view] (2008-12-22 09:09:36, 1.1 KB) [[attachment:advanced_s.patch]]
  • [get | view] (2008-09-15 07:51:42, 2.0 KB) [[attachment:align1.png]]
  • [get | view] (2008-06-24 01:17:08, 255.3 KB) [[attachment:arnica_example1.png]]
  • [get | view] (2008-06-22 19:38:31, 128.2 KB) [[attachment:arnica_example2.png]]
  • [get | view] (2008-06-22 19:38:47, 83.4 KB) [[attachment:arnica_example3.png]]
  • [get | view] (2008-06-28 12:14:10, 38.9 KB) [[attachment:arnica_example5.png]]
  • [get | view] (2009-08-31 22:33:27, 22.3 KB) [[attachment:attachfile.patch]]
  • [get | view] (2009-08-31 22:36:36, 96.8 KB) [[attachment:attachfile.png]]
  • [get | view] (2009-09-04 11:39:45, 11.7 KB) [[attachment:background_1024x768.png]]
  • [get | view] (2009-10-05 10:49:10, 7.2 KB) [[attachment:c.png]]
  • [get | view] (2010-12-15 19:05:12, 5.7 KB) [[attachment:collapsed.png]]
  • [get | view] (2010-12-15 19:11:15, 20.1 KB) [[attachment:collapsed1.png]]
  • [get | view] (2010-12-16 08:10:18, 20.2 KB) [[attachment:collapsed2.png]]
  • [get | view] (2009-08-08 10:43:37, 48.2 KB) [[attachment:coverage_2.0.txt]]
  • [get | view] (2008-05-17 11:49:27, 1.9 KB) [[attachment:dicts_change.patch]]
  • [get | view] (2010-01-10 13:11:22, 14.3 KB) [[attachment:editmoin]]
  • [get | view] (2008-11-09 19:21:14, 6.0 KB) [[attachment:example.svg]]
  • [get | view] (2009-05-12 17:17:50, 33.5 KB) [[attachment:example_swf.png]]
  • [get | view] (2008-01-15 14:29:43, 243.9 KB) [[attachment:firefox_pdf.png]]
  • [get | view] (2009-10-11 14:11:41, 61.2 KB) [[attachment:kscan_0004.png]]
  • [get | view] (2008-12-30 17:50:02, 5.1 KB) [[attachment:latex2wiki.py]]
  • [get | view] (2008-03-21 17:04:38, 1.0 KB) [[attachment:maketestwiki.patch]]
  • [get | view] (2007-02-24 11:18:51, 1.4 KB) [[attachment:minipage.py]]
  • [get | view] (2009-08-08 16:16:13, 20.1 KB) [[attachment:moin-1.9-xapian-dmilajevs.txt]]
  • [get | view] (2009-08-08 22:55:55, 60.7 KB) [[attachment:moin-1.9.txt]]
  • [get | view] (2009-08-09 22:33:56, 29.2 KB) [[attachment:moin-2.0-storage.txt]]
  • [get | view] (2008-09-26 12:49:52, 684.7 KB) [[attachment:moinapi_beispiele.zip]]
  • [get | view] (2012-02-21 21:10:00, 37.7 KB) [[attachment:moinmoin_rb.png]]
  • [get | view] (2008-05-18 10:03:02, 3.8 KB) [[attachment:my_search.py]]
  • [get | view] (2009-09-07 13:00:22, 11.9 KB) [[attachment:navibar.png]]
  • [get | view] (2009-02-03 19:36:33, 4.2 KB) [[attachment:nbsp.jpg]]
  • [get | view] (2010-10-20 17:07:23, 318.5 KB) [[attachment:night_at_N1.jpg]]
  • [get | view] (2009-08-07 07:28:05, 736.1 KB) [[attachment:output.txt]]
  • [get | view] (2010-03-09 23:12:49, 0.6 KB) [[attachment:planning.zip]]
  • [get | view] (2010-08-14 09:50:12, 556.6 KB) [[attachment:preliminary_minefield.txt]]
  • [get | view] (2010-12-16 08:41:41, 66.8 KB) [[attachment:quicklinks1.png]]
  • [get | view] (2010-12-16 08:41:58, 117.3 KB) [[attachment:quicklinks2.png]]
  • [get | view] (2010-12-18 21:21:00, 13.1 KB) [[attachment:quicklinks3.png]]
  • [get | view] (2009-08-11 22:38:30, 221.4 KB) [[attachment:search.txt]]
  • [get | view] (2008-05-18 09:46:53, 1.6 KB) [[attachment:slapd.conf]]
  • [get | view] (2010-12-02 16:34:36, 123.0 KB) [[attachment:sunset.png]]
  • [get | view] (2009-09-23 15:12:58, 111.7 KB) [[attachment:svg-edit_ie8_chromeframe.png]]
  • [get | view] (2009-08-23 22:38:40, 43.4 KB) [[attachment:svg-editor_current_css.png]]
  • [get | view] (2009-04-14 21:22:58, 1.8 KB) [[attachment:test_strings.py]]
  • [get | view] (2009-01-06 00:11:59, 1.7 KB) [[attachment:text_gedit.patch]]
  • [get | view] (2009-07-12 10:51:27, 528.3 KB) [[attachment:the_end.jpg]]
  • [get | view] (2010-12-21 20:24:32, 22.3 KB) [[attachment:toctest1.png]]
  • [get | view] (2010-12-01 07:37:26, 186.8 KB) [[attachment:transcluded_video.png]]
  • [get | view] (2010-12-01 07:29:11, 264.0 KB) [[attachment:urlproblem.png]]
  • [get | view] (2010-11-28 23:56:54, 57.2 KB) [[attachment:wanted.png]]
  • [get | view] (2008-05-18 09:45:08, 3.4 KB) [[attachment:wikiconfig_snippet.txt]]
  • [get | view] (2009-08-09 18:00:32, 3.6 KB) [[attachment:xapian.txt]]
 All files | Selected Files: delete move to page copy to page

You are not allowed to attach a file to this page.