Attachment 'preliminary_minefield.txt'

Download

   1 ============================= test session starts ==============================
   2 platform linux2 -- Python 2.6.4 -- pytest-1.3.1
   3 test object 1: /home/ree/workspace/moin-2.0-dev
   4 
   5 MoinMoin/_tests/test_Page.py S
   6 MoinMoin/_tests/test_caching.py .....F.
   7 MoinMoin/_tests/test_error.py ....
   8 MoinMoin/_tests/test_sourcecode.py ................................................................................
   9 MoinMoin/_tests/test_test_environ.py FFFF
  10 MoinMoin/_tests/test_user.py ..EEEEEEEEEEEEEEEE....
  11 MoinMoin/_tests/test_wikiutil.py ..F...FF....................................................................................................................FFFFFFFF..FFFFF....................................
  12 MoinMoin/auth/_tests/test_auth.py E
  13 MoinMoin/auth/_tests/test_ldap_login.py .FF.F
  14 MoinMoin/config/_tests/test_configs.py .
  15 MoinMoin/config/_tests/test_multiconfig.py F
  16 MoinMoin/converter2/_tests/test__args.py .......
  17 MoinMoin/converter2/_tests/test__args_wiki.py ....
  18 MoinMoin/converter2/_tests/test__wiki_macro.py ............................
  19 MoinMoin/converter2/_tests/test_creole_in.py .........FF.....................................................................
  20 MoinMoin/converter2/_tests/test_docbook_in.py .......................................................................
  21 MoinMoin/converter2/_tests/test_docbook_out.py ................................
  22 MoinMoin/converter2/_tests/test_html_in.py .................................................
  23 MoinMoin/converter2/_tests/test_html_in_out.py ..............................................
  24 MoinMoin/converter2/_tests/test_html_out.py ..................................................FF
  25 MoinMoin/converter2/_tests/test_include.py .
  26 MoinMoin/converter2/_tests/test_link.py .....FFFFFF
  27 MoinMoin/converter2/_tests/test_mediawiki_in.py ..........F....F..F........
  28 MoinMoin/converter2/_tests/test_moinwiki19_in.py ..F.......ss.....................................................................
  29 MoinMoin/converter2/_tests/test_moinwiki_in.py ......ss.....................................................................
  30 MoinMoin/converter2/_tests/test_moinwiki_in_out.py ..F..........F..F......FFFFF.F..FF.FFFF.F...F..FFFFF
  31 MoinMoin/converter2/_tests/test_moinwiki_out.py .................................................F
  32 MoinMoin/converter2/_tests/test_rst_in.py .................................
  33 MoinMoin/converter2/_tests/test_rst_out.py ...........................................
  34 MoinMoin/converter2/_tests/test_smiley.py .........
  35 MoinMoin/datastruct/backends/_tests/test_composite_dicts.py FFFF
  36 MoinMoin/datastruct/backends/_tests/test_composite_groups.py FFFFFFFFFEEEE
  37 MoinMoin/datastruct/backends/_tests/test_config_dicts.py FFFF
  38 MoinMoin/datastruct/backends/_tests/test_config_groups.py FFFFFFFFF
  39 MoinMoin/datastruct/backends/_tests/test_lazy_config_groups.py FFFFFFFF.FFFFFFFFF
  40 MoinMoin/datastruct/backends/_tests/test_wiki_dicts.py EEEE
  41 MoinMoin/datastruct/backends/_tests/test_wiki_groups.py S
  42 MoinMoin/events/_tests/test_events.py S
  43 MoinMoin/filter/_tests/test_filter.py ....
  44 MoinMoin/formatter/_tests/test_groups.py S
  45 MoinMoin/items/_tests/test_Item.py FFFFFF
  46 MoinMoin/macro2/_tests/test__base.py S
  47 MoinMoin/mail/_tests/test_sendmail.py .........
  48 MoinMoin/search/_tests/test_search.py S
  49 MoinMoin/search/_tests/test_terms.py ..........................................................................................................................................................................................
  50 MoinMoin/search/_tests/test_wiki_analyzer.py S
  51 MoinMoin/security/_tests/test_security.py .................EEEE
  52 MoinMoin/storage/_tests/test_backends_flatfile.py S
  53 MoinMoin/storage/_tests/test_backends_fs19.py .................
  54 MoinMoin/storage/_tests/test_backends_sqla.py ..........
  55 MoinMoin/storage/_tests/test_middleware_acl.py E
  56 MoinMoin/storage/_tests/test_serialization.py FFF..
  57 MoinMoin/support/pytz/tests/test_docs.py E
  58 MoinMoin/support/pytz/tests/test_tzinfo.py ..................................................................................................................................................................
  59 MoinMoin/theme/_tests/test_editbar_actions.py EEEE
  60 MoinMoin/theme/_tests/test_navi_bar.py EEEEEEE
  61 MoinMoin/util/_tests/test_diff3.py .
  62 MoinMoin/util/_tests/test_diff_text.py .
  63 MoinMoin/util/_tests/test_filesys.py ....s......
  64 MoinMoin/util/_tests/test_iri.py ..................
  65 MoinMoin/util/_tests/test_lock.py ..........
  66 MoinMoin/util/_tests/test_mime.py .....
  67 MoinMoin/util/_tests/test_pysupport.py ...ss
  68 MoinMoin/util/_tests/test_registry.py ..
  69 MoinMoin/util/_tests/test_tree.py ....
  70 MoinMoin/util/_tests/test_util.py ..
  71 MoinMoin/util/_tests/test_web.py ......
  72 MoinMoin/web/_tests/test_utils.py .ss
  73 MoinMoin/widget/_tests/test_DataBrowserWidget.py EEEEEEE
  74 MoinMoin/widget/_tests/test_html.py ...
  75 
  76 ==================================== ERRORS ====================================
  77 __________ ERROR at setup of TestLoginWithPassword.testAsciiPassword ___________
  78 
  79 self = <MoinMoin._tests.test_user.TestLoginWithPassword object at 0x3c00250>
  80 method = <bound method TestLoginWithPassword.testAsciiPassword of <MoinMoin._tests.test_user.TestLoginWithPassword object at 0x3c00250>>
  81 
  82     def setup_method(self, method):
  83         # Save original user and cookie
  84         self.saved_cookie = self.request.cookies
  85 >       self.saved_user = self.request.user
  86 E       AttributeError: 'TestRequest' object has no attribute 'user'
  87 
  88 MoinMoin/_tests/test_user.py:41: AttributeError
  89 ------------------------------- Captured stderr --------------------------------
  90 2010-08-14 11:47:43,919 DEBUG MoinMoin:199 moin does not support any language client accepts
  91 2010-08-14 11:47:43,919 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
  92 2010-08-14 11:47:43,920 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
  93 2010-08-14 11:47:43,920 DEBUG MoinMoin.web.session:303 get_session for sid None
  94 2010-08-14 11:47:43,920 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession dce7f83af2e2022b105cdd5c967d652001bfc382 {}>
  95 2010-08-14 11:47:43,930 DEBUG MoinMoin.auth:481 session started for user None
  96 2010-08-14 11:47:43,931 DEBUG MoinMoin.auth:466 setup_suid returns None, None
  97 2010-08-14 11:47:43,931 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
  98 2010-08-14 11:47:43,942 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x421e488 name:'' valid:0>, setuid = None
  99 2010-08-14 11:47:43,943 DEBUG MoinMoin:199 moin does not support any language client accepts
 100 2010-08-14 11:47:43,943 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
 101 2010-08-14 11:47:43,943 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
 102 2010-08-14 11:47:43,944 DEBUG MoinMoin.web.session:303 get_session for sid None
 103 2010-08-14 11:47:43,944 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession ce522aae2b02296ea19626b8435182b600ea123f {}>
 104 2010-08-14 11:47:43,954 DEBUG MoinMoin.auth:481 session started for user None
 105 2010-08-14 11:47:43,954 DEBUG MoinMoin.auth:466 setup_suid returns None, None
 106 2010-08-14 11:47:43,955 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
 107 2010-08-14 11:47:43,966 DEBUG MoinMoin:199 moin does not support any language client accepts
 108 2010-08-14 11:47:43,966 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
 109 2010-08-14 11:47:43,966 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
 110 2010-08-14 11:47:43,966 DEBUG MoinMoin.web.session:303 get_session for sid None
 111 2010-08-14 11:47:43,967 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession ebcf9829546991668cb82439ffe7abdb930ff225 {}>
 112 2010-08-14 11:47:43,977 DEBUG MoinMoin.auth:481 session started for user None
 113 2010-08-14 11:47:43,977 DEBUG MoinMoin.auth:466 setup_suid returns None, None
 114 2010-08-14 11:47:43,977 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
 115 2010-08-14 11:47:43,994 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x39323f8 name:'' valid:0>, setuid = None
 116 2010-08-14 11:47:43,995 DEBUG MoinMoin:199 moin does not support any language client accepts
 117 2010-08-14 11:47:43,995 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
 118 2010-08-14 11:47:43,995 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
 119 2010-08-14 11:47:43,996 DEBUG MoinMoin.web.session:303 get_session for sid None
 120 2010-08-14 11:47:43,996 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 437de738a1aba1d9de66cee71d9589f1b6e80451 {}>
 121 2010-08-14 11:47:44,006 DEBUG MoinMoin.auth:481 session started for user None
 122 2010-08-14 11:47:44,006 DEBUG MoinMoin.auth:466 setup_suid returns None, None
 123 2010-08-14 11:47:44,006 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
 124 _________ ERROR at teardown of TestLoginWithPassword.testAsciiPassword _________
 125 
 126 self = <MoinMoin._tests.test_user.TestLoginWithPassword object at 0x3c00250>
 127 method = <bound method TestLoginWithPassword.testAsciiPassword of <MoinMoin._tests.test_user.TestLoginWithPassword object at 0x3c00250>>
 128 
 129     def teardown_method(self, method):
 130         """ Run after each test
 131     
 132             Remove user and reset user listing cache.
 133             """
 134         # Remove user file and user
 135 >       if self.user is not None:
 136 E       AttributeError: 'TestLoginWithPassword' object has no attribute 'user'
 137 
 138 MoinMoin/_tests/test_user.py:55: AttributeError
 139 _________ ERROR at setup of TestLoginWithPassword.testUnicodePassword __________
 140 
 141 self = <MoinMoin._tests.test_user.TestLoginWithPassword object at 0x4222110>
 142 method = <bound method TestLoginWithPassword.testUnicodePassword of <MoinMoin._tests.test_user.TestLoginWithPassword object at 0x4222110>>
 143 
 144     def setup_method(self, method):
 145         # Save original user and cookie
 146         self.saved_cookie = self.request.cookies
 147 >       self.saved_user = self.request.user
 148 E       AttributeError: 'TestRequest' object has no attribute 'user'
 149 
 150 MoinMoin/_tests/test_user.py:41: AttributeError
 151 ------------------------------- Captured stderr --------------------------------
 152 2010-08-14 11:47:44,032 DEBUG MoinMoin:199 moin does not support any language client accepts
 153 2010-08-14 11:47:44,032 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
 154 2010-08-14 11:47:44,032 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
 155 2010-08-14 11:47:44,032 DEBUG MoinMoin.web.session:303 get_session for sid None
 156 2010-08-14 11:47:44,033 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 4da5cd971b5ffcf5ad3b51c87c74ace5de86b1f7 {}>
 157 2010-08-14 11:47:44,043 DEBUG MoinMoin.auth:481 session started for user None
 158 2010-08-14 11:47:44,043 DEBUG MoinMoin.auth:466 setup_suid returns None, None
 159 2010-08-14 11:47:44,044 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
 160 2010-08-14 11:47:44,054 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x3092638 name:'' valid:0>, setuid = None
 161 2010-08-14 11:47:44,055 DEBUG MoinMoin:199 moin does not support any language client accepts
 162 2010-08-14 11:47:44,056 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
 163 2010-08-14 11:47:44,056 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
 164 2010-08-14 11:47:44,056 DEBUG MoinMoin.web.session:303 get_session for sid None
 165 2010-08-14 11:47:44,057 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 14065fd69b24c007035445f9cf74f7fe7f4cc8b1 {}>
 166 2010-08-14 11:47:44,067 DEBUG MoinMoin.auth:481 session started for user None
 167 2010-08-14 11:47:44,067 DEBUG MoinMoin.auth:466 setup_suid returns None, None
 168 2010-08-14 11:47:44,068 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
 169 ________ ERROR at teardown of TestLoginWithPassword.testUnicodePassword ________
 170 
 171 self = <MoinMoin._tests.test_user.TestLoginWithPassword object at 0x4222110>
 172 method = <bound method TestLoginWithPassword.testUnicodePassword of <MoinMoin._tests.test_user.TestLoginWithPassword object at 0x4222110>>
 173 
 174     def teardown_method(self, method):
 175         """ Run after each test
 176     
 177             Remove user and reset user listing cache.
 178             """
 179         # Remove user file and user
 180 >       if self.user is not None:
 181 E       AttributeError: 'TestLoginWithPassword' object has no attribute 'user'
 182 
 183 MoinMoin/_tests/test_user.py:55: AttributeError
 184 ____ ERROR at setup of TestLoginWithPassword.testSubscriptionSubscribedPage ____
 185 
 186 self = <MoinMoin._tests.test_user.TestLoginWithPassword object at 0x307fa90>
 187 method = <bound method TestLoginWithPassword.testSubscriptionSubscribedPage of <MoinMoin._tests.test_user.TestLoginWithPassword object at 0x307fa90>>
 188 
 189     def setup_method(self, method):
 190         # Save original user and cookie
 191         self.saved_cookie = self.request.cookies
 192 >       self.saved_user = self.request.user
 193 E       AttributeError: 'TestRequest' object has no attribute 'user'
 194 
 195 MoinMoin/_tests/test_user.py:41: AttributeError
 196 ------------------------------- Captured stderr --------------------------------
 197 2010-08-14 11:47:44,091 DEBUG MoinMoin:199 moin does not support any language client accepts
 198 2010-08-14 11:47:44,092 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
 199 2010-08-14 11:47:44,092 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
 200 2010-08-14 11:47:44,092 DEBUG MoinMoin.web.session:303 get_session for sid None
 201 2010-08-14 11:47:44,093 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession b63a9532c24cc3e86284def378dcb0dfa1f8eee4 {}>
 202 2010-08-14 11:47:44,109 DEBUG MoinMoin.auth:481 session started for user None
 203 2010-08-14 11:47:44,109 DEBUG MoinMoin.auth:466 setup_suid returns None, None
 204 2010-08-14 11:47:44,110 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
 205 2010-08-14 11:47:44,121 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x3d29488 name:'' valid:0>, setuid = None
 206 2010-08-14 11:47:44,122 DEBUG MoinMoin:199 moin does not support any language client accepts
 207 2010-08-14 11:47:44,123 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
 208 2010-08-14 11:47:44,123 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
 209 2010-08-14 11:47:44,123 DEBUG MoinMoin.web.session:303 get_session for sid None
 210 2010-08-14 11:47:44,124 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 7ee0d1cb24918634b6628cb457468a83fadc506a {}>
 211 2010-08-14 11:47:44,134 DEBUG MoinMoin.auth:481 session started for user None
 212 2010-08-14 11:47:44,135 DEBUG MoinMoin.auth:466 setup_suid returns None, None
 213 2010-08-14 11:47:44,135 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
 214 __ ERROR at teardown of TestLoginWithPassword.testSubscriptionSubscribedPage ___
 215 
 216 self = <MoinMoin._tests.test_user.TestLoginWithPassword object at 0x307fa90>
 217 method = <bound method TestLoginWithPassword.testSubscriptionSubscribedPage of <MoinMoin._tests.test_user.TestLoginWithPassword object at 0x307fa90>>
 218 
 219     def teardown_method(self, method):
 220         """ Run after each test
 221     
 222             Remove user and reset user listing cache.
 223             """
 224         # Remove user file and user
 225 >       if self.user is not None:
 226 E       AttributeError: 'TestLoginWithPassword' object has no attribute 'user'
 227 
 228 MoinMoin/_tests/test_user.py:55: AttributeError
 229 _______ ERROR at setup of TestLoginWithPassword.testSubscriptionSubPage ________
 230 
 231 self = <MoinMoin._tests.test_user.TestLoginWithPassword object at 0x3d28d90>
 232 method = <bound method TestLoginWithPassword.testSubscriptionSubPage of <MoinMoin._tests.test_user.TestLoginWithPassword object at 0x3d28d90>>
 233 
 234     def setup_method(self, method):
 235         # Save original user and cookie
 236         self.saved_cookie = self.request.cookies
 237 >       self.saved_user = self.request.user
 238 E       AttributeError: 'TestRequest' object has no attribute 'user'
 239 
 240 MoinMoin/_tests/test_user.py:41: AttributeError
 241 ------------------------------- Captured stderr --------------------------------
 242 2010-08-14 11:47:44,159 DEBUG MoinMoin:199 moin does not support any language client accepts
 243 2010-08-14 11:47:44,159 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
 244 2010-08-14 11:47:44,160 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
 245 2010-08-14 11:47:44,160 DEBUG MoinMoin.web.session:303 get_session for sid None
 246 2010-08-14 11:47:44,160 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 4df3f203e0965b200182b9887df18f02eab8b403 {}>
 247 2010-08-14 11:47:44,171 DEBUG MoinMoin.auth:481 session started for user None
 248 2010-08-14 11:47:44,172 DEBUG MoinMoin.auth:466 setup_suid returns None, None
 249 2010-08-14 11:47:44,172 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
 250 2010-08-14 11:47:44,184 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x44b2320 name:'' valid:0>, setuid = None
 251 2010-08-14 11:47:44,185 DEBUG MoinMoin:199 moin does not support any language client accepts
 252 2010-08-14 11:47:44,185 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
 253 2010-08-14 11:47:44,186 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
 254 2010-08-14 11:47:44,186 DEBUG MoinMoin.web.session:303 get_session for sid None
 255 2010-08-14 11:47:44,186 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession c47c8b17b9583bd8fc036eeff6565cc2acc6f822 {}>
 256 2010-08-14 11:47:44,197 DEBUG MoinMoin.auth:481 session started for user None
 257 2010-08-14 11:47:44,198 DEBUG MoinMoin.auth:466 setup_suid returns None, None
 258 2010-08-14 11:47:44,198 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
 259 ______ ERROR at teardown of TestLoginWithPassword.testSubscriptionSubPage ______
 260 
 261 self = <MoinMoin._tests.test_user.TestLoginWithPassword object at 0x3d28d90>
 262 method = <bound method TestLoginWithPassword.testSubscriptionSubPage of <MoinMoin._tests.test_user.TestLoginWithPassword object at 0x3d28d90>>
 263 
 264     def teardown_method(self, method):
 265         """ Run after each test
 266     
 267             Remove user and reset user listing cache.
 268             """
 269         # Remove user file and user
 270 >       if self.user is not None:
 271 E       AttributeError: 'TestLoginWithPassword' object has no attribute 'user'
 272 
 273 MoinMoin/_tests/test_user.py:55: AttributeError
 274 ____________ ERROR at setup of TestLoginWithPassword.testRenameUser ____________
 275 
 276 self = <MoinMoin._tests.test_user.TestLoginWithPassword object at 0x44b1a90>
 277 method = <bound method TestLoginWithPassword.testRenameUser of <MoinMoin._tests.test_user.TestLoginWithPassword object at 0x44b1a90>>
 278 
 279     def setup_method(self, method):
 280         # Save original user and cookie
 281         self.saved_cookie = self.request.cookies
 282 >       self.saved_user = self.request.user
 283 E       AttributeError: 'TestRequest' object has no attribute 'user'
 284 
 285 MoinMoin/_tests/test_user.py:41: AttributeError
 286 ------------------------------- Captured stderr --------------------------------
 287 2010-08-14 11:47:44,222 DEBUG MoinMoin:199 moin does not support any language client accepts
 288 2010-08-14 11:47:44,223 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
 289 2010-08-14 11:47:44,223 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
 290 2010-08-14 11:47:44,224 DEBUG MoinMoin.web.session:303 get_session for sid None
 291 2010-08-14 11:47:44,224 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession af61a04453aa496772c2d736829c182c0f292be4 {}>
 292 2010-08-14 11:47:44,240 DEBUG MoinMoin.auth:481 session started for user None
 293 2010-08-14 11:47:44,241 DEBUG MoinMoin.auth:466 setup_suid returns None, None
 294 2010-08-14 11:47:44,241 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
 295 2010-08-14 11:47:44,253 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x4620290 name:'' valid:0>, setuid = None
 296 2010-08-14 11:47:44,254 DEBUG MoinMoin:199 moin does not support any language client accepts
 297 2010-08-14 11:47:44,255 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
 298 2010-08-14 11:47:44,255 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
 299 2010-08-14 11:47:44,255 DEBUG MoinMoin.web.session:303 get_session for sid None
 300 2010-08-14 11:47:44,256 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession b7d56c0f77ff095635030e05ca867f60d13d32d7 {}>
 301 2010-08-14 11:47:44,267 DEBUG MoinMoin.auth:481 session started for user None
 302 2010-08-14 11:47:44,267 DEBUG MoinMoin.auth:466 setup_suid returns None, None
 303 2010-08-14 11:47:44,268 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
 304 __________ ERROR at teardown of TestLoginWithPassword.testRenameUser ___________
 305 
 306 self = <MoinMoin._tests.test_user.TestLoginWithPassword object at 0x44b1a90>
 307 method = <bound method TestLoginWithPassword.testRenameUser of <MoinMoin._tests.test_user.TestLoginWithPassword object at 0x44b1a90>>
 308 
 309     def teardown_method(self, method):
 310         """ Run after each test
 311     
 312             Remove user and reset user listing cache.
 313             """
 314         # Remove user file and user
 315 >       if self.user is not None:
 316 E       AttributeError: 'TestLoginWithPassword' object has no attribute 'user'
 317 
 318 MoinMoin/_tests/test_user.py:55: AttributeError
 319 ___ ERROR at setup of TestLoginWithPassword.test_upgrade_password_to_salted ____
 320 
 321 self = <MoinMoin._tests.test_user.TestLoginWithPassword object at 0x461ea90>
 322 method = <bound method TestLoginWithPassword.test_upgrade_password_to_salted of <MoinMoin._tests.test_user.TestLoginWithPassword object at 0x461ea90>>
 323 
 324     def setup_method(self, method):
 325         # Save original user and cookie
 326         self.saved_cookie = self.request.cookies
 327 >       self.saved_user = self.request.user
 328 E       AttributeError: 'TestRequest' object has no attribute 'user'
 329 
 330 MoinMoin/_tests/test_user.py:41: AttributeError
 331 ------------------------------- Captured stderr --------------------------------
 332 2010-08-14 11:47:44,292 DEBUG MoinMoin:199 moin does not support any language client accepts
 333 2010-08-14 11:47:44,293 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
 334 2010-08-14 11:47:44,293 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
 335 2010-08-14 11:47:44,293 DEBUG MoinMoin.web.session:303 get_session for sid None
 336 2010-08-14 11:47:44,294 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 89de4ae212ba2b62de269a04286532bbf59841be {}>
 337 2010-08-14 11:47:44,305 DEBUG MoinMoin.auth:481 session started for user None
 338 2010-08-14 11:47:44,305 DEBUG MoinMoin.auth:466 setup_suid returns None, None
 339 2010-08-14 11:47:44,306 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
 340 2010-08-14 11:47:44,318 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x478a680 name:'' valid:0>, setuid = None
 341 2010-08-14 11:47:44,320 DEBUG MoinMoin:199 moin does not support any language client accepts
 342 2010-08-14 11:47:44,320 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
 343 2010-08-14 11:47:44,320 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
 344 2010-08-14 11:47:44,321 DEBUG MoinMoin.web.session:303 get_session for sid None
 345 2010-08-14 11:47:44,321 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession a147be5c61e45eadf5de095ef61678c68df54bb8 {}>
 346 2010-08-14 11:47:44,333 DEBUG MoinMoin.auth:481 session started for user None
 347 2010-08-14 11:47:44,333 DEBUG MoinMoin.auth:466 setup_suid returns None, None
 348 2010-08-14 11:47:44,334 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
 349 __ ERROR at teardown of TestLoginWithPassword.test_upgrade_password_to_salted __
 350 
 351 self = <MoinMoin._tests.test_user.TestLoginWithPassword object at 0x461ea90>
 352 method = <bound method TestLoginWithPassword.test_upgrade_password_to_salted of <MoinMoin._tests.test_user.TestLoginWithPassword object at 0x461ea90>>
 353 
 354     def teardown_method(self, method):
 355         """ Run after each test
 356     
 357             Remove user and reset user listing cache.
 358             """
 359         # Remove user file and user
 360 >       if self.user is not None:
 361 E       AttributeError: 'TestLoginWithPassword' object has no attribute 'user'
 362 
 363 MoinMoin/_tests/test_user.py:55: AttributeError
 364 ___ ERROR at setup of TestLoginWithPassword.test_for_email_attribute_by_name ___
 365 
 366 self = <MoinMoin._tests.test_user.TestLoginWithPassword object at 0x4774ed0>
 367 method = <bound method TestLoginWithPassword.test_for_email_attribute_by_name of <MoinMoin._tests.test_user.TestLoginWithPassword object at 0x4774ed0>>
 368 
 369     def setup_method(self, method):
 370         # Save original user and cookie
 371         self.saved_cookie = self.request.cookies
 372 >       self.saved_user = self.request.user
 373 E       AttributeError: 'TestRequest' object has no attribute 'user'
 374 
 375 MoinMoin/_tests/test_user.py:41: AttributeError
 376 ------------------------------- Captured stderr --------------------------------
 377 2010-08-14 11:47:44,358 DEBUG MoinMoin:199 moin does not support any language client accepts
 378 2010-08-14 11:47:44,358 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
 379 2010-08-14 11:47:44,359 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
 380 2010-08-14 11:47:44,359 DEBUG MoinMoin.web.session:303 get_session for sid None
 381 2010-08-14 11:47:44,360 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 09d1f32c56998f97461ef705f2c1c2d7a0d5f176 {}>
 382 2010-08-14 11:47:44,376 DEBUG MoinMoin.auth:481 session started for user None
 383 2010-08-14 11:47:44,377 DEBUG MoinMoin.auth:466 setup_suid returns None, None
 384 2010-08-14 11:47:44,377 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
 385 2010-08-14 11:47:44,389 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x48a8050 name:'' valid:0>, setuid = None
 386 2010-08-14 11:47:44,391 DEBUG MoinMoin:199 moin does not support any language client accepts
 387 2010-08-14 11:47:44,391 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
 388 2010-08-14 11:47:44,392 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
 389 2010-08-14 11:47:44,392 DEBUG MoinMoin.web.session:303 get_session for sid None
 390 2010-08-14 11:47:44,393 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 7393158fad929e4f99998a30b0c409574512eb1e {}>
 391 2010-08-14 11:47:44,403 DEBUG MoinMoin.auth:481 session started for user None
 392 2010-08-14 11:47:44,404 DEBUG MoinMoin.auth:466 setup_suid returns None, None
 393 2010-08-14 11:47:44,404 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
 394 _ ERROR at teardown of TestLoginWithPassword.test_for_email_attribute_by_name __
 395 
 396 self = <MoinMoin._tests.test_user.TestLoginWithPassword object at 0x4774ed0>
 397 method = <bound method TestLoginWithPassword.test_for_email_attribute_by_name of <MoinMoin._tests.test_user.TestLoginWithPassword object at 0x4774ed0>>
 398 
 399     def teardown_method(self, method):
 400         """ Run after each test
 401     
 402             Remove user and reset user listing cache.
 403             """
 404         # Remove user file and user
 405 >       if self.user is not None:
 406 E       AttributeError: 'TestLoginWithPassword' object has no attribute 'user'
 407 
 408 MoinMoin/_tests/test_user.py:55: AttributeError
 409 ____ ERROR at setup of TestLoginWithPassword.test_for_email_attribut_by_uid ____
 410 
 411 self = <MoinMoin._tests.test_user.TestLoginWithPassword object at 0x47793d0>
 412 method = <bound method TestLoginWithPassword.test_for_email_attribut_by_uid of <MoinMoin._tests.test_user.TestLoginWithPassword object at 0x47793d0>>
 413 
 414     def setup_method(self, method):
 415         # Save original user and cookie
 416         self.saved_cookie = self.request.cookies
 417 >       self.saved_user = self.request.user
 418 E       AttributeError: 'TestRequest' object has no attribute 'user'
 419 
 420 MoinMoin/_tests/test_user.py:41: AttributeError
 421 ------------------------------- Captured stderr --------------------------------
 422 2010-08-14 11:47:44,429 DEBUG MoinMoin:199 moin does not support any language client accepts
 423 2010-08-14 11:47:44,429 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
 424 2010-08-14 11:47:44,430 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
 425 2010-08-14 11:47:44,430 DEBUG MoinMoin.web.session:303 get_session for sid None
 426 2010-08-14 11:47:44,431 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 87092ae153f39491670742c9e57e14a86b6fd216 {}>
 427 2010-08-14 11:47:44,441 DEBUG MoinMoin.auth:481 session started for user None
 428 2010-08-14 11:47:44,442 DEBUG MoinMoin.auth:466 setup_suid returns None, None
 429 2010-08-14 11:47:44,443 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
 430 2010-08-14 11:47:44,456 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x4b52c20 name:'' valid:0>, setuid = None
 431 2010-08-14 11:47:44,457 DEBUG MoinMoin:199 moin does not support any language client accepts
 432 2010-08-14 11:47:44,458 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
 433 2010-08-14 11:47:44,458 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
 434 2010-08-14 11:47:44,459 DEBUG MoinMoin.web.session:303 get_session for sid None
 435 2010-08-14 11:47:44,459 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 604abb8f83f88f75de4efc2594a95f0eb18ea5fc {}>
 436 2010-08-14 11:47:44,471 DEBUG MoinMoin.auth:481 session started for user None
 437 2010-08-14 11:47:44,471 DEBUG MoinMoin.auth:466 setup_suid returns None, None
 438 2010-08-14 11:47:44,472 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
 439 __ ERROR at teardown of TestLoginWithPassword.test_for_email_attribut_by_uid ___
 440 
 441 self = <MoinMoin._tests.test_user.TestLoginWithPassword object at 0x47793d0>
 442 method = <bound method TestLoginWithPassword.test_for_email_attribut_by_uid of <MoinMoin._tests.test_user.TestLoginWithPassword object at 0x47793d0>>
 443 
 444     def teardown_method(self, method):
 445         """ Run after each test
 446     
 447             Remove user and reset user listing cache.
 448             """
 449         # Remove user file and user
 450 >       if self.user is not None:
 451 E       AttributeError: 'TestLoginWithPassword' object has no attribute 'user'
 452 
 453 MoinMoin/_tests/test_user.py:55: AttributeError
 454  ERROR during collection /home/ree/workspace/moin-2.0-dev/MoinMoin/auth/_tests/test_auth.py 
 455 MoinMoin/auth/_tests/test_auth.py:11: in <module>
 456 >   from MoinMoin import wsgiapp
 457 E   ImportError: cannot import name wsgiapp
 458 ______________ ERROR at setup of TestCompositeGroup.test_getitem _______________
 459 
 460 self = <MoinMoin.datastruct.backends._tests.test_composite_groups.TestCompositeGroup object at 0x44d3650>
 461 method = <bound method TestCompositeGroup.test_getitem of <MoinMoin.datastruct.backends._tests.test_composite_groups.TestCompositeGroup object at 0x44d3650>>
 462 
 463     def setup_method(self, method):
 464 >       self.groups = self.request.groups
 465 E       AttributeError: 'TestRequest' object has no attribute 'groups'
 466 
 467 MoinMoin/datastruct/backends/_tests/test_composite_groups.py:58: AttributeError
 468 ------------------------------- Captured stderr --------------------------------
 469 2010-08-14 11:48:11,647 DEBUG MoinMoin:199 moin does not support any language client accepts
 470 2010-08-14 11:48:11,647 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
 471 2010-08-14 11:48:11,648 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
 472 2010-08-14 11:48:11,648 DEBUG MoinMoin.web.session:303 get_session for sid None
 473 2010-08-14 11:48:11,649 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 6bec9eb87995da777cfabcf93d06a4cd17b25f92 {}>
 474 2010-08-14 11:48:11,660 DEBUG MoinMoin.auth:481 session started for user None
 475 2010-08-14 11:48:11,660 DEBUG MoinMoin.auth:466 setup_suid returns None, None
 476 2010-08-14 11:48:11,661 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
 477 2010-08-14 11:48:11,672 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x558ae18 name:'' valid:0>, setuid = None
 478 2010-08-14 11:48:11,674 DEBUG MoinMoin:199 moin does not support any language client accepts
 479 2010-08-14 11:48:11,674 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
 480 2010-08-14 11:48:11,675 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
 481 2010-08-14 11:48:11,676 DEBUG MoinMoin.web.session:303 get_session for sid None
 482 2010-08-14 11:48:11,676 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession cefe310f94515e31490cf2b25179aa2f9ab2eab3 {}>
 483 2010-08-14 11:48:11,687 DEBUG MoinMoin.auth:481 session started for user None
 484 2010-08-14 11:48:11,687 DEBUG MoinMoin.auth:466 setup_suid returns None, None
 485 2010-08-14 11:48:11,688 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
 486 2010-08-14 11:48:11,700 DEBUG MoinMoin:199 moin does not support any language client accepts
 487 2010-08-14 11:48:11,700 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
 488 2010-08-14 11:48:11,701 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
 489 2010-08-14 11:48:11,701 DEBUG MoinMoin.web.session:303 get_session for sid None
 490 2010-08-14 11:48:11,702 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 091395f80f2c8f0f0462f383f586deef250a9d43 {}>
 491 2010-08-14 11:48:11,712 DEBUG MoinMoin.auth:481 session started for user None
 492 2010-08-14 11:48:11,713 DEBUG MoinMoin.auth:466 setup_suid returns None, None
 493 2010-08-14 11:48:11,714 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
 494 2010-08-14 11:48:11,725 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x5be3830 name:'' valid:0>, setuid = None
 495 2010-08-14 11:48:11,726 DEBUG MoinMoin:199 moin does not support any language client accepts
 496 2010-08-14 11:48:11,727 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
 497 2010-08-14 11:48:11,727 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
 498 2010-08-14 11:48:11,728 DEBUG MoinMoin.web.session:303 get_session for sid None
 499 2010-08-14 11:48:11,728 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 4968e02bf93677d56249aa8a0cf49c648246b003 {}>
 500 2010-08-14 11:48:11,739 DEBUG MoinMoin.auth:481 session started for user None
 501 2010-08-14 11:48:11,740 DEBUG MoinMoin.auth:466 setup_suid returns None, None
 502 2010-08-14 11:48:11,740 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
 503 __________ ERROR at setup of TestCompositeGroup.test_clashed_getitem ___________
 504 
 505 self = <MoinMoin.datastruct.backends._tests.test_composite_groups.TestCompositeGroup object at 0x5b25310>
 506 method = <bound method TestCompositeGroup.test_clashed_getitem of <MoinMoin.datastruct.backends._tests.test_composite_groups.TestCompositeGroup object at 0x5b25310>>
 507 
 508     def setup_method(self, method):
 509 >       self.groups = self.request.groups
 510 E       AttributeError: 'TestRequest' object has no attribute 'groups'
 511 
 512 MoinMoin/datastruct/backends/_tests/test_composite_groups.py:58: AttributeError
 513 ------------------------------- Captured stderr --------------------------------
 514 2010-08-14 11:48:11,774 DEBUG MoinMoin:199 moin does not support any language client accepts
 515 2010-08-14 11:48:11,775 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
 516 2010-08-14 11:48:11,776 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
 517 2010-08-14 11:48:11,777 DEBUG MoinMoin.web.session:303 get_session for sid None
 518 2010-08-14 11:48:11,777 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 0fb9793d202e8af85412fb2974916a0bff4a999c {}>
 519 2010-08-14 11:48:11,788 DEBUG MoinMoin.auth:481 session started for user None
 520 2010-08-14 11:48:11,788 DEBUG MoinMoin.auth:466 setup_suid returns None, None
 521 2010-08-14 11:48:11,789 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
 522 2010-08-14 11:48:11,802 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x5b1f1b8 name:'' valid:0>, setuid = None
 523 2010-08-14 11:48:11,803 DEBUG MoinMoin:199 moin does not support any language client accepts
 524 2010-08-14 11:48:11,804 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
 525 2010-08-14 11:48:11,804 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
 526 2010-08-14 11:48:11,805 DEBUG MoinMoin.web.session:303 get_session for sid None
 527 2010-08-14 11:48:11,806 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 094d3c0e02c3c4a553249f97e7309b1e1272e2b5 {}>
 528 2010-08-14 11:48:11,817 DEBUG MoinMoin.auth:481 session started for user None
 529 2010-08-14 11:48:11,817 DEBUG MoinMoin.auth:466 setup_suid returns None, None
 530 2010-08-14 11:48:11,818 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
 531 ________________ ERROR at setup of TestCompositeGroup.test_iter ________________
 532 
 533 self = <MoinMoin.datastruct.backends._tests.test_composite_groups.TestCompositeGroup object at 0x49fd610>
 534 method = <bound method TestCompositeGroup.test_iter of <MoinMoin.datastruct.backends._tests.test_composite_groups.TestCompositeGroup object at 0x49fd610>>
 535 
 536     def setup_method(self, method):
 537 >       self.groups = self.request.groups
 538 E       AttributeError: 'TestRequest' object has no attribute 'groups'
 539 
 540 MoinMoin/datastruct/backends/_tests/test_composite_groups.py:58: AttributeError
 541 ------------------------------- Captured stderr --------------------------------
 542 2010-08-14 11:48:11,839 DEBUG MoinMoin:199 moin does not support any language client accepts
 543 2010-08-14 11:48:11,839 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
 544 2010-08-14 11:48:11,840 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
 545 2010-08-14 11:48:11,841 DEBUG MoinMoin.web.session:303 get_session for sid None
 546 2010-08-14 11:48:11,841 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 17295b76018532b84f7342c85357ea290102c9dd {}>
 547 2010-08-14 11:48:11,852 DEBUG MoinMoin.auth:481 session started for user None
 548 2010-08-14 11:48:11,853 DEBUG MoinMoin.auth:466 setup_suid returns None, None
 549 2010-08-14 11:48:11,854 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
 550 2010-08-14 11:48:11,865 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x5b487a0 name:'' valid:0>, setuid = None
 551 2010-08-14 11:48:11,867 DEBUG MoinMoin:199 moin does not support any language client accepts
 552 2010-08-14 11:48:11,868 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
 553 2010-08-14 11:48:11,868 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
 554 2010-08-14 11:48:11,869 DEBUG MoinMoin.web.session:303 get_session for sid None
 555 2010-08-14 11:48:11,869 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession ba2aac0a8b2c8e0a99e1e92862487fe6370cf198 {}>
 556 2010-08-14 11:48:11,880 DEBUG MoinMoin.auth:481 session started for user None
 557 2010-08-14 11:48:11,881 DEBUG MoinMoin.auth:466 setup_suid returns None, None
 558 2010-08-14 11:48:11,881 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
 559 ______________ ERROR at setup of TestCompositeGroup.test_contains ______________
 560 
 561 self = <MoinMoin.datastruct.backends._tests.test_composite_groups.TestCompositeGroup object at 0x568d490>
 562 method = <bound method TestCompositeGroup.test_contains of <MoinMoin.datastruct.backends._tests.test_composite_groups.TestCompositeGroup object at 0x568d490>>
 563 
 564     def setup_method(self, method):
 565 >       self.groups = self.request.groups
 566 E       AttributeError: 'TestRequest' object has no attribute 'groups'
 567 
 568 MoinMoin/datastruct/backends/_tests/test_composite_groups.py:58: AttributeError
 569 ------------------------------- Captured stderr --------------------------------
 570 2010-08-14 11:48:11,908 DEBUG MoinMoin:199 moin does not support any language client accepts
 571 2010-08-14 11:48:11,909 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
 572 2010-08-14 11:48:11,910 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
 573 2010-08-14 11:48:11,911 DEBUG MoinMoin.web.session:303 get_session for sid None
 574 2010-08-14 11:48:11,911 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 73bfbd0539536866c0c9d34a56a40f017bfc7acd {}>
 575 2010-08-14 11:48:11,922 DEBUG MoinMoin.auth:481 session started for user None
 576 2010-08-14 11:48:11,923 DEBUG MoinMoin.auth:466 setup_suid returns None, None
 577 2010-08-14 11:48:11,924 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
 578 2010-08-14 11:48:11,935 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x5687ef0 name:'' valid:0>, setuid = None
 579 2010-08-14 11:48:11,937 DEBUG MoinMoin:199 moin does not support any language client accepts
 580 2010-08-14 11:48:11,938 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
 581 2010-08-14 11:48:11,938 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
 582 2010-08-14 11:48:11,939 DEBUG MoinMoin.web.session:303 get_session for sid None
 583 2010-08-14 11:48:11,940 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 18b969b0a47aa08b02b067c622f67caeea2f770e {}>
 584 2010-08-14 11:48:11,950 DEBUG MoinMoin.auth:481 session started for user None
 585 2010-08-14 11:48:11,951 DEBUG MoinMoin.auth:466 setup_suid returns None, None
 586 2010-08-14 11:48:11,952 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
 587 _____________ ERROR at setup of TestWikiDictsBackend.test_getitem ______________
 588 
 589 self = <MoinMoin.datastruct.backends._tests.test_wiki_dicts.TestWikiDictsBackend object at 0x3444d50>
 590 
 591     def wrapper(self, *args, **kwargs):
 592         self.request = init_test_request(given_config)
 593         # Don't forget to call the class' setup_method if it has one.
 594 >       return f(self, *args, **kwargs)
 595 
 596 MoinMoin/conftest.py:128: 
 597 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
 598 
 599 self = <MoinMoin.datastruct.backends._tests.test_wiki_dicts.TestWikiDictsBackend object at 0x3444d50>
 600 method = <bound method TestWikiDictsBackend.test_getitem of <MoinMoin.datastruct.backends._tests.test_wiki_dicts.TestWikiDictsBackend object at 0x3444d50>>
 601 
 602     def setup_method(self, method):
 603         request = self.request
 604 >       become_trusted(request)
 605 
 606 MoinMoin/datastruct/backends/_tests/test_wiki_dicts.py:23: 
 607 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
 608 
 609 request = <TestRequest 0 bytes [200 OK]>, username = u'TrustedUser'
 610 
 611     def become_trusted(request, username=u"TrustedUser"):
 612         """ modify request.user to make the user valid and trusted, so it is in acl group Trusted """
 613 >       become_valid(request, username)
 614 
 615 MoinMoin/_tests/__init__.py:37: 
 616 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
 617 
 618 request = <TestRequest 0 bytes [200 OK]>, username = u'TrustedUser'
 619 
 620     def become_valid(request, username=u"ValidUser"):
 621         """ modify request.user to make the user valid.
 622             Note that a valid user will only be in ACL special group "Known", if
 623             we have a user profile for this user as the ACL system will check if
 624             there is a userid for this username.
 625             Thus, for testing purposes (e.g. if you need delete rights), it is
 626             easier to use become_trusted().
 627         """
 628 >       request.user.name = username
 629 E       AttributeError: 'TestRequest' object has no attribute 'user'
 630 
 631 MoinMoin/_tests/__init__.py:30: AttributeError
 632 ------------------------------- Captured stderr --------------------------------
 633 2010-08-14 11:48:14,764 DEBUG MoinMoin:199 moin does not support any language client accepts
 634 2010-08-14 11:48:14,766 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
 635 2010-08-14 11:48:14,767 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
 636 2010-08-14 11:48:14,767 DEBUG MoinMoin.web.session:303 get_session for sid None
 637 2010-08-14 11:48:14,768 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession f1383cbc812e7232e06af680116bc2edb9e912b4 {}>
 638 2010-08-14 11:48:14,781 DEBUG MoinMoin.auth:481 session started for user None
 639 2010-08-14 11:48:14,782 DEBUG MoinMoin.auth:466 setup_suid returns None, None
 640 2010-08-14 11:48:14,783 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
 641 2010-08-14 11:48:14,800 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x57a2dd0 name:'' valid:0>, setuid = None
 642 2010-08-14 11:48:14,802 DEBUG MoinMoin:199 moin does not support any language client accepts
 643 2010-08-14 11:48:14,803 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
 644 2010-08-14 11:48:14,803 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
 645 2010-08-14 11:48:14,804 DEBUG MoinMoin.web.session:303 get_session for sid None
 646 2010-08-14 11:48:14,805 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 3d555e12e8bcebeaf85f3dedb15a6d312846764c {}>
 647 2010-08-14 11:48:14,816 DEBUG MoinMoin.auth:481 session started for user None
 648 2010-08-14 11:48:14,817 DEBUG MoinMoin.auth:466 setup_suid returns None, None
 649 2010-08-14 11:48:14,817 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
 650 2010-08-14 11:48:14,829 DEBUG MoinMoin:199 moin does not support any language client accepts
 651 2010-08-14 11:48:14,830 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
 652 2010-08-14 11:48:14,831 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
 653 2010-08-14 11:48:14,831 DEBUG MoinMoin.web.session:303 get_session for sid None
 654 2010-08-14 11:48:14,832 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 5b3e8ada90f998177cdddd21416d051093787894 {}>
 655 2010-08-14 11:48:14,843 DEBUG MoinMoin.auth:481 session started for user None
 656 2010-08-14 11:48:14,844 DEBUG MoinMoin.auth:466 setup_suid returns None, None
 657 2010-08-14 11:48:14,844 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
 658 2010-08-14 11:48:14,856 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x3fc0368 name:'' valid:0>, setuid = None
 659 2010-08-14 11:48:14,858 DEBUG MoinMoin:199 moin does not support any language client accepts
 660 2010-08-14 11:48:14,859 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
 661 2010-08-14 11:48:14,859 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
 662 2010-08-14 11:48:14,860 DEBUG MoinMoin.web.session:303 get_session for sid None
 663 2010-08-14 11:48:14,861 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 9d9a74c5b2a15d2460249ee3b67a4e63aedeeebd {}>
 664 2010-08-14 11:48:14,872 DEBUG MoinMoin.auth:481 session started for user None
 665 2010-08-14 11:48:14,872 DEBUG MoinMoin.auth:466 setup_suid returns None, None
 666 2010-08-14 11:48:14,873 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
 667 _____________ ERROR at setup of TestWikiDictsBackend.test_contains _____________
 668 
 669 self = <MoinMoin.datastruct.backends._tests.test_wiki_dicts.TestWikiDictsBackend object at 0x50c0a10>
 670 
 671     def wrapper(self, *args, **kwargs):
 672         self.request = init_test_request(given_config)
 673         # Don't forget to call the class' setup_method if it has one.
 674 >       return f(self, *args, **kwargs)
 675 
 676 MoinMoin/conftest.py:128: 
 677 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
 678 
 679 self = <MoinMoin.datastruct.backends._tests.test_wiki_dicts.TestWikiDictsBackend object at 0x50c0a10>
 680 method = <bound method TestWikiDictsBackend.test_contains of <MoinMoin.datastruct.backends._tests.test_wiki_dicts.TestWikiDictsBackend object at 0x50c0a10>>
 681 
 682     def setup_method(self, method):
 683         request = self.request
 684 >       become_trusted(request)
 685 
 686 MoinMoin/datastruct/backends/_tests/test_wiki_dicts.py:23: 
 687 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
 688 
 689 request = <TestRequest 0 bytes [200 OK]>, username = u'TrustedUser'
 690 
 691     def become_trusted(request, username=u"TrustedUser"):
 692         """ modify request.user to make the user valid and trusted, so it is in acl group Trusted """
 693 >       become_valid(request, username)
 694 
 695 MoinMoin/_tests/__init__.py:37: 
 696 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
 697 
 698 request = <TestRequest 0 bytes [200 OK]>, username = u'TrustedUser'
 699 
 700     def become_valid(request, username=u"ValidUser"):
 701         """ modify request.user to make the user valid.
 702             Note that a valid user will only be in ACL special group "Known", if
 703             we have a user profile for this user as the ACL system will check if
 704             there is a userid for this username.
 705             Thus, for testing purposes (e.g. if you need delete rights), it is
 706             easier to use become_trusted().
 707         """
 708 >       request.user.name = username
 709 E       AttributeError: 'TestRequest' object has no attribute 'user'
 710 
 711 MoinMoin/_tests/__init__.py:30: AttributeError
 712 ------------------------------- Captured stderr --------------------------------
 713 2010-08-14 11:48:14,902 DEBUG MoinMoin:199 moin does not support any language client accepts
 714 2010-08-14 11:48:14,902 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
 715 2010-08-14 11:48:14,903 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
 716 2010-08-14 11:48:14,904 DEBUG MoinMoin.web.session:303 get_session for sid None
 717 2010-08-14 11:48:14,905 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 977ae290f299da567bf413d03efc1691a9bfc881 {}>
 718 2010-08-14 11:48:14,920 DEBUG MoinMoin.auth:481 session started for user None
 719 2010-08-14 11:48:14,921 DEBUG MoinMoin.auth:466 setup_suid returns None, None
 720 2010-08-14 11:48:14,922 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
 721 2010-08-14 11:48:14,934 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x5b08c20 name:'' valid:0>, setuid = None
 722 2010-08-14 11:48:14,936 DEBUG MoinMoin:199 moin does not support any language client accepts
 723 2010-08-14 11:48:14,937 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
 724 2010-08-14 11:48:14,937 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
 725 2010-08-14 11:48:14,938 DEBUG MoinMoin.web.session:303 get_session for sid None
 726 2010-08-14 11:48:14,939 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 41d77ea9a79540a17df0069bdbbed4f626624f09 {}>
 727 2010-08-14 11:48:14,949 DEBUG MoinMoin.auth:481 session started for user None
 728 2010-08-14 11:48:14,950 DEBUG MoinMoin.auth:466 setup_suid returns None, None
 729 2010-08-14 11:48:14,951 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
 730 ______________ ERROR at setup of TestWikiDictsBackend.test_update ______________
 731 
 732 self = <MoinMoin.datastruct.backends._tests.test_wiki_dicts.TestWikiDictsBackend object at 0x50c0c10>
 733 
 734     def wrapper(self, *args, **kwargs):
 735         self.request = init_test_request(given_config)
 736         # Don't forget to call the class' setup_method if it has one.
 737 >       return f(self, *args, **kwargs)
 738 
 739 MoinMoin/conftest.py:128: 
 740 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
 741 
 742 self = <MoinMoin.datastruct.backends._tests.test_wiki_dicts.TestWikiDictsBackend object at 0x50c0c10>
 743 method = <bound method TestWikiDictsBackend.test_update of <MoinMoin.datastruct.backends._tests.test_wiki_dicts.TestWikiDictsBackend object at 0x50c0c10>>
 744 
 745     def setup_method(self, method):
 746         request = self.request
 747 >       become_trusted(request)
 748 
 749 MoinMoin/datastruct/backends/_tests/test_wiki_dicts.py:23: 
 750 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
 751 
 752 request = <TestRequest 0 bytes [200 OK]>, username = u'TrustedUser'
 753 
 754     def become_trusted(request, username=u"TrustedUser"):
 755         """ modify request.user to make the user valid and trusted, so it is in acl group Trusted """
 756 >       become_valid(request, username)
 757 
 758 MoinMoin/_tests/__init__.py:37: 
 759 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
 760 
 761 request = <TestRequest 0 bytes [200 OK]>, username = u'TrustedUser'
 762 
 763     def become_valid(request, username=u"ValidUser"):
 764         """ modify request.user to make the user valid.
 765             Note that a valid user will only be in ACL special group "Known", if
 766             we have a user profile for this user as the ACL system will check if
 767             there is a userid for this username.
 768             Thus, for testing purposes (e.g. if you need delete rights), it is
 769             easier to use become_trusted().
 770         """
 771 >       request.user.name = username
 772 E       AttributeError: 'TestRequest' object has no attribute 'user'
 773 
 774 MoinMoin/_tests/__init__.py:30: AttributeError
 775 ------------------------------- Captured stderr --------------------------------
 776 2010-08-14 11:48:14,975 DEBUG MoinMoin:199 moin does not support any language client accepts
 777 2010-08-14 11:48:14,976 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
 778 2010-08-14 11:48:14,976 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
 779 2010-08-14 11:48:14,977 DEBUG MoinMoin.web.session:303 get_session for sid None
 780 2010-08-14 11:48:14,978 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 8a915c07a61a37a243f1d4dc03a8c93cc11d2e6d {}>
 781 2010-08-14 11:48:14,990 DEBUG MoinMoin.auth:481 session started for user None
 782 2010-08-14 11:48:14,991 DEBUG MoinMoin.auth:466 setup_suid returns None, None
 783 2010-08-14 11:48:14,992 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
 784 2010-08-14 11:48:15,004 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x4cc17e8 name:'' valid:0>, setuid = None
 785 2010-08-14 11:48:15,006 DEBUG MoinMoin:199 moin does not support any language client accepts
 786 2010-08-14 11:48:15,007 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
 787 2010-08-14 11:48:15,007 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
 788 2010-08-14 11:48:15,008 DEBUG MoinMoin.web.session:303 get_session for sid None
 789 2010-08-14 11:48:15,009 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 5ace826e72c452b3f06c616ceeb1eb26490f577b {}>
 790 2010-08-14 11:48:15,020 DEBUG MoinMoin.auth:481 session started for user None
 791 2010-08-14 11:48:15,021 DEBUG MoinMoin.auth:466 setup_suid returns None, None
 792 2010-08-14 11:48:15,022 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
 793 _______________ ERROR at setup of TestWikiDictsBackend.test_get ________________
 794 
 795 self = <MoinMoin.datastruct.backends._tests.test_wiki_dicts.TestWikiDictsBackend object at 0x3083590>
 796 
 797     def wrapper(self, *args, **kwargs):
 798         self.request = init_test_request(given_config)
 799         # Don't forget to call the class' setup_method if it has one.
 800 >       return f(self, *args, **kwargs)
 801 
 802 MoinMoin/conftest.py:128: 
 803 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
 804 
 805 self = <MoinMoin.datastruct.backends._tests.test_wiki_dicts.TestWikiDictsBackend object at 0x3083590>
 806 method = <bound method TestWikiDictsBackend.test_get of <MoinMoin.datastruct.backends._tests.test_wiki_dicts.TestWikiDictsBackend object at 0x3083590>>
 807 
 808     def setup_method(self, method):
 809         request = self.request
 810 >       become_trusted(request)
 811 
 812 MoinMoin/datastruct/backends/_tests/test_wiki_dicts.py:23: 
 813 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
 814 
 815 request = <TestRequest 0 bytes [200 OK]>, username = u'TrustedUser'
 816 
 817     def become_trusted(request, username=u"TrustedUser"):
 818         """ modify request.user to make the user valid and trusted, so it is in acl group Trusted """
 819 >       become_valid(request, username)
 820 
 821 MoinMoin/_tests/__init__.py:37: 
 822 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
 823 
 824 request = <TestRequest 0 bytes [200 OK]>, username = u'TrustedUser'
 825 
 826     def become_valid(request, username=u"ValidUser"):
 827         """ modify request.user to make the user valid.
 828             Note that a valid user will only be in ACL special group "Known", if
 829             we have a user profile for this user as the ACL system will check if
 830             there is a userid for this username.
 831             Thus, for testing purposes (e.g. if you need delete rights), it is
 832             easier to use become_trusted().
 833         """
 834 >       request.user.name = username
 835 E       AttributeError: 'TestRequest' object has no attribute 'user'
 836 
 837 MoinMoin/_tests/__init__.py:30: AttributeError
 838 ------------------------------- Captured stderr --------------------------------
 839 2010-08-14 11:48:15,046 DEBUG MoinMoin:199 moin does not support any language client accepts
 840 2010-08-14 11:48:15,047 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
 841 2010-08-14 11:48:15,047 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
 842 2010-08-14 11:48:15,048 DEBUG MoinMoin.web.session:303 get_session for sid None
 843 2010-08-14 11:48:15,049 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 04e7baa6fea41b8c313c3751673f2c48a60c6752 {}>
 844 2010-08-14 11:48:15,067 DEBUG MoinMoin.auth:481 session started for user None
 845 2010-08-14 11:48:15,068 DEBUG MoinMoin.auth:466 setup_suid returns None, None
 846 2010-08-14 11:48:15,068 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
 847 2010-08-14 11:48:15,080 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x41b6d88 name:'' valid:0>, setuid = None
 848 2010-08-14 11:48:15,081 DEBUG MoinMoin:199 moin does not support any language client accepts
 849 2010-08-14 11:48:15,082 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
 850 2010-08-14 11:48:15,083 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
 851 2010-08-14 11:48:15,084 DEBUG MoinMoin.web.session:303 get_session for sid None
 852 2010-08-14 11:48:15,085 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 5485c91c9c1229d940fbb4b62c58f99b25fc0f04 {}>
 853 2010-08-14 11:48:15,097 DEBUG MoinMoin.auth:481 session started for user None
 854 2010-08-14 11:48:15,097 DEBUG MoinMoin.auth:466 setup_suid returns None, None
 855 2010-08-14 11:48:15,098 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
 856 _________________ ERROR at setup of TestAcl.testApplyACLByUser _________________
 857 
 858 self = <test_security.TestAcl object at 0x67846d0>
 859 method = <bound method TestAcl.testApplyACLByUser of <test_security.TestAcl object at 0x67846d0>>
 860 
 861     def setup_method(self, method):
 862         # Backup user
 863 >       self.savedUser = self.request.user.name
 864 E       AttributeError: 'TestRequest' object has no attribute 'user'
 865 
 866 MoinMoin/security/_tests/test_security.py:199: AttributeError
 867 ------------------------------- Captured stderr --------------------------------
 868 2010-08-14 11:48:22,569 DEBUG MoinMoin:199 moin does not support any language client accepts
 869 2010-08-14 11:48:22,570 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
 870 2010-08-14 11:48:22,571 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
 871 2010-08-14 11:48:22,572 DEBUG MoinMoin.web.session:303 get_session for sid None
 872 2010-08-14 11:48:22,573 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 387e5b893fa13a168ce9adf9e3c28fa05961389c {}>
 873 2010-08-14 11:48:22,584 DEBUG MoinMoin.auth:481 session started for user None
 874 2010-08-14 11:48:22,585 DEBUG MoinMoin.auth:466 setup_suid returns None, None
 875 2010-08-14 11:48:22,586 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
 876 2010-08-14 11:48:22,598 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x582c8c0 name:'' valid:0>, setuid = None
 877 2010-08-14 11:48:22,599 DEBUG MoinMoin:199 moin does not support any language client accepts
 878 2010-08-14 11:48:22,600 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
 879 2010-08-14 11:48:22,601 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
 880 2010-08-14 11:48:22,602 DEBUG MoinMoin.web.session:303 get_session for sid None
 881 2010-08-14 11:48:22,603 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 3adf8e31ae629536925e18139c9ce13c19ccc2bc {}>
 882 2010-08-14 11:48:22,621 DEBUG MoinMoin.auth:481 session started for user None
 883 2010-08-14 11:48:22,622 DEBUG MoinMoin.auth:466 setup_suid returns None, None
 884 2010-08-14 11:48:22,623 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
 885 2010-08-14 11:48:22,635 DEBUG MoinMoin:199 moin does not support any language client accepts
 886 2010-08-14 11:48:22,636 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
 887 2010-08-14 11:48:22,637 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
 888 2010-08-14 11:48:22,638 DEBUG MoinMoin.web.session:303 get_session for sid None
 889 2010-08-14 11:48:22,639 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession c7042f1de516a3c5363ed69a352731778758d496 {}>
 890 2010-08-14 11:48:22,650 DEBUG MoinMoin.auth:481 session started for user None
 891 2010-08-14 11:48:22,651 DEBUG MoinMoin.auth:466 setup_suid returns None, None
 892 2010-08-14 11:48:22,652 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
 893 2010-08-14 11:48:22,663 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x4612d40 name:'' valid:0>, setuid = None
 894 2010-08-14 11:48:22,665 DEBUG MoinMoin:199 moin does not support any language client accepts
 895 2010-08-14 11:48:22,666 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
 896 2010-08-14 11:48:22,667 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
 897 2010-08-14 11:48:22,668 DEBUG MoinMoin.web.session:303 get_session for sid None
 898 2010-08-14 11:48:22,669 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession a72bdd90f91e532acc3de337ea061b3ecee7ad75 {}>
 899 2010-08-14 11:48:22,679 DEBUG MoinMoin.auth:481 session started for user None
 900 2010-08-14 11:48:22,680 DEBUG MoinMoin.auth:466 setup_suid returns None, None
 901 2010-08-14 11:48:22,681 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
 902 _______________ ERROR at teardown of TestAcl.testApplyACLByUser ________________
 903 
 904 self = <test_security.TestAcl object at 0x67846d0>
 905 method = <bound method TestAcl.testApplyACLByUser of <test_security.TestAcl object at 0x67846d0>>
 906 
 907     def teardown_method(self, method):
 908         # Restore user
 909 >       self.request.user.name = self.savedUser
 910 E       AttributeError: 'TestAcl' object has no attribute 'savedUser'
 911 
 912 MoinMoin/security/_tests/test_security.py:203: AttributeError
 913  ERROR during collection /home/ree/workspace/moin-2.0-dev/MoinMoin/security/_tests/test_security.py 
 914 MoinMoin/security/_tests/test_security.py:293: in setup_method
 915 >       become_trusted(self.request, username=u'WikiAdmin')
 916 MoinMoin/_tests/__init__.py:37: in become_trusted
 917 >       become_valid(request, username)
 918 MoinMoin/_tests/__init__.py:30: in become_valid
 919 >       request.user.name = username
 920 E       AttributeError: 'TestRequest' object has no attribute 'user'
 921 ------------------------------- Captured stderr --------------------------------
 922 2010-08-14 11:48:22,711 DEBUG MoinMoin:199 moin does not support any language client accepts
 923 2010-08-14 11:48:22,712 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
 924 2010-08-14 11:48:22,713 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
 925 2010-08-14 11:48:22,713 DEBUG MoinMoin.web.session:303 get_session for sid None
 926 2010-08-14 11:48:22,714 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 60b0165c395b3f33f504aff08f760a9edfa65bf4 {}>
 927 2010-08-14 11:48:22,725 DEBUG MoinMoin.auth:481 session started for user None
 928 2010-08-14 11:48:22,726 DEBUG MoinMoin.auth:466 setup_suid returns None, None
 929 2010-08-14 11:48:22,727 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
 930 2010-08-14 11:48:22,744 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x678bef0 name:'' valid:0>, setuid = None
 931 2010-08-14 11:48:22,746 DEBUG MoinMoin:199 moin does not support any language client accepts
 932 2010-08-14 11:48:22,747 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
 933 2010-08-14 11:48:22,747 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
 934 2010-08-14 11:48:22,748 DEBUG MoinMoin.web.session:303 get_session for sid None
 935 2010-08-14 11:48:22,749 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 3e302505a1ff4723ace297fe2b2ba209cb64b5e8 {}>
 936 2010-08-14 11:48:22,760 DEBUG MoinMoin.auth:481 session started for user None
 937 2010-08-14 11:48:22,761 DEBUG MoinMoin.auth:466 setup_suid returns None, None
 938 2010-08-14 11:48:22,762 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
 939 2010-08-14 11:48:22,774 DEBUG MoinMoin:199 moin does not support any language client accepts
 940 2010-08-14 11:48:22,775 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
 941 2010-08-14 11:48:22,776 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
 942 2010-08-14 11:48:22,777 DEBUG MoinMoin.web.session:303 get_session for sid None
 943 2010-08-14 11:48:22,778 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession ba7218a23055982081bd0ab0dbf9f6010ee26336 {}>
 944 2010-08-14 11:48:22,788 DEBUG MoinMoin.auth:481 session started for user None
 945 2010-08-14 11:48:22,789 DEBUG MoinMoin.auth:466 setup_suid returns None, None
 946 2010-08-14 11:48:22,790 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
 947 2010-08-14 11:48:22,802 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x68cc4d0 name:'' valid:0>, setuid = None
 948 2010-08-14 11:48:22,804 DEBUG MoinMoin:199 moin does not support any language client accepts
 949 2010-08-14 11:48:22,805 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
 950 2010-08-14 11:48:22,806 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
 951 2010-08-14 11:48:22,806 DEBUG MoinMoin.web.session:303 get_session for sid None
 952 2010-08-14 11:48:22,807 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 4f1d68888f7fed644664215e50ddcaed0c9abe76 {}>
 953 2010-08-14 11:48:22,818 DEBUG MoinMoin.auth:481 session started for user None
 954 2010-08-14 11:48:22,819 DEBUG MoinMoin.auth:466 setup_suid returns None, None
 955 2010-08-14 11:48:22,820 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
 956  ERROR during collection /home/ree/workspace/moin-2.0-dev/MoinMoin/security/_tests/test_security.py 
 957 MoinMoin/security/_tests/test_security.py:373: in setup_method
 958 >       become_trusted(self.request, username=u'WikiAdmin')
 959 MoinMoin/_tests/__init__.py:37: in become_trusted
 960 >       become_valid(request, username)
 961 MoinMoin/_tests/__init__.py:30: in become_valid
 962 >       request.user.name = username
 963 E       AttributeError: 'TestRequest' object has no attribute 'user'
 964 ------------------------------- Captured stderr --------------------------------
 965 2010-08-14 11:48:22,842 DEBUG MoinMoin:199 moin does not support any language client accepts
 966 2010-08-14 11:48:22,843 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
 967 2010-08-14 11:48:22,843 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
 968 2010-08-14 11:48:22,844 DEBUG MoinMoin.web.session:303 get_session for sid None
 969 2010-08-14 11:48:22,845 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession adbc42b71746084d7a76e9baed011d41c5da6236 {}>
 970 2010-08-14 11:48:22,856 DEBUG MoinMoin.auth:481 session started for user None
 971 2010-08-14 11:48:22,857 DEBUG MoinMoin.auth:466 setup_suid returns None, None
 972 2010-08-14 11:48:22,858 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
 973 2010-08-14 11:48:22,875 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x6853d88 name:'' valid:0>, setuid = None
 974 2010-08-14 11:48:22,877 DEBUG MoinMoin:199 moin does not support any language client accepts
 975 2010-08-14 11:48:22,878 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
 976 2010-08-14 11:48:22,878 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
 977 2010-08-14 11:48:22,879 DEBUG MoinMoin.web.session:303 get_session for sid None
 978 2010-08-14 11:48:22,880 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession b9cea435b86d69e72350ae563eb867b174e34016 {}>
 979 2010-08-14 11:48:22,891 DEBUG MoinMoin.auth:481 session started for user None
 980 2010-08-14 11:48:22,892 DEBUG MoinMoin.auth:466 setup_suid returns None, None
 981 2010-08-14 11:48:22,893 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
 982 2010-08-14 11:48:22,904 DEBUG MoinMoin:199 moin does not support any language client accepts
 983 2010-08-14 11:48:22,905 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
 984 2010-08-14 11:48:22,906 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
 985 2010-08-14 11:48:22,907 DEBUG MoinMoin.web.session:303 get_session for sid None
 986 2010-08-14 11:48:22,908 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 26ea3481cb7b131085dcd03951518acbd4add87b {}>
 987 2010-08-14 11:48:22,918 DEBUG MoinMoin.auth:481 session started for user None
 988 2010-08-14 11:48:22,919 DEBUG MoinMoin.auth:466 setup_suid returns None, None
 989 2010-08-14 11:48:22,920 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
 990 2010-08-14 11:48:22,931 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x645c998 name:'' valid:0>, setuid = None
 991 2010-08-14 11:48:22,933 DEBUG MoinMoin:199 moin does not support any language client accepts
 992 2010-08-14 11:48:22,934 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
 993 2010-08-14 11:48:22,938 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
 994 2010-08-14 11:48:22,939 DEBUG MoinMoin.web.session:303 get_session for sid None
 995 2010-08-14 11:48:22,940 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 19bee5a05f352ede7cfc82c7e9e7380259569954 {}>
 996 2010-08-14 11:48:22,950 DEBUG MoinMoin.auth:481 session started for user None
 997 2010-08-14 11:48:22,951 DEBUG MoinMoin.auth:466 setup_suid returns None, None
 998 2010-08-14 11:48:22,952 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
 999  ERROR during collection /home/ree/workspace/moin-2.0-dev/MoinMoin/storage/_tests/test_middleware_acl.py 
1000 MoinMoin/storage/_tests/test_middleware_acl.py:11: in <module>
1001 >   from MoinMoin.wsgiapp import protect_backends
1002 E   ImportError: No module named wsgiapp
1003  ERROR during collection /home/ree/workspace/moin-2.0-dev/MoinMoin/support/pytz/tests/test_docs.py 
1004 MoinMoin/support/pytz/tests/test_docs.py:21: in <module>
1005 >       raise RuntimeError('README.txt not found')
1006 E       RuntimeError: README.txt not found
1007 _____ ERROR at setup of TestEditBarActions.test_editbar_for_anonymous_user _____
1008 
1009 self = <test_editbar_actions.TestEditBarActions object at 0x463e810>
1010 method = <bound method TestEditBarActions.test_editbar_for_anonymous_user of <test_editbar_actions.TestEditBarActions object at 0x463e810>>
1011 
1012     def setup_method(self, method):
1013 >       self.savedValid = self.request.user.valid
1014 E       AttributeError: 'TestRequest' object has no attribute 'user'
1015 
1016 MoinMoin/theme/_tests/test_editbar_actions.py:18: AttributeError
1017 ------------------------------- Captured stderr --------------------------------
1018 2010-08-14 11:48:45,731 DEBUG MoinMoin:199 moin does not support any language client accepts
1019 2010-08-14 11:48:45,732 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
1020 2010-08-14 11:48:45,733 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
1021 2010-08-14 11:48:45,734 DEBUG MoinMoin.web.session:303 get_session for sid None
1022 2010-08-14 11:48:45,735 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession cbf34c11852930fa3737d8c5b1107093342bb657 {}>
1023 2010-08-14 11:48:45,746 DEBUG MoinMoin.auth:481 session started for user None
1024 2010-08-14 11:48:45,747 DEBUG MoinMoin.auth:466 setup_suid returns None, None
1025 2010-08-14 11:48:45,749 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
1026 2010-08-14 11:48:45,761 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x3936a28 name:'' valid:0>, setuid = None
1027 2010-08-14 11:48:45,763 DEBUG MoinMoin:199 moin does not support any language client accepts
1028 2010-08-14 11:48:45,764 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
1029 2010-08-14 11:48:45,765 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
1030 2010-08-14 11:48:45,766 DEBUG MoinMoin.web.session:303 get_session for sid None
1031 2010-08-14 11:48:45,767 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 34ef2b732ce7c0c6129fda9f5691698aace7c04d {}>
1032 2010-08-14 11:48:45,779 DEBUG MoinMoin.auth:481 session started for user None
1033 2010-08-14 11:48:45,780 DEBUG MoinMoin.auth:466 setup_suid returns None, None
1034 2010-08-14 11:48:45,781 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
1035 2010-08-14 11:48:45,793 DEBUG MoinMoin:199 moin does not support any language client accepts
1036 2010-08-14 11:48:45,794 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
1037 2010-08-14 11:48:45,795 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
1038 2010-08-14 11:48:45,796 DEBUG MoinMoin.web.session:303 get_session for sid None
1039 2010-08-14 11:48:45,797 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 58236f5de85313d5a994a48bcb8b0c4a021353f8 {}>
1040 2010-08-14 11:48:45,808 DEBUG MoinMoin.auth:481 session started for user None
1041 2010-08-14 11:48:45,809 DEBUG MoinMoin.auth:466 setup_suid returns None, None
1042 2010-08-14 11:48:45,810 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
1043 2010-08-14 11:48:45,822 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x4cbeb00 name:'' valid:0>, setuid = None
1044 2010-08-14 11:48:45,824 DEBUG MoinMoin:199 moin does not support any language client accepts
1045 2010-08-14 11:48:45,825 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
1046 2010-08-14 11:48:45,826 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
1047 2010-08-14 11:48:45,827 DEBUG MoinMoin.web.session:303 get_session for sid None
1048 2010-08-14 11:48:45,828 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 3c2b5f925f51fd8b14fa02c972ce35fe07d4408b {}>
1049 2010-08-14 11:48:45,848 DEBUG MoinMoin.auth:481 session started for user None
1050 2010-08-14 11:48:45,849 DEBUG MoinMoin.auth:466 setup_suid returns None, None
1051 2010-08-14 11:48:45,850 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
1052 ___ ERROR at teardown of TestEditBarActions.test_editbar_for_anonymous_user ____
1053 
1054 self = <test_editbar_actions.TestEditBarActions object at 0x463e810>
1055 method = <bound method TestEditBarActions.test_editbar_for_anonymous_user of <test_editbar_actions.TestEditBarActions object at 0x463e810>>
1056 
1057     def teardown_method(self, method):
1058 >       self.request.user.valid = self.savedValid
1059 E       AttributeError: 'TestEditBarActions' object has no attribute 'savedValid'
1060 
1061 MoinMoin/theme/_tests/test_editbar_actions.py:25: AttributeError
1062 _______ ERROR at setup of TestEditBarActions.test_editbar_for_valid_user _______
1063 
1064 self = <test_editbar_actions.TestEditBarActions object at 0x331f450>
1065 method = <bound method TestEditBarActions.test_editbar_for_valid_user of <test_editbar_actions.TestEditBarActions object at 0x331f450>>
1066 
1067     def setup_method(self, method):
1068 >       self.savedValid = self.request.user.valid
1069 E       AttributeError: 'TestRequest' object has no attribute 'user'
1070 
1071 MoinMoin/theme/_tests/test_editbar_actions.py:18: AttributeError
1072 ------------------------------- Captured stderr --------------------------------
1073 2010-08-14 11:48:45,881 DEBUG MoinMoin:199 moin does not support any language client accepts
1074 2010-08-14 11:48:45,882 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
1075 2010-08-14 11:48:45,882 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
1076 2010-08-14 11:48:45,883 DEBUG MoinMoin.web.session:303 get_session for sid None
1077 2010-08-14 11:48:45,884 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession ad516af8a8439ffb6d54dfb08db3aadffc82b958 {}>
1078 2010-08-14 11:48:45,896 DEBUG MoinMoin.auth:481 session started for user None
1079 2010-08-14 11:48:45,897 DEBUG MoinMoin.auth:466 setup_suid returns None, None
1080 2010-08-14 11:48:45,898 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
1081 2010-08-14 11:48:45,910 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x5783950 name:'' valid:0>, setuid = None
1082 2010-08-14 11:48:45,912 DEBUG MoinMoin:199 moin does not support any language client accepts
1083 2010-08-14 11:48:45,913 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
1084 2010-08-14 11:48:45,914 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
1085 2010-08-14 11:48:45,915 DEBUG MoinMoin.web.session:303 get_session for sid None
1086 2010-08-14 11:48:45,916 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession ae3c73e314289b76ad466b8a30399f55d86c31c1 {}>
1087 2010-08-14 11:48:45,928 DEBUG MoinMoin.auth:481 session started for user None
1088 2010-08-14 11:48:45,929 DEBUG MoinMoin.auth:466 setup_suid returns None, None
1089 2010-08-14 11:48:45,930 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
1090 _____ ERROR at teardown of TestEditBarActions.test_editbar_for_valid_user ______
1091 
1092 self = <test_editbar_actions.TestEditBarActions object at 0x331f450>
1093 method = <bound method TestEditBarActions.test_editbar_for_valid_user of <test_editbar_actions.TestEditBarActions object at 0x331f450>>
1094 
1095     def teardown_method(self, method):
1096 >       self.request.user.valid = self.savedValid
1097 E       AttributeError: 'TestEditBarActions' object has no attribute 'savedValid'
1098 
1099 MoinMoin/theme/_tests/test_editbar_actions.py:25: AttributeError
1100 _________________ ERROR at setup of TestNaviBar.test_itemname __________________
1101 
1102 self = <test_navi_bar.TestNaviBar object at 0x3059790>
1103 method = <bound method TestNaviBar.test_itemname of <test_navi_bar.TestNaviBar object at 0x3059790>>
1104 
1105     def setup_method(self, method):
1106 >       self.theme = ThemeBase(self.request)
1107 
1108 MoinMoin/theme/_tests/test_navi_bar.py:14: 
1109 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
1110 
1111 self = <MoinMoin.theme.ThemeBase object at 0x580cd10>
1112 request = <TestRequest 0 bytes [200 OK]>
1113 
1114     def __init__(self, request):
1115         """
1116             Initialize the theme object.
1117     
1118             @param request: the request object
1119             """
1120         self.request = request
1121         self.cfg = request.cfg
1122 >       self.user = request.user
1123 E       AttributeError: 'TestRequest' object has no attribute 'user'
1124 
1125 MoinMoin/theme/__init__.py:86: AttributeError
1126 ------------------------------- Captured stderr --------------------------------
1127 2010-08-14 11:48:45,963 DEBUG MoinMoin:199 moin does not support any language client accepts
1128 2010-08-14 11:48:45,964 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
1129 2010-08-14 11:48:45,965 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
1130 2010-08-14 11:48:45,966 DEBUG MoinMoin.web.session:303 get_session for sid None
1131 2010-08-14 11:48:45,967 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 0afbbdca7304578b3be1666177274e6ced938478 {}>
1132 2010-08-14 11:48:45,978 DEBUG MoinMoin.auth:481 session started for user None
1133 2010-08-14 11:48:45,979 DEBUG MoinMoin.auth:466 setup_suid returns None, None
1134 2010-08-14 11:48:45,980 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
1135 2010-08-14 11:48:45,998 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x41f99e0 name:'' valid:0>, setuid = None
1136 2010-08-14 11:48:46,000 DEBUG MoinMoin:199 moin does not support any language client accepts
1137 2010-08-14 11:48:46,001 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
1138 2010-08-14 11:48:46,002 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
1139 2010-08-14 11:48:46,003 DEBUG MoinMoin.web.session:303 get_session for sid None
1140 2010-08-14 11:48:46,004 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 3dcf7de0e9ad68b78573a5a85c9a7681dfbbda83 {}>
1141 2010-08-14 11:48:46,016 DEBUG MoinMoin.auth:481 session started for user None
1142 2010-08-14 11:48:46,017 DEBUG MoinMoin.auth:466 setup_suid returns None, None
1143 2010-08-14 11:48:46,018 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
1144 2010-08-14 11:48:46,030 DEBUG MoinMoin:199 moin does not support any language client accepts
1145 2010-08-14 11:48:46,031 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
1146 2010-08-14 11:48:46,032 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
1147 2010-08-14 11:48:46,033 DEBUG MoinMoin.web.session:303 get_session for sid None
1148 2010-08-14 11:48:46,034 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 854c88d62ab502a60fddc9f886467e220fae3e54 {}>
1149 2010-08-14 11:48:46,045 DEBUG MoinMoin.auth:481 session started for user None
1150 2010-08-14 11:48:46,046 DEBUG MoinMoin.auth:466 setup_suid returns None, None
1151 2010-08-14 11:48:46,047 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
1152 2010-08-14 11:48:46,059 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x5451518 name:'' valid:0>, setuid = None
1153 2010-08-14 11:48:46,061 DEBUG MoinMoin:199 moin does not support any language client accepts
1154 2010-08-14 11:48:46,062 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
1155 2010-08-14 11:48:46,063 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
1156 2010-08-14 11:48:46,064 DEBUG MoinMoin.web.session:303 get_session for sid None
1157 2010-08-14 11:48:46,065 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession d5cd93ae9f437527e08df37fa8e23655a1933922 {}>
1158 2010-08-14 11:48:46,076 DEBUG MoinMoin.auth:481 session started for user None
1159 2010-08-14 11:48:46,078 DEBUG MoinMoin.auth:466 setup_suid returns None, None
1160 2010-08-14 11:48:46,079 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
1161 ____________ ERROR at setup of TestNaviBar.test_itemname_with_text _____________
1162 
1163 self = <test_navi_bar.TestNaviBar object at 0x63bb590>
1164 method = <bound method TestNaviBar.test_itemname_with_text of <test_navi_bar.TestNaviBar object at 0x63bb590>>
1165 
1166     def setup_method(self, method):
1167 >       self.theme = ThemeBase(self.request)
1168 
1169 MoinMoin/theme/_tests/test_navi_bar.py:14: 
1170 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
1171 
1172 self = <MoinMoin.theme.ThemeBase object at 0x63dac50>
1173 request = <TestRequest 0 bytes [200 OK]>
1174 
1175     def __init__(self, request):
1176         """
1177             Initialize the theme object.
1178     
1179             @param request: the request object
1180             """
1181         self.request = request
1182         self.cfg = request.cfg
1183 >       self.user = request.user
1184 E       AttributeError: 'TestRequest' object has no attribute 'user'
1185 
1186 MoinMoin/theme/__init__.py:86: AttributeError
1187 ------------------------------- Captured stderr --------------------------------
1188 2010-08-14 11:48:46,104 DEBUG MoinMoin:199 moin does not support any language client accepts
1189 2010-08-14 11:48:46,105 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
1190 2010-08-14 11:48:46,106 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
1191 2010-08-14 11:48:46,107 DEBUG MoinMoin.web.session:303 get_session for sid None
1192 2010-08-14 11:48:46,108 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 1f1a650f9412cbefa0580e1f4344e34047c3e196 {}>
1193 2010-08-14 11:48:46,119 DEBUG MoinMoin.auth:481 session started for user None
1194 2010-08-14 11:48:46,121 DEBUG MoinMoin.auth:466 setup_suid returns None, None
1195 2010-08-14 11:48:46,122 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
1196 2010-08-14 11:48:46,140 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x63d4fc8 name:'' valid:0>, setuid = None
1197 2010-08-14 11:48:46,142 DEBUG MoinMoin:199 moin does not support any language client accepts
1198 2010-08-14 11:48:46,143 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
1199 2010-08-14 11:48:46,144 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
1200 2010-08-14 11:48:46,145 DEBUG MoinMoin.web.session:303 get_session for sid None
1201 2010-08-14 11:48:46,146 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 34942e521582197644f19f2f7e5ed2ad2b09f831 {}>
1202 2010-08-14 11:48:46,157 DEBUG MoinMoin.auth:481 session started for user None
1203 2010-08-14 11:48:46,158 DEBUG MoinMoin.auth:466 setup_suid returns None, None
1204 2010-08-14 11:48:46,159 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
1205 _________________ ERROR at setup of TestNaviBar.test_interwiki _________________
1206 
1207 self = <test_navi_bar.TestNaviBar object at 0x63bb890>
1208 method = <bound method TestNaviBar.test_interwiki of <test_navi_bar.TestNaviBar object at 0x63bb890>>
1209 
1210     def setup_method(self, method):
1211 >       self.theme = ThemeBase(self.request)
1212 
1213 MoinMoin/theme/_tests/test_navi_bar.py:14: 
1214 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
1215 
1216 self = <MoinMoin.theme.ThemeBase object at 0x6420a50>
1217 request = <TestRequest 0 bytes [200 OK]>
1218 
1219     def __init__(self, request):
1220         """
1221             Initialize the theme object.
1222     
1223             @param request: the request object
1224             """
1225         self.request = request
1226         self.cfg = request.cfg
1227 >       self.user = request.user
1228 E       AttributeError: 'TestRequest' object has no attribute 'user'
1229 
1230 MoinMoin/theme/__init__.py:86: AttributeError
1231 ------------------------------- Captured stderr --------------------------------
1232 2010-08-14 11:48:46,181 DEBUG MoinMoin:199 moin does not support any language client accepts
1233 2010-08-14 11:48:46,182 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
1234 2010-08-14 11:48:46,183 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
1235 2010-08-14 11:48:46,184 DEBUG MoinMoin.web.session:303 get_session for sid None
1236 2010-08-14 11:48:46,185 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 63bcbe566372de3e0205201d28b957659dd1aa9f {}>
1237 2010-08-14 11:48:46,196 DEBUG MoinMoin.auth:481 session started for user None
1238 2010-08-14 11:48:46,198 DEBUG MoinMoin.auth:466 setup_suid returns None, None
1239 2010-08-14 11:48:46,199 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
1240 2010-08-14 11:48:46,210 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x640b248 name:'' valid:0>, setuid = None
1241 2010-08-14 11:48:46,212 DEBUG MoinMoin:199 moin does not support any language client accepts
1242 2010-08-14 11:48:46,213 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
1243 2010-08-14 11:48:46,214 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
1244 2010-08-14 11:48:46,216 DEBUG MoinMoin.web.session:303 get_session for sid None
1245 2010-08-14 11:48:46,217 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession d9ddbff65559b0d85187037b654816b88f376fa5 {}>
1246 2010-08-14 11:48:46,228 DEBUG MoinMoin.auth:481 session started for user None
1247 2010-08-14 11:48:46,229 DEBUG MoinMoin.auth:466 setup_suid returns None, None
1248 2010-08-14 11:48:46,231 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
1249 ____________ ERROR at setup of TestNaviBar.test_interwiki_with_text ____________
1250 
1251 self = <test_navi_bar.TestNaviBar object at 0x640c5d0>
1252 method = <bound method TestNaviBar.test_interwiki_with_text of <test_navi_bar.TestNaviBar object at 0x640c5d0>>
1253 
1254     def setup_method(self, method):
1255 >       self.theme = ThemeBase(self.request)
1256 
1257 MoinMoin/theme/_tests/test_navi_bar.py:14: 
1258 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
1259 
1260 self = <MoinMoin.theme.ThemeBase object at 0x6f45b50>
1261 request = <TestRequest 0 bytes [200 OK]>
1262 
1263     def __init__(self, request):
1264         """
1265             Initialize the theme object.
1266     
1267             @param request: the request object
1268             """
1269         self.request = request
1270         self.cfg = request.cfg
1271 >       self.user = request.user
1272 E       AttributeError: 'TestRequest' object has no attribute 'user'
1273 
1274 MoinMoin/theme/__init__.py:86: AttributeError
1275 ------------------------------- Captured stderr --------------------------------
1276 2010-08-14 11:48:46,253 DEBUG MoinMoin:199 moin does not support any language client accepts
1277 2010-08-14 11:48:46,254 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
1278 2010-08-14 11:48:46,255 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
1279 2010-08-14 11:48:46,256 DEBUG MoinMoin.web.session:303 get_session for sid None
1280 2010-08-14 11:48:46,257 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 576f42bfc4eeb6b2383f3364535aa7c82a1479b2 {}>
1281 2010-08-14 11:48:46,268 DEBUG MoinMoin.auth:481 session started for user None
1282 2010-08-14 11:48:46,270 DEBUG MoinMoin.auth:466 setup_suid returns None, None
1283 2010-08-14 11:48:46,271 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
1284 2010-08-14 11:48:46,289 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x6f3ff80 name:'' valid:0>, setuid = None
1285 2010-08-14 11:48:46,291 DEBUG MoinMoin:199 moin does not support any language client accepts
1286 2010-08-14 11:48:46,292 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
1287 2010-08-14 11:48:46,293 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
1288 2010-08-14 11:48:46,294 DEBUG MoinMoin.web.session:303 get_session for sid None
1289 2010-08-14 11:48:46,295 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession d6cec05d1f537eba60e18e5cedd6af37a4a41bb7 {}>
1290 2010-08-14 11:48:46,307 DEBUG MoinMoin.auth:481 session started for user None
1291 2010-08-14 11:48:46,309 DEBUG MoinMoin.auth:466 setup_suid returns None, None
1292 2010-08-14 11:48:46,310 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
1293 _________ ERROR at setup of TestNaviBar.test_wiki_interwiki_with_text __________
1294 
1295 self = <test_navi_bar.TestNaviBar object at 0x6f2a410>
1296 method = <bound method TestNaviBar.test_wiki_interwiki_with_text of <test_navi_bar.TestNaviBar object at 0x6f2a410>>
1297 
1298     def setup_method(self, method):
1299 >       self.theme = ThemeBase(self.request)
1300 
1301 MoinMoin/theme/_tests/test_navi_bar.py:14: 
1302 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
1303 
1304 self = <MoinMoin.theme.ThemeBase object at 0x6f91950>
1305 request = <TestRequest 0 bytes [200 OK]>
1306 
1307     def __init__(self, request):
1308         """
1309             Initialize the theme object.
1310     
1311             @param request: the request object
1312             """
1313         self.request = request
1314         self.cfg = request.cfg
1315 >       self.user = request.user
1316 E       AttributeError: 'TestRequest' object has no attribute 'user'
1317 
1318 MoinMoin/theme/__init__.py:86: AttributeError
1319 ------------------------------- Captured stderr --------------------------------
1320 2010-08-14 11:48:46,331 DEBUG MoinMoin:199 moin does not support any language client accepts
1321 2010-08-14 11:48:46,332 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
1322 2010-08-14 11:48:46,333 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
1323 2010-08-14 11:48:46,334 DEBUG MoinMoin.web.session:303 get_session for sid None
1324 2010-08-14 11:48:46,336 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 1cd4ec3047af3ffc5df56e9d00e12c518e944fec {}>
1325 2010-08-14 11:48:46,347 DEBUG MoinMoin.auth:481 session started for user None
1326 2010-08-14 11:48:46,349 DEBUG MoinMoin.auth:466 setup_suid returns None, None
1327 2010-08-14 11:48:46,350 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
1328 2010-08-14 11:48:46,362 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x6f744d0 name:'' valid:0>, setuid = None
1329 2010-08-14 11:48:46,364 DEBUG MoinMoin:199 moin does not support any language client accepts
1330 2010-08-14 11:48:46,365 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
1331 2010-08-14 11:48:46,367 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
1332 2010-08-14 11:48:46,368 DEBUG MoinMoin.web.session:303 get_session for sid None
1333 2010-08-14 11:48:46,369 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 685b7f4e71b801c0e5bff819a32af8fca85bdba4 {}>
1334 2010-08-14 11:48:46,380 DEBUG MoinMoin.auth:481 session started for user None
1335 2010-08-14 11:48:46,381 DEBUG MoinMoin.auth:466 setup_suid returns None, None
1336 2010-08-14 11:48:46,383 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
1337 _______________ ERROR at setup of TestNaviBar.test_external_url ________________
1338 
1339 self = <test_navi_bar.TestNaviBar object at 0x6f78390>
1340 method = <bound method TestNaviBar.test_external_url of <test_navi_bar.TestNaviBar object at 0x6f78390>>
1341 
1342     def setup_method(self, method):
1343 >       self.theme = ThemeBase(self.request)
1344 
1345 MoinMoin/theme/_tests/test_navi_bar.py:14: 
1346 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
1347 
1348 self = <MoinMoin.theme.ThemeBase object at 0x6fdebd0>
1349 request = <TestRequest 0 bytes [200 OK]>
1350 
1351     def __init__(self, request):
1352         """
1353             Initialize the theme object.
1354     
1355             @param request: the request object
1356             """
1357         self.request = request
1358         self.cfg = request.cfg
1359 >       self.user = request.user
1360 E       AttributeError: 'TestRequest' object has no attribute 'user'
1361 
1362 MoinMoin/theme/__init__.py:86: AttributeError
1363 ------------------------------- Captured stderr --------------------------------
1364 2010-08-14 11:48:46,404 DEBUG MoinMoin:199 moin does not support any language client accepts
1365 2010-08-14 11:48:46,405 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
1366 2010-08-14 11:48:46,406 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
1367 2010-08-14 11:48:46,408 DEBUG MoinMoin.web.session:303 get_session for sid None
1368 2010-08-14 11:48:46,409 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession df5209e9ff6f358ca56317f606b91d53e1265a98 {}>
1369 2010-08-14 11:48:46,420 DEBUG MoinMoin.auth:481 session started for user None
1370 2010-08-14 11:48:46,422 DEBUG MoinMoin.auth:466 setup_suid returns None, None
1371 2010-08-14 11:48:46,423 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
1372 2010-08-14 11:48:46,441 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x6fbbdd0 name:'' valid:0>, setuid = None
1373 2010-08-14 11:48:46,443 DEBUG MoinMoin:199 moin does not support any language client accepts
1374 2010-08-14 11:48:46,444 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
1375 2010-08-14 11:48:46,445 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
1376 2010-08-14 11:48:46,446 DEBUG MoinMoin.web.session:303 get_session for sid None
1377 2010-08-14 11:48:46,448 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 7749e2e8de8816a17bf09e8c83d28c23719ad599 {}>
1378 2010-08-14 11:48:46,459 DEBUG MoinMoin.auth:481 session started for user None
1379 2010-08-14 11:48:46,460 DEBUG MoinMoin.auth:466 setup_suid returns None, None
1380 2010-08-14 11:48:46,462 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
1381 __________ ERROR at setup of TestNaviBar.test_external_url_with_title __________
1382 
1383 self = <test_navi_bar.TestNaviBar object at 0x70065d0>
1384 method = <bound method TestNaviBar.test_external_url_with_title of <test_navi_bar.TestNaviBar object at 0x70065d0>>
1385 
1386     def setup_method(self, method):
1387 >       self.theme = ThemeBase(self.request)
1388 
1389 MoinMoin/theme/_tests/test_navi_bar.py:14: 
1390 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
1391 
1392 self = <MoinMoin.theme.ThemeBase object at 0x702b810>
1393 request = <TestRequest 0 bytes [200 OK]>
1394 
1395     def __init__(self, request):
1396         """
1397             Initialize the theme object.
1398     
1399             @param request: the request object
1400             """
1401         self.request = request
1402         self.cfg = request.cfg
1403 >       self.user = request.user
1404 E       AttributeError: 'TestRequest' object has no attribute 'user'
1405 
1406 MoinMoin/theme/__init__.py:86: AttributeError
1407 ------------------------------- Captured stderr --------------------------------
1408 2010-08-14 11:48:46,483 DEBUG MoinMoin:199 moin does not support any language client accepts
1409 2010-08-14 11:48:46,484 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
1410 2010-08-14 11:48:46,486 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
1411 2010-08-14 11:48:46,487 DEBUG MoinMoin.web.session:303 get_session for sid None
1412 2010-08-14 11:48:46,488 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession c83950be20bab3977c50d7d871a1045035f81158 {}>
1413 2010-08-14 11:48:46,500 DEBUG MoinMoin.auth:481 session started for user None
1414 2010-08-14 11:48:46,502 DEBUG MoinMoin.auth:466 setup_suid returns None, None
1415 2010-08-14 11:48:46,503 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
1416 2010-08-14 11:48:46,515 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x70104d0 name:'' valid:0>, setuid = None
1417 2010-08-14 11:48:46,517 DEBUG MoinMoin:199 moin does not support any language client accepts
1418 2010-08-14 11:48:46,519 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
1419 2010-08-14 11:48:46,520 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
1420 2010-08-14 11:48:46,522 DEBUG MoinMoin.web.session:303 get_session for sid None
1421 2010-08-14 11:48:46,523 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 96826556408b8b8ebe20c1704771015059f1646a {}>
1422 2010-08-14 11:48:46,534 DEBUG MoinMoin.auth:481 session started for user None
1423 2010-08-14 11:48:46,536 DEBUG MoinMoin.auth:466 setup_suid returns None, None
1424 2010-08-14 11:48:46,537 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
1425 ____ ERROR at setup of Test_DataBrowserWidget_sort_table.test_tablecreation ____
1426 
1427 self = <class 'test_DataBrowserWidget.Test_DataBrowserWidget_sort_table'>
1428 
1429     def setup_class(self):
1430         # check if state of example changes during tests
1431         example = [['L1', (u'c', u'c'), (u'1', u'1'),   (u'2', u'2'),           (u'a', u'a'),  (u'4', u'4'),   (u'5', u'5')],
1432                    ['L2', (u'b', u'b'), (u'10', u'10'), (u'21', u'21'),         (u'B', u'B'),  (u'40', u'40'), (u'10', u'10')],
1433                    ['L3', (u'b', u'b'), (u'2', u'2'),   (u'3.14', u'3.14'),     (u'c', u'c'),  (u'54', u'54'), (u'50', u'50')],
1434                    ['L4', (u'b', u'b'), (u'90', u'90'), (u'-2.240', u'-2.240'), (u'D', u'D'),  (u'40', u'40'), (u'5', u'5')],
1435                    ['L5', (u'a', u'a'), (u'95', u'95'), (u'20', u'20'),         (u'e', u'e'),  (u'40', u'40'), (u'10', u'10')],
1436                   ]
1437         self.example = example
1438         data = TupleDataset()
1439         data.columns = []
1440         data.columns.extend([Column('TEST', label='TEST')])
1441     
1442         for line in self.example:
1443             data.addRow([line[0]] + line[1:])
1444             data.columns.extend([Column(line[0], label=line[0])])
1445     
1446         self.data = data
1447 >       self.table = DataBrowserWidget(self.request)
1448 
1449 MoinMoin/widget/_tests/test_DataBrowserWidget.py:33: 
1450 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
1451 
1452 self = <MoinMoin.widget.browser.DataBrowserWidget instance at 0x474d320>
1453 request = <TestRequest 0 bytes [200 OK]>, show_header = True
1454 
1455     def __init__(self, request, show_header=True, **kw):
1456 >       _ = request.getText
1457 E       AttributeError: 'TestRequest' object has no attribute 'getText'
1458 
1459 MoinMoin/widget/browser.py:53: AttributeError
1460 ------------------------------- Captured stderr --------------------------------
1461 2010-08-14 11:48:59,476 DEBUG MoinMoin:199 moin does not support any language client accepts
1462 2010-08-14 11:48:59,478 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
1463 2010-08-14 11:48:59,480 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
1464 2010-08-14 11:48:59,481 DEBUG MoinMoin.web.session:303 get_session for sid None
1465 2010-08-14 11:48:59,482 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 931bc8aa07d3c7a400aef0d151c67c5c5bf40888 {}>
1466 2010-08-14 11:48:59,495 DEBUG MoinMoin.auth:481 session started for user None
1467 2010-08-14 11:48:59,496 DEBUG MoinMoin.auth:466 setup_suid returns None, None
1468 2010-08-14 11:48:59,498 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
1469 2010-08-14 11:48:59,510 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x5c85248 name:'' valid:0>, setuid = None
1470 2010-08-14 11:48:59,512 DEBUG MoinMoin:199 moin does not support any language client accepts
1471 2010-08-14 11:48:59,514 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
1472 2010-08-14 11:48:59,515 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
1473 2010-08-14 11:48:59,516 DEBUG MoinMoin.web.session:303 get_session for sid None
1474 2010-08-14 11:48:59,518 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 012912e0806e0aee742e6f68c7692a927b131111 {}>
1475 2010-08-14 11:48:59,530 DEBUG MoinMoin.auth:481 session started for user None
1476 2010-08-14 11:48:59,531 DEBUG MoinMoin.auth:466 setup_suid returns None, None
1477 2010-08-14 11:48:59,533 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
1478  ERROR at setup of Test_DataBrowserWidget_sort_table.test_sort_one_column_alphas 
1479 
1480 self = <class 'test_DataBrowserWidget.Test_DataBrowserWidget_sort_table'>
1481 
1482     def setup_class(self):
1483         # check if state of example changes during tests
1484         example = [['L1', (u'c', u'c'), (u'1', u'1'),   (u'2', u'2'),           (u'a', u'a'),  (u'4', u'4'),   (u'5', u'5')],
1485                    ['L2', (u'b', u'b'), (u'10', u'10'), (u'21', u'21'),         (u'B', u'B'),  (u'40', u'40'), (u'10', u'10')],
1486                    ['L3', (u'b', u'b'), (u'2', u'2'),   (u'3.14', u'3.14'),     (u'c', u'c'),  (u'54', u'54'), (u'50', u'50')],
1487                    ['L4', (u'b', u'b'), (u'90', u'90'), (u'-2.240', u'-2.240'), (u'D', u'D'),  (u'40', u'40'), (u'5', u'5')],
1488                    ['L5', (u'a', u'a'), (u'95', u'95'), (u'20', u'20'),         (u'e', u'e'),  (u'40', u'40'), (u'10', u'10')],
1489                   ]
1490         self.example = example
1491         data = TupleDataset()
1492         data.columns = []
1493         data.columns.extend([Column('TEST', label='TEST')])
1494     
1495         for line in self.example:
1496             data.addRow([line[0]] + line[1:])
1497             data.columns.extend([Column(line[0], label=line[0])])
1498     
1499         self.data = data
1500 >       self.table = DataBrowserWidget(self.request)
1501 
1502 MoinMoin/widget/_tests/test_DataBrowserWidget.py:33: 
1503 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
1504 
1505 self = <MoinMoin.widget.browser.DataBrowserWidget instance at 0x474d320>
1506 request = <TestRequest 0 bytes [200 OK]>, show_header = True
1507 
1508     def __init__(self, request, show_header=True, **kw):
1509 >       _ = request.getText
1510 E       AttributeError: 'TestRequest' object has no attribute 'getText'
1511 
1512 MoinMoin/widget/browser.py:53: AttributeError
1513  ERROR at setup of Test_DataBrowserWidget_sort_table.test_sort_one_column_integers 
1514 
1515 self = <class 'test_DataBrowserWidget.Test_DataBrowserWidget_sort_table'>
1516 
1517     def setup_class(self):
1518         # check if state of example changes during tests
1519         example = [['L1', (u'c', u'c'), (u'1', u'1'),   (u'2', u'2'),           (u'a', u'a'),  (u'4', u'4'),   (u'5', u'5')],
1520                    ['L2', (u'b', u'b'), (u'10', u'10'), (u'21', u'21'),         (u'B', u'B'),  (u'40', u'40'), (u'10', u'10')],
1521                    ['L3', (u'b', u'b'), (u'2', u'2'),   (u'3.14', u'3.14'),     (u'c', u'c'),  (u'54', u'54'), (u'50', u'50')],
1522                    ['L4', (u'b', u'b'), (u'90', u'90'), (u'-2.240', u'-2.240'), (u'D', u'D'),  (u'40', u'40'), (u'5', u'5')],
1523                    ['L5', (u'a', u'a'), (u'95', u'95'), (u'20', u'20'),         (u'e', u'e'),  (u'40', u'40'), (u'10', u'10')],
1524                   ]
1525         self.example = example
1526         data = TupleDataset()
1527         data.columns = []
1528         data.columns.extend([Column('TEST', label='TEST')])
1529     
1530         for line in self.example:
1531             data.addRow([line[0]] + line[1:])
1532             data.columns.extend([Column(line[0], label=line[0])])
1533     
1534         self.data = data
1535 >       self.table = DataBrowserWidget(self.request)
1536 
1537 MoinMoin/widget/_tests/test_DataBrowserWidget.py:33: 
1538 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
1539 
1540 self = <MoinMoin.widget.browser.DataBrowserWidget instance at 0x474d320>
1541 request = <TestRequest 0 bytes [200 OK]>, show_header = True
1542 
1543     def __init__(self, request, show_header=True, **kw):
1544 >       _ = request.getText
1545 E       AttributeError: 'TestRequest' object has no attribute 'getText'
1546 
1547 MoinMoin/widget/browser.py:53: AttributeError
1548  ERROR at setup of Test_DataBrowserWidget_sort_table.test_sort_one_column_floats 
1549 
1550 self = <class 'test_DataBrowserWidget.Test_DataBrowserWidget_sort_table'>
1551 
1552     def setup_class(self):
1553         # check if state of example changes during tests
1554         example = [['L1', (u'c', u'c'), (u'1', u'1'),   (u'2', u'2'),           (u'a', u'a'),  (u'4', u'4'),   (u'5', u'5')],
1555                    ['L2', (u'b', u'b'), (u'10', u'10'), (u'21', u'21'),         (u'B', u'B'),  (u'40', u'40'), (u'10', u'10')],
1556                    ['L3', (u'b', u'b'), (u'2', u'2'),   (u'3.14', u'3.14'),     (u'c', u'c'),  (u'54', u'54'), (u'50', u'50')],
1557                    ['L4', (u'b', u'b'), (u'90', u'90'), (u'-2.240', u'-2.240'), (u'D', u'D'),  (u'40', u'40'), (u'5', u'5')],
1558                    ['L5', (u'a', u'a'), (u'95', u'95'), (u'20', u'20'),         (u'e', u'e'),  (u'40', u'40'), (u'10', u'10')],
1559                   ]
1560         self.example = example
1561         data = TupleDataset()
1562         data.columns = []
1563         data.columns.extend([Column('TEST', label='TEST')])
1564     
1565         for line in self.example:
1566             data.addRow([line[0]] + line[1:])
1567             data.columns.extend([Column(line[0], label=line[0])])
1568     
1569         self.data = data
1570 >       self.table = DataBrowserWidget(self.request)
1571 
1572 MoinMoin/widget/_tests/test_DataBrowserWidget.py:33: 
1573 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
1574 
1575 self = <MoinMoin.widget.browser.DataBrowserWidget instance at 0x474d320>
1576 request = <TestRequest 0 bytes [200 OK]>, show_header = True
1577 
1578     def __init__(self, request, show_header=True, **kw):
1579 >       _ = request.getText
1580 E       AttributeError: 'TestRequest' object has no attribute 'getText'
1581 
1582 MoinMoin/widget/browser.py:53: AttributeError
1583 _______ ERROR at setup of Test_DataBrowserWidget_sort_table.test_n_sort ________
1584 
1585 self = <class 'test_DataBrowserWidget.Test_DataBrowserWidget_sort_table'>
1586 
1587     def setup_class(self):
1588         # check if state of example changes during tests
1589         example = [['L1', (u'c', u'c'), (u'1', u'1'),   (u'2', u'2'),           (u'a', u'a'),  (u'4', u'4'),   (u'5', u'5')],
1590                    ['L2', (u'b', u'b'), (u'10', u'10'), (u'21', u'21'),         (u'B', u'B'),  (u'40', u'40'), (u'10', u'10')],
1591                    ['L3', (u'b', u'b'), (u'2', u'2'),   (u'3.14', u'3.14'),     (u'c', u'c'),  (u'54', u'54'), (u'50', u'50')],
1592                    ['L4', (u'b', u'b'), (u'90', u'90'), (u'-2.240', u'-2.240'), (u'D', u'D'),  (u'40', u'40'), (u'5', u'5')],
1593                    ['L5', (u'a', u'a'), (u'95', u'95'), (u'20', u'20'),         (u'e', u'e'),  (u'40', u'40'), (u'10', u'10')],
1594                   ]
1595         self.example = example
1596         data = TupleDataset()
1597         data.columns = []
1598         data.columns.extend([Column('TEST', label='TEST')])
1599     
1600         for line in self.example:
1601             data.addRow([line[0]] + line[1:])
1602             data.columns.extend([Column(line[0], label=line[0])])
1603     
1604         self.data = data
1605 >       self.table = DataBrowserWidget(self.request)
1606 
1607 MoinMoin/widget/_tests/test_DataBrowserWidget.py:33: 
1608 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
1609 
1610 self = <MoinMoin.widget.browser.DataBrowserWidget instance at 0x474d320>
1611 request = <TestRequest 0 bytes [200 OK]>, show_header = True
1612 
1613     def __init__(self, request, show_header=True, **kw):
1614 >       _ = request.getText
1615 E       AttributeError: 'TestRequest' object has no attribute 'getText'
1616 
1617 MoinMoin/widget/browser.py:53: AttributeError
1618 ____ ERROR at setup of Test_DataBrowserWidget_sort_table.test_reverse_sort _____
1619 
1620 self = <class 'test_DataBrowserWidget.Test_DataBrowserWidget_sort_table'>
1621 
1622     def setup_class(self):
1623         # check if state of example changes during tests
1624         example = [['L1', (u'c', u'c'), (u'1', u'1'),   (u'2', u'2'),           (u'a', u'a'),  (u'4', u'4'),   (u'5', u'5')],
1625                    ['L2', (u'b', u'b'), (u'10', u'10'), (u'21', u'21'),         (u'B', u'B'),  (u'40', u'40'), (u'10', u'10')],
1626                    ['L3', (u'b', u'b'), (u'2', u'2'),   (u'3.14', u'3.14'),     (u'c', u'c'),  (u'54', u'54'), (u'50', u'50')],
1627                    ['L4', (u'b', u'b'), (u'90', u'90'), (u'-2.240', u'-2.240'), (u'D', u'D'),  (u'40', u'40'), (u'5', u'5')],
1628                    ['L5', (u'a', u'a'), (u'95', u'95'), (u'20', u'20'),         (u'e', u'e'),  (u'40', u'40'), (u'10', u'10')],
1629                   ]
1630         self.example = example
1631         data = TupleDataset()
1632         data.columns = []
1633         data.columns.extend([Column('TEST', label='TEST')])
1634     
1635         for line in self.example:
1636             data.addRow([line[0]] + line[1:])
1637             data.columns.extend([Column(line[0], label=line[0])])
1638     
1639         self.data = data
1640 >       self.table = DataBrowserWidget(self.request)
1641 
1642 MoinMoin/widget/_tests/test_DataBrowserWidget.py:33: 
1643 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
1644 
1645 self = <MoinMoin.widget.browser.DataBrowserWidget instance at 0x474d320>
1646 request = <TestRequest 0 bytes [200 OK]>, show_header = True
1647 
1648     def __init__(self, request, show_header=True, **kw):
1649 >       _ = request.getText
1650 E       AttributeError: 'TestRequest' object has no attribute 'getText'
1651 
1652 MoinMoin/widget/browser.py:53: AttributeError
1653  ERROR at setup of Test_DataBrowserWidget_sort_table.test_sort_and_reverse_by_a_different_column 
1654 
1655 self = <class 'test_DataBrowserWidget.Test_DataBrowserWidget_sort_table'>
1656 
1657     def setup_class(self):
1658         # check if state of example changes during tests
1659         example = [['L1', (u'c', u'c'), (u'1', u'1'),   (u'2', u'2'),           (u'a', u'a'),  (u'4', u'4'),   (u'5', u'5')],
1660                    ['L2', (u'b', u'b'), (u'10', u'10'), (u'21', u'21'),         (u'B', u'B'),  (u'40', u'40'), (u'10', u'10')],
1661                    ['L3', (u'b', u'b'), (u'2', u'2'),   (u'3.14', u'3.14'),     (u'c', u'c'),  (u'54', u'54'), (u'50', u'50')],
1662                    ['L4', (u'b', u'b'), (u'90', u'90'), (u'-2.240', u'-2.240'), (u'D', u'D'),  (u'40', u'40'), (u'5', u'5')],
1663                    ['L5', (u'a', u'a'), (u'95', u'95'), (u'20', u'20'),         (u'e', u'e'),  (u'40', u'40'), (u'10', u'10')],
1664                   ]
1665         self.example = example
1666         data = TupleDataset()
1667         data.columns = []
1668         data.columns.extend([Column('TEST', label='TEST')])
1669     
1670         for line in self.example:
1671             data.addRow([line[0]] + line[1:])
1672             data.columns.extend([Column(line[0], label=line[0])])
1673     
1674         self.data = data
1675 >       self.table = DataBrowserWidget(self.request)
1676 
1677 MoinMoin/widget/_tests/test_DataBrowserWidget.py:33: 
1678 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
1679 
1680 self = <MoinMoin.widget.browser.DataBrowserWidget instance at 0x474d320>
1681 request = <TestRequest 0 bytes [200 OK]>, show_header = True
1682 
1683     def __init__(self, request, show_header=True, **kw):
1684 >       _ = request.getText
1685 E       AttributeError: 'TestRequest' object has no attribute 'getText'
1686 
1687 MoinMoin/widget/browser.py:53: AttributeError
1688 =================================== FAILURES ===================================
1689 ________________________ TestCaching.test_update_needed ________________________
1690 
1691 self = <MoinMoin._tests.test_caching.TestCaching object at 0x3565190>
1692 
1693     def test_update_needed(self):
1694         """ test update check) """
1695         test_data1 = u'does not matter'
1696         test_data2 = u'something else'
1697         page_name = u'Caching_TestPage'
1698 >       become_trusted(self.request)
1699 
1700 MoinMoin/_tests/test_caching.py:68: 
1701 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
1702 
1703 request = <TestRequest 0 bytes [200 OK]>, username = u'TrustedUser'
1704 
1705     def become_trusted(request, username=u"TrustedUser"):
1706         """ modify request.user to make the user valid and trusted, so it is in acl group Trusted """
1707 >       become_valid(request, username)
1708 
1709 MoinMoin/_tests/__init__.py:37: 
1710 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
1711 
1712 request = <TestRequest 0 bytes [200 OK]>, username = u'TrustedUser'
1713 
1714     def become_valid(request, username=u"ValidUser"):
1715         """ modify request.user to make the user valid.
1716             Note that a valid user will only be in ACL special group "Known", if
1717             we have a user profile for this user as the ACL system will check if
1718             there is a userid for this username.
1719             Thus, for testing purposes (e.g. if you need delete rights), it is
1720             easier to use become_trusted().
1721         """
1722 >       request.user.name = username
1723 E       AttributeError: 'TestRequest' object has no attribute 'user'
1724 
1725 MoinMoin/_tests/__init__.py:30: AttributeError
1726 --------------------------------- Captured log ---------------------------------
1727 __init__.py                199 DEBUG    moin does not support any language client accepts
1728 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
1729 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
1730 session.py                 303 DEBUG    get_session for sid None
1731 session.py                 318 DEBUG    get_session returns session <MoinSession 7cab42edb07d5ac38e5ea7d2fcaf391adef27b8f {}>
1732 __init__.py                481 DEBUG    session started for user None
1733 __init__.py                466 DEBUG    setup_suid returns None, None
1734 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
1735 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x3a7acb0 name:'' valid:0>, setuid = None
1736 __init__.py                199 DEBUG    moin does not support any language client accepts
1737 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
1738 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
1739 session.py                 303 DEBUG    get_session for sid None
1740 session.py                 318 DEBUG    get_session returns session <MoinSession 83fee4720d89460af28a2a189e0ae40c73d3ecd0 {}>
1741 __init__.py                481 DEBUG    session started for user None
1742 __init__.py                466 DEBUG    setup_suid returns None, None
1743 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
1744 ------------------------------- Captured stderr --------------------------------
1745 2010-08-14 11:47:36,560 DEBUG MoinMoin:199 moin does not support any language client accepts
1746 2010-08-14 11:47:36,561 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
1747 2010-08-14 11:47:36,561 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
1748 2010-08-14 11:47:36,561 DEBUG MoinMoin.web.session:303 get_session for sid None
1749 2010-08-14 11:47:36,561 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 7cab42edb07d5ac38e5ea7d2fcaf391adef27b8f {}>
1750 2010-08-14 11:47:36,573 DEBUG MoinMoin.auth:481 session started for user None
1751 2010-08-14 11:47:36,573 DEBUG MoinMoin.auth:466 setup_suid returns None, None
1752 2010-08-14 11:47:36,574 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
1753 2010-08-14 11:47:36,585 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x3a7acb0 name:'' valid:0>, setuid = None
1754 2010-08-14 11:47:36,586 DEBUG MoinMoin:199 moin does not support any language client accepts
1755 2010-08-14 11:47:36,586 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
1756 2010-08-14 11:47:36,587 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
1757 2010-08-14 11:47:36,587 DEBUG MoinMoin.web.session:303 get_session for sid None
1758 2010-08-14 11:47:36,587 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 83fee4720d89460af28a2a189e0ae40c73d3ecd0 {}>
1759 2010-08-14 11:47:36,599 DEBUG MoinMoin.auth:481 session started for user None
1760 2010-08-14 11:47:36,599 DEBUG MoinMoin.auth:466 setup_suid returns None, None
1761 2010-08-14 11:47:36,600 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
1762 _____________ TestStorageEnvironWithoutConfig.test_fresh_backends ______________
1763 
1764 self = <MoinMoin._tests.test_test_environ.TestStorageEnvironWithoutConfig object at 0x3fe3610>
1765 
1766     def test_fresh_backends(self):
1767         assert self.class_level_value == 123
1768     
1769 >       assert isinstance(self.request.cfg, wikiconfig.Config)
1770 E       assert isinstance(<wikiconfig.LocalConfig object at 0x2bddb10>, <class 'MoinMoin._tests.wikiconfig.Config'>)
1771 E        +  where <wikiconfig.LocalConfig object at 0x2bddb10> = <TestRequest 0 bytes [200 OK]>.cfg
1772 E        +    where <TestRequest 0 bytes [200 OK]> = <MoinMoin._tests.test_test_environ.TestStorageEnvironWithoutConfig object at 0x3fe3610>.request
1773 E        +  and   <class 'MoinMoin._tests.wikiconfig.Config'> = wikiconfig.Config
1774 
1775 MoinMoin/_tests/test_test_environ.py:23: AssertionError
1776 --------------------------------- Captured log ---------------------------------
1777 __init__.py                199 DEBUG    moin does not support any language client accepts
1778 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
1779 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
1780 session.py                 303 DEBUG    get_session for sid None
1781 session.py                 318 DEBUG    get_session returns session <MoinSession 63176b10e2e1ab27994286ff9c643a76495bee84 {}>
1782 __init__.py                481 DEBUG    session started for user None
1783 __init__.py                466 DEBUG    setup_suid returns None, None
1784 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
1785 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x41d8d88 name:'' valid:0>, setuid = None
1786 __init__.py                199 DEBUG    moin does not support any language client accepts
1787 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
1788 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
1789 session.py                 303 DEBUG    get_session for sid None
1790 session.py                 318 DEBUG    get_session returns session <MoinSession 73e11d218a11ff798cc5e9a1a2bfd144a274b7a7 {}>
1791 __init__.py                481 DEBUG    session started for user None
1792 __init__.py                466 DEBUG    setup_suid returns None, None
1793 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
1794 __init__.py                199 DEBUG    moin does not support any language client accepts
1795 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
1796 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
1797 session.py                 303 DEBUG    get_session for sid None
1798 session.py                 318 DEBUG    get_session returns session <MoinSession d2de36b13f697e7f11aabfdab723695265e04cab {}>
1799 __init__.py                481 DEBUG    session started for user None
1800 __init__.py                466 DEBUG    setup_suid returns None, None
1801 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
1802 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x41e68c0 name:'' valid:0>, setuid = None
1803 __init__.py                199 DEBUG    moin does not support any language client accepts
1804 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
1805 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
1806 session.py                 303 DEBUG    get_session for sid None
1807 session.py                 318 DEBUG    get_session returns session <MoinSession 25bdcf02b16a39b51e66bb911cc88e4ec4886f64 {}>
1808 __init__.py                481 DEBUG    session started for user None
1809 __init__.py                466 DEBUG    setup_suid returns None, None
1810 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
1811 ------------------------------- Captured stderr --------------------------------
1812 2010-08-14 11:47:43,296 DEBUG MoinMoin:199 moin does not support any language client accepts
1813 2010-08-14 11:47:43,296 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
1814 2010-08-14 11:47:43,297 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
1815 2010-08-14 11:47:43,297 DEBUG MoinMoin.web.session:303 get_session for sid None
1816 2010-08-14 11:47:43,297 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 63176b10e2e1ab27994286ff9c643a76495bee84 {}>
1817 2010-08-14 11:47:43,308 DEBUG MoinMoin.auth:481 session started for user None
1818 2010-08-14 11:47:43,308 DEBUG MoinMoin.auth:466 setup_suid returns None, None
1819 2010-08-14 11:47:43,309 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
1820 2010-08-14 11:47:43,420 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x41d8d88 name:'' valid:0>, setuid = None
1821 2010-08-14 11:47:43,422 DEBUG MoinMoin:199 moin does not support any language client accepts
1822 2010-08-14 11:47:43,422 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
1823 2010-08-14 11:47:43,422 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
1824 2010-08-14 11:47:43,422 DEBUG MoinMoin.web.session:303 get_session for sid None
1825 2010-08-14 11:47:43,422 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 73e11d218a11ff798cc5e9a1a2bfd144a274b7a7 {}>
1826 2010-08-14 11:47:43,433 DEBUG MoinMoin.auth:481 session started for user None
1827 2010-08-14 11:47:43,433 DEBUG MoinMoin.auth:466 setup_suid returns None, None
1828 2010-08-14 11:47:43,433 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
1829 2010-08-14 11:47:43,445 DEBUG MoinMoin:199 moin does not support any language client accepts
1830 2010-08-14 11:47:43,445 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
1831 2010-08-14 11:47:43,445 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
1832 2010-08-14 11:47:43,446 DEBUG MoinMoin.web.session:303 get_session for sid None
1833 2010-08-14 11:47:43,446 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession d2de36b13f697e7f11aabfdab723695265e04cab {}>
1834 2010-08-14 11:47:43,456 DEBUG MoinMoin.auth:481 session started for user None
1835 2010-08-14 11:47:43,456 DEBUG MoinMoin.auth:466 setup_suid returns None, None
1836 2010-08-14 11:47:43,457 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
1837 2010-08-14 11:47:43,468 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x41e68c0 name:'' valid:0>, setuid = None
1838 2010-08-14 11:47:43,469 DEBUG MoinMoin:199 moin does not support any language client accepts
1839 2010-08-14 11:47:43,469 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
1840 2010-08-14 11:47:43,469 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
1841 2010-08-14 11:47:43,470 DEBUG MoinMoin.web.session:303 get_session for sid None
1842 2010-08-14 11:47:43,470 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 25bdcf02b16a39b51e66bb911cc88e4ec4886f64 {}>
1843 2010-08-14 11:47:43,480 DEBUG MoinMoin.auth:481 session started for user None
1844 2010-08-14 11:47:43,481 DEBUG MoinMoin.auth:466 setup_suid returns None, None
1845 2010-08-14 11:47:43,481 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
1846 __________________ TestStorageEnvironWithoutConfig.test_twice __________________
1847 
1848 self = <MoinMoin._tests.test_test_environ.TestStorageEnvironWithoutConfig object at 0x3be8ad0>
1849 
1850     def test_fresh_backends(self):
1851         assert self.class_level_value == 123
1852     
1853 >       assert isinstance(self.request.cfg, wikiconfig.Config)
1854 E       assert isinstance(<wikiconfig.LocalConfig object at 0x2bddb10>, <class 'MoinMoin._tests.wikiconfig.Config'>)
1855 E        +  where <wikiconfig.LocalConfig object at 0x2bddb10> = <TestRequest 0 bytes [200 OK]>.cfg
1856 E        +    where <TestRequest 0 bytes [200 OK]> = <MoinMoin._tests.test_test_environ.TestStorageEnvironWithoutConfig object at 0x3be8ad0>.request
1857 E        +  and   <class 'MoinMoin._tests.wikiconfig.Config'> = wikiconfig.Config
1858 
1859 MoinMoin/_tests/test_test_environ.py:23: AssertionError
1860 --------------------------------- Captured log ---------------------------------
1861 __init__.py                199 DEBUG    moin does not support any language client accepts
1862 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
1863 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
1864 session.py                 303 DEBUG    get_session for sid None
1865 session.py                 318 DEBUG    get_session returns session <MoinSession 7e698c8179dafca1164e2780a0aa682dc78b2914 {}>
1866 __init__.py                481 DEBUG    session started for user None
1867 __init__.py                466 DEBUG    setup_suid returns None, None
1868 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
1869 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x3be2680 name:'' valid:0>, setuid = None
1870 __init__.py                199 DEBUG    moin does not support any language client accepts
1871 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
1872 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
1873 session.py                 303 DEBUG    get_session for sid None
1874 session.py                 318 DEBUG    get_session returns session <MoinSession 38f3dbbbe7aa154b91449d4f8d2eb5cfcb0d5b18 {}>
1875 __init__.py                481 DEBUG    session started for user None
1876 __init__.py                466 DEBUG    setup_suid returns None, None
1877 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
1878 ------------------------------- Captured stderr --------------------------------
1879 2010-08-14 11:47:43,505 DEBUG MoinMoin:199 moin does not support any language client accepts
1880 2010-08-14 11:47:43,505 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
1881 2010-08-14 11:47:43,505 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
1882 2010-08-14 11:47:43,505 DEBUG MoinMoin.web.session:303 get_session for sid None
1883 2010-08-14 11:47:43,506 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 7e698c8179dafca1164e2780a0aa682dc78b2914 {}>
1884 2010-08-14 11:47:43,522 DEBUG MoinMoin.auth:481 session started for user None
1885 2010-08-14 11:47:43,522 DEBUG MoinMoin.auth:466 setup_suid returns None, None
1886 2010-08-14 11:47:43,523 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
1887 2010-08-14 11:47:43,533 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x3be2680 name:'' valid:0>, setuid = None
1888 2010-08-14 11:47:43,534 DEBUG MoinMoin:199 moin does not support any language client accepts
1889 2010-08-14 11:47:43,535 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
1890 2010-08-14 11:47:43,535 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
1891 2010-08-14 11:47:43,535 DEBUG MoinMoin.web.session:303 get_session for sid None
1892 2010-08-14 11:47:43,535 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 38f3dbbbe7aa154b91449d4f8d2eb5cfcb0d5b18 {}>
1893 2010-08-14 11:47:43,546 DEBUG MoinMoin.auth:481 session started for user None
1894 2010-08-14 11:47:43,546 DEBUG MoinMoin.auth:466 setup_suid returns None, None
1895 2010-08-14 11:47:43,546 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
1896 ________ TestStorageEnvironWithConfig.test_fresh_backends_with_content _________
1897 
1898 self = <MoinMoin._tests.test_test_environ.TestStorageEnvironWithConfig object at 0x3459250>
1899 
1900     def test_fresh_backends_with_content(self):
1901 >       assert isinstance(self.request.cfg, wikiconfig.Config)
1902 E       assert isinstance(<wikiconfig.LocalConfig object at 0x2bddb10>, <class 'MoinMoin._tests.wikiconfig.Config'>)
1903 E        +  where <wikiconfig.LocalConfig object at 0x2bddb10> = <TestRequest 0 bytes [200 OK]>.cfg
1904 E        +    where <TestRequest 0 bytes [200 OK]> = <MoinMoin._tests.test_test_environ.TestStorageEnvironWithConfig object at 0x3459250>.request
1905 E        +  and   <class 'MoinMoin._tests.wikiconfig.Config'> = wikiconfig.Config
1906 
1907 MoinMoin/_tests/test_test_environ.py:55: AssertionError
1908 --------------------------------- Captured log ---------------------------------
1909 __init__.py                199 DEBUG    moin does not support any language client accepts
1910 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
1911 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
1912 session.py                 303 DEBUG    get_session for sid None
1913 session.py                 318 DEBUG    get_session returns session <MoinSession 61ec779dceb143daf0471aa5e5c35667a76be9b2 {}>
1914 __init__.py                481 DEBUG    session started for user None
1915 __init__.py                466 DEBUG    setup_suid returns None, None
1916 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
1917 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x39606c8 name:'' valid:0>, setuid = None
1918 __init__.py                199 DEBUG    moin does not support any language client accepts
1919 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
1920 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
1921 session.py                 303 DEBUG    get_session for sid None
1922 session.py                 318 DEBUG    get_session returns session <MoinSession 209b9da64934b61bbb4e88d3cc14ac495f11dd7e {}>
1923 __init__.py                481 DEBUG    session started for user None
1924 __init__.py                466 DEBUG    setup_suid returns None, None
1925 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
1926 __init__.py                199 DEBUG    moin does not support any language client accepts
1927 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
1928 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
1929 session.py                 303 DEBUG    get_session for sid None
1930 session.py                 318 DEBUG    get_session returns session <MoinSession c6b1aac4587418f122400f25427f9de1d61b3d30 {}>
1931 __init__.py                481 DEBUG    session started for user None
1932 __init__.py                466 DEBUG    setup_suid returns None, None
1933 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
1934 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x3936050 name:'' valid:0>, setuid = None
1935 __init__.py                199 DEBUG    moin does not support any language client accepts
1936 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
1937 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
1938 session.py                 303 DEBUG    get_session for sid None
1939 session.py                 318 DEBUG    get_session returns session <MoinSession 138db41fc29b36c2e1c0562a61b2d4f4c801843e {}>
1940 __init__.py                481 DEBUG    session started for user None
1941 __init__.py                466 DEBUG    setup_suid returns None, None
1942 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
1943 ------------------------------- Captured stderr --------------------------------
1944 2010-08-14 11:47:43,570 DEBUG MoinMoin:199 moin does not support any language client accepts
1945 2010-08-14 11:47:43,570 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
1946 2010-08-14 11:47:43,570 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
1947 2010-08-14 11:47:43,570 DEBUG MoinMoin.web.session:303 get_session for sid None
1948 2010-08-14 11:47:43,571 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 61ec779dceb143daf0471aa5e5c35667a76be9b2 {}>
1949 2010-08-14 11:47:43,582 DEBUG MoinMoin.auth:481 session started for user None
1950 2010-08-14 11:47:43,582 DEBUG MoinMoin.auth:466 setup_suid returns None, None
1951 2010-08-14 11:47:43,582 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
1952 2010-08-14 11:47:43,593 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x39606c8 name:'' valid:0>, setuid = None
1953 2010-08-14 11:47:43,594 DEBUG MoinMoin:199 moin does not support any language client accepts
1954 2010-08-14 11:47:43,594 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
1955 2010-08-14 11:47:43,595 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
1956 2010-08-14 11:47:43,595 DEBUG MoinMoin.web.session:303 get_session for sid None
1957 2010-08-14 11:47:43,595 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 209b9da64934b61bbb4e88d3cc14ac495f11dd7e {}>
1958 2010-08-14 11:47:43,605 DEBUG MoinMoin.auth:481 session started for user None
1959 2010-08-14 11:47:43,606 DEBUG MoinMoin.auth:466 setup_suid returns None, None
1960 2010-08-14 11:47:43,606 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
1961 2010-08-14 11:47:43,618 DEBUG MoinMoin:199 moin does not support any language client accepts
1962 2010-08-14 11:47:43,618 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
1963 2010-08-14 11:47:43,619 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
1964 2010-08-14 11:47:43,619 DEBUG MoinMoin.web.session:303 get_session for sid None
1965 2010-08-14 11:47:43,619 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession c6b1aac4587418f122400f25427f9de1d61b3d30 {}>
1966 2010-08-14 11:47:43,635 DEBUG MoinMoin.auth:481 session started for user None
1967 2010-08-14 11:47:43,636 DEBUG MoinMoin.auth:466 setup_suid returns None, None
1968 2010-08-14 11:47:43,636 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
1969 2010-08-14 11:47:43,647 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x3936050 name:'' valid:0>, setuid = None
1970 2010-08-14 11:47:43,648 DEBUG MoinMoin:199 moin does not support any language client accepts
1971 2010-08-14 11:47:43,649 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
1972 2010-08-14 11:47:43,649 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
1973 2010-08-14 11:47:43,649 DEBUG MoinMoin.web.session:303 get_session for sid None
1974 2010-08-14 11:47:43,649 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 138db41fc29b36c2e1c0562a61b2d4f4c801843e {}>
1975 2010-08-14 11:47:43,660 DEBUG MoinMoin.auth:481 session started for user None
1976 2010-08-14 11:47:43,660 DEBUG MoinMoin.auth:466 setup_suid returns None, None
1977 2010-08-14 11:47:43,661 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
1978 ___________________ TestStorageEnvironWithConfig.test_twice ____________________
1979 
1980 self = <MoinMoin._tests.test_test_environ.TestStorageEnvironWithConfig object at 0x2f21990>
1981 
1982     def test_fresh_backends_with_content(self):
1983 >       assert isinstance(self.request.cfg, wikiconfig.Config)
1984 E       assert isinstance(<wikiconfig.LocalConfig object at 0x2bddb10>, <class 'MoinMoin._tests.wikiconfig.Config'>)
1985 E        +  where <wikiconfig.LocalConfig object at 0x2bddb10> = <TestRequest 0 bytes [200 OK]>.cfg
1986 E        +    where <TestRequest 0 bytes [200 OK]> = <MoinMoin._tests.test_test_environ.TestStorageEnvironWithConfig object at 0x2f21990>.request
1987 E        +  and   <class 'MoinMoin._tests.wikiconfig.Config'> = wikiconfig.Config
1988 
1989 MoinMoin/_tests/test_test_environ.py:55: AssertionError
1990 --------------------------------- Captured log ---------------------------------
1991 __init__.py                199 DEBUG    moin does not support any language client accepts
1992 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
1993 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
1994 session.py                 303 DEBUG    get_session for sid None
1995 session.py                 318 DEBUG    get_session returns session <MoinSession c9b81c9e59e1c5364cbb306f2fe74407f99c79f7 {}>
1996 __init__.py                481 DEBUG    session started for user None
1997 __init__.py                466 DEBUG    setup_suid returns None, None
1998 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
1999 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x3310638 name:'' valid:0>, setuid = None
2000 __init__.py                199 DEBUG    moin does not support any language client accepts
2001 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
2002 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
2003 session.py                 303 DEBUG    get_session for sid None
2004 session.py                 318 DEBUG    get_session returns session <MoinSession 87fd1bd444cf28587521197cff155bf452b9d1e9 {}>
2005 __init__.py                481 DEBUG    session started for user None
2006 __init__.py                466 DEBUG    setup_suid returns None, None
2007 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
2008 ------------------------------- Captured stderr --------------------------------
2009 2010-08-14 11:47:43,682 DEBUG MoinMoin:199 moin does not support any language client accepts
2010 2010-08-14 11:47:43,682 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
2011 2010-08-14 11:47:43,682 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
2012 2010-08-14 11:47:43,682 DEBUG MoinMoin.web.session:303 get_session for sid None
2013 2010-08-14 11:47:43,683 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession c9b81c9e59e1c5364cbb306f2fe74407f99c79f7 {}>
2014 2010-08-14 11:47:43,694 DEBUG MoinMoin.auth:481 session started for user None
2015 2010-08-14 11:47:43,694 DEBUG MoinMoin.auth:466 setup_suid returns None, None
2016 2010-08-14 11:47:43,694 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
2017 2010-08-14 11:47:43,706 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x3310638 name:'' valid:0>, setuid = None
2018 2010-08-14 11:47:43,707 DEBUG MoinMoin:199 moin does not support any language client accepts
2019 2010-08-14 11:47:43,707 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
2020 2010-08-14 11:47:43,707 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
2021 2010-08-14 11:47:43,708 DEBUG MoinMoin.web.session:303 get_session for sid None
2022 2010-08-14 11:47:43,708 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 87fd1bd444cf28587521197cff155bf452b9d1e9 {}>
2023 2010-08-14 11:47:43,719 DEBUG MoinMoin.auth:481 session started for user None
2024 2010-08-14 11:47:43,719 DEBUG MoinMoin.auth:466 setup_suid returns None, None
2025 2010-08-14 11:47:43,719 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
2026 ___________________________ TestTickets.testTickets ____________________________
2027 
2028 self = <MoinMoin._tests.test_wikiutil.TestTickets instance at 0x31c8a70>
2029 
2030     def testTickets(self):
2031         from MoinMoin.Page import Page
2032         # page name with double quotes
2033 >       self.request.page = Page(self.request, u'bla"bla')
2034 
2035 MoinMoin/_tests/test_wikiutil.py:40: 
2036 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
2037 
2038 self = <MoinMoin.Page.Page object at 0x3089a90>
2039 request = <TestRequest 0 bytes [200 OK]>, page_name = u'bla"bla'
2040 formatter = None
2041 
2042     def __init__(self, request, page_name, formatter=None, **kw):
2043         """ Create page object.
2044     
2045             Note that this is a 'lean' operation, since the text for the page
2046             is loaded on demand. Thus, things like `Page(name).link_to()` are
2047             efficient.
2048     
2049             @param page_name: WikiName of the page
2050             @keyword rev: number of older revision
2051             @keyword formatter: mimetype str,
2052                                 None or no kw arg will use default mimetype
2053             @keyword include_self: if 1, include current user (default: 0)
2054             """
2055         self.request = request
2056         self.cfg = request.cfg
2057         self.page_name = page_name
2058         self.rev = kw.get('rev', -1) # revision of this page
2059         self.include_self = kw.get('include_self', 0)
2060     
2061         if isinstance(formatter, basestring): # mimetype given
2062             mimetype = str(formatter)
2063         else:
2064             mimetype = 'text/html'
2065     
2066         self.output_mimetype = mimetype
2067         self.default_formatter = mimetype == "text/html"
2068     
2069         self.output_charset = config.charset # correct for wiki pages
2070     
2071         self._page_name_force = None
2072         self.hilite_re = None
2073     
2074 >       self._backend = request.storage
2075 E       AttributeError: 'TestRequest' object has no attribute 'storage'
2076 
2077 MoinMoin/Page.py:69: AttributeError
2078 --------------------------------- Captured log ---------------------------------
2079 __init__.py                199 DEBUG    moin does not support any language client accepts
2080 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
2081 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
2082 session.py                 303 DEBUG    get_session for sid None
2083 session.py                 318 DEBUG    get_session returns session <MoinSession 63ae71d8a77e0f043f9c9718bf0e01090c3419dc {}>
2084 __init__.py                481 DEBUG    session started for user None
2085 __init__.py                466 DEBUG    setup_suid returns None, None
2086 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
2087 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x31c8908 name:'' valid:0>, setuid = None
2088 __init__.py                199 DEBUG    moin does not support any language client accepts
2089 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
2090 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
2091 session.py                 303 DEBUG    get_session for sid None
2092 session.py                 318 DEBUG    get_session returns session <MoinSession bc09081cef047c9e6d525d7b0e377b058260660b {}>
2093 __init__.py                481 DEBUG    session started for user None
2094 __init__.py                466 DEBUG    setup_suid returns None, None
2095 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
2096 __init__.py                199 DEBUG    moin does not support any language client accepts
2097 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
2098 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
2099 session.py                 303 DEBUG    get_session for sid None
2100 session.py                 318 DEBUG    get_session returns session <MoinSession b962ceaa3c23778fbc0f1f62b2cf42872a7fa46d {}>
2101 __init__.py                481 DEBUG    session started for user None
2102 __init__.py                466 DEBUG    setup_suid returns None, None
2103 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
2104 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x30824d0 name:'' valid:0>, setuid = None
2105 __init__.py                199 DEBUG    moin does not support any language client accepts
2106 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
2107 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
2108 session.py                 303 DEBUG    get_session for sid None
2109 session.py                 318 DEBUG    get_session returns session <MoinSession f43eab2e3c0d78dae56739633026e694f0395b9d {}>
2110 __init__.py                481 DEBUG    session started for user None
2111 __init__.py                466 DEBUG    setup_suid returns None, None
2112 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
2113 ------------------------------- Captured stderr --------------------------------
2114 2010-08-14 11:47:45,258 DEBUG MoinMoin:199 moin does not support any language client accepts
2115 2010-08-14 11:47:45,259 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
2116 2010-08-14 11:47:45,260 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
2117 2010-08-14 11:47:45,260 DEBUG MoinMoin.web.session:303 get_session for sid None
2118 2010-08-14 11:47:45,261 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 63ae71d8a77e0f043f9c9718bf0e01090c3419dc {}>
2119 2010-08-14 11:47:45,271 DEBUG MoinMoin.auth:481 session started for user None
2120 2010-08-14 11:47:45,272 DEBUG MoinMoin.auth:466 setup_suid returns None, None
2121 2010-08-14 11:47:45,273 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
2122 2010-08-14 11:47:45,284 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x31c8908 name:'' valid:0>, setuid = None
2123 2010-08-14 11:47:45,286 DEBUG MoinMoin:199 moin does not support any language client accepts
2124 2010-08-14 11:47:45,286 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
2125 2010-08-14 11:47:45,287 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
2126 2010-08-14 11:47:45,287 DEBUG MoinMoin.web.session:303 get_session for sid None
2127 2010-08-14 11:47:45,288 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession bc09081cef047c9e6d525d7b0e377b058260660b {}>
2128 2010-08-14 11:47:45,299 DEBUG MoinMoin.auth:481 session started for user None
2129 2010-08-14 11:47:45,299 DEBUG MoinMoin.auth:466 setup_suid returns None, None
2130 2010-08-14 11:47:45,300 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
2131 2010-08-14 11:47:45,312 DEBUG MoinMoin:199 moin does not support any language client accepts
2132 2010-08-14 11:47:45,313 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
2133 2010-08-14 11:47:45,313 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
2134 2010-08-14 11:47:45,313 DEBUG MoinMoin.web.session:303 get_session for sid None
2135 2010-08-14 11:47:45,314 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession b962ceaa3c23778fbc0f1f62b2cf42872a7fa46d {}>
2136 2010-08-14 11:47:45,324 DEBUG MoinMoin.auth:481 session started for user None
2137 2010-08-14 11:47:45,325 DEBUG MoinMoin.auth:466 setup_suid returns None, None
2138 2010-08-14 11:47:45,326 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
2139 2010-08-14 11:47:45,343 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x30824d0 name:'' valid:0>, setuid = None
2140 2010-08-14 11:47:45,344 DEBUG MoinMoin:199 moin does not support any language client accepts
2141 2010-08-14 11:47:45,345 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
2142 2010-08-14 11:47:45,346 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
2143 2010-08-14 11:47:45,346 DEBUG MoinMoin.web.session:303 get_session for sid None
2144 2010-08-14 11:47:45,347 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession f43eab2e3c0d78dae56739633026e694f0395b9d {}>
2145 2010-08-14 11:47:45,357 DEBUG MoinMoin.auth:481 session started for user None
2146 2010-08-14 11:47:45,358 DEBUG MoinMoin.auth:466 setup_suid returns None, None
2147 2010-08-14 11:47:45,358 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
2148 ______________________ TestInterWiki.testResolveInterWiki ______________________
2149 
2150 self = <MoinMoin._tests.test_wikiutil.TestInterWiki instance at 0x41fd758>
2151 
2152     def testResolveInterWiki(self):
2153 >       result = wikiutil.resolve_interwiki(self.request, 'MoinMoin', 'SomePage')
2154 
2155 MoinMoin/_tests/test_wikiutil.py:90: 
2156 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
2157 
2158 request = <TestRequest 0 bytes [200 OK]>, wikiname = 'MoinMoin'
2159 pagename = 'SomePage'
2160 
2161     def resolve_interwiki(request, wikiname, pagename):
2162         """ Resolve an interwiki reference (wikiname:pagename).
2163     
2164         @param request: the request object
2165         @param wikiname: interwiki wiki name
2166         @param pagename: interwiki page name
2167         @rtype: tuple
2168         @return: (wikitag, wikiurl, wikitail, err)
2169         """
2170 >       _interwiki_list = load_wikimap(request)
2171 
2172 MoinMoin/wikiutil.py:550: 
2173 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
2174 
2175 request = <TestRequest 0 bytes [200 OK]>
2176 
2177     def load_wikimap(request):
2178         """ load interwiki map (once, and only on demand) """
2179         from MoinMoin.Page import Page
2180     
2181         now = int(time.time())
2182         if getattr(request.cfg, "shared_intermap_files", None) is None:
2183             generate_file_list(request)
2184     
2185         try:
2186             _interwiki_list = request.cfg.cache.interwiki_list
2187             old_mtime = request.cfg.cache.interwiki_mtime
2188             if request.cfg.cache.interwiki_ts + (1*60) < now: # 1 minutes caching time
2189                 max_mtime = get_max_mtime(request.cfg.shared_intermap_files, Page(request, INTERWIKI_PAGE))
2190                 if max_mtime > old_mtime:
2191                     raise AttributeError # refresh cache
2192                 else:
2193                     request.cfg.cache.interwiki_ts = now
2194         except AttributeError:
2195             _interwiki_list = {}
2196             lines = []
2197     
2198             for filename in request.cfg.shared_intermap_files:
2199                 f = codecs.open(filename, "r", config.charset)
2200                 lines.extend(f.readlines())
2201                 f.close()
2202     
2203             # add the contents of the InterWikiMap page
2204 >           lines += Page(request, INTERWIKI_PAGE).get_raw_body().splitlines()
2205 
2206 MoinMoin/wikiutil.py:496: 
2207 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
2208 
2209 self = <MoinMoin.Page.Page object at 0x3944550>
2210 request = <TestRequest 0 bytes [200 OK]>, page_name = 'InterWikiMap'
2211 formatter = None
2212 
2213     def __init__(self, request, page_name, formatter=None, **kw):
2214         """ Create page object.
2215     
2216             Note that this is a 'lean' operation, since the text for the page
2217             is loaded on demand. Thus, things like `Page(name).link_to()` are
2218             efficient.
2219     
2220             @param page_name: WikiName of the page
2221             @keyword rev: number of older revision
2222             @keyword formatter: mimetype str,
2223                                 None or no kw arg will use default mimetype
2224             @keyword include_self: if 1, include current user (default: 0)
2225             """
2226         self.request = request
2227         self.cfg = request.cfg
2228         self.page_name = page_name
2229         self.rev = kw.get('rev', -1) # revision of this page
2230         self.include_self = kw.get('include_self', 0)
2231     
2232         if isinstance(formatter, basestring): # mimetype given
2233             mimetype = str(formatter)
2234         else:
2235             mimetype = 'text/html'
2236     
2237         self.output_mimetype = mimetype
2238         self.default_formatter = mimetype == "text/html"
2239     
2240         self.output_charset = config.charset # correct for wiki pages
2241     
2242         self._page_name_force = None
2243         self.hilite_re = None
2244     
2245 >       self._backend = request.storage
2246 E       AttributeError: 'TestRequest' object has no attribute 'storage'
2247 
2248 MoinMoin/Page.py:69: AttributeError
2249 --------------------------------- Captured log ---------------------------------
2250 __init__.py                199 DEBUG    moin does not support any language client accepts
2251 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
2252 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
2253 session.py                 303 DEBUG    get_session for sid None
2254 session.py                 318 DEBUG    get_session returns session <MoinSession 5a1cfb8a24882c48e9905f504cc9ef34a765f254 {}>
2255 __init__.py                481 DEBUG    session started for user None
2256 __init__.py                466 DEBUG    setup_suid returns None, None
2257 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
2258 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x41d3f80 name:'' valid:0>, setuid = None
2259 __init__.py                199 DEBUG    moin does not support any language client accepts
2260 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
2261 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
2262 session.py                 303 DEBUG    get_session for sid None
2263 session.py                 318 DEBUG    get_session returns session <MoinSession 7589214676134e1b42959fdcc93a5e9510bc369f {}>
2264 __init__.py                481 DEBUG    session started for user None
2265 __init__.py                466 DEBUG    setup_suid returns None, None
2266 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
2267 ------------------------------- Captured stderr --------------------------------
2268 2010-08-14 11:47:45,678 DEBUG MoinMoin:199 moin does not support any language client accepts
2269 2010-08-14 11:47:45,678 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
2270 2010-08-14 11:47:45,679 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
2271 2010-08-14 11:47:45,679 DEBUG MoinMoin.web.session:303 get_session for sid None
2272 2010-08-14 11:47:45,680 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 5a1cfb8a24882c48e9905f504cc9ef34a765f254 {}>
2273 2010-08-14 11:47:45,696 DEBUG MoinMoin.auth:481 session started for user None
2274 2010-08-14 11:47:45,697 DEBUG MoinMoin.auth:466 setup_suid returns None, None
2275 2010-08-14 11:47:45,698 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
2276 2010-08-14 11:47:45,709 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x41d3f80 name:'' valid:0>, setuid = None
2277 2010-08-14 11:47:45,711 DEBUG MoinMoin:199 moin does not support any language client accepts
2278 2010-08-14 11:47:45,711 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
2279 2010-08-14 11:47:45,712 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
2280 2010-08-14 11:47:45,712 DEBUG MoinMoin.web.session:303 get_session for sid None
2281 2010-08-14 11:47:45,713 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 7589214676134e1b42959fdcc93a5e9510bc369f {}>
2282 2010-08-14 11:47:45,723 DEBUG MoinMoin.auth:481 session started for user None
2283 2010-08-14 11:47:45,724 DEBUG MoinMoin.auth:466 setup_suid returns None, None
2284 2010-08-14 11:47:45,724 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
2285 ________________________ TestSystemPage.testSystemPage _________________________
2286 
2287 self = <MoinMoin._tests.test_wikiutil.TestSystemPage instance at 0x41c7a28>
2288 
2289     def testSystemPage(self):
2290         """wikiutil: good system page names accepted, bad rejected"""
2291         for name in self.systemPages:
2292 >           assert wikiutil.isSystemPage(self.request, name)
2293 
2294 MoinMoin/_tests/test_wikiutil.py:109: 
2295 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
2296 
2297 request = <TestRequest 0 bytes [200 OK]>, pagename = 'HelpOnMoinWikiSyntax'
2298 
2299     def isSystemPage(request, pagename):
2300         """ Is this a system page?
2301     
2302         @param request: the request object
2303         @param pagename: the page name
2304         @rtype: bool
2305         @return: true if page is a system page
2306         """
2307         from MoinMoin.items import IS_SYSPAGE
2308         try:
2309 >           item = request.storage.get_item(pagename)
2310 E           AttributeError: 'TestRequest' object has no attribute 'storage'
2311 
2312 MoinMoin/wikiutil.py:588: AttributeError
2313 --------------------------------- Captured log ---------------------------------
2314 __init__.py                199 DEBUG    moin does not support any language client accepts
2315 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
2316 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
2317 session.py                 303 DEBUG    get_session for sid None
2318 session.py                 318 DEBUG    get_session returns session <MoinSession 91c2d4a5a40639d1ebd88ca35f034f02dc49b4e9 {}>
2319 __init__.py                481 DEBUG    session started for user None
2320 __init__.py                466 DEBUG    setup_suid returns None, None
2321 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
2322 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x41c7d88 name:'' valid:0>, setuid = None
2323 __init__.py                199 DEBUG    moin does not support any language client accepts
2324 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
2325 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
2326 session.py                 303 DEBUG    get_session for sid None
2327 session.py                 318 DEBUG    get_session returns session <MoinSession b608ba47c789216af15c80b66633dadc176b7b20 {}>
2328 __init__.py                481 DEBUG    session started for user None
2329 __init__.py                466 DEBUG    setup_suid returns None, None
2330 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
2331 __init__.py                199 DEBUG    moin does not support any language client accepts
2332 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
2333 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
2334 session.py                 303 DEBUG    get_session for sid None
2335 session.py                 318 DEBUG    get_session returns session <MoinSession 3404766215e1b19a7b52642d087c0aa4513fabb8 {}>
2336 __init__.py                481 DEBUG    session started for user None
2337 __init__.py                466 DEBUG    setup_suid returns None, None
2338 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
2339 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x3fcf3f8 name:'' valid:0>, setuid = None
2340 __init__.py                199 DEBUG    moin does not support any language client accepts
2341 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
2342 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
2343 session.py                 303 DEBUG    get_session for sid None
2344 session.py                 318 DEBUG    get_session returns session <MoinSession ac43a89a03a5f948ebb0ee18ae12ba86e203b88f {}>
2345 __init__.py                481 DEBUG    session started for user None
2346 __init__.py                466 DEBUG    setup_suid returns None, None
2347 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
2348 ------------------------------- Captured stderr --------------------------------
2349 2010-08-14 11:47:45,756 DEBUG MoinMoin:199 moin does not support any language client accepts
2350 2010-08-14 11:47:45,757 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
2351 2010-08-14 11:47:45,758 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
2352 2010-08-14 11:47:45,758 DEBUG MoinMoin.web.session:303 get_session for sid None
2353 2010-08-14 11:47:45,759 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 91c2d4a5a40639d1ebd88ca35f034f02dc49b4e9 {}>
2354 2010-08-14 11:47:45,770 DEBUG MoinMoin.auth:481 session started for user None
2355 2010-08-14 11:47:45,770 DEBUG MoinMoin.auth:466 setup_suid returns None, None
2356 2010-08-14 11:47:45,771 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
2357 2010-08-14 11:47:45,782 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x41c7d88 name:'' valid:0>, setuid = None
2358 2010-08-14 11:47:45,784 DEBUG MoinMoin:199 moin does not support any language client accepts
2359 2010-08-14 11:47:45,784 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
2360 2010-08-14 11:47:45,785 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
2361 2010-08-14 11:47:45,785 DEBUG MoinMoin.web.session:303 get_session for sid None
2362 2010-08-14 11:47:45,786 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession b608ba47c789216af15c80b66633dadc176b7b20 {}>
2363 2010-08-14 11:47:45,796 DEBUG MoinMoin.auth:481 session started for user None
2364 2010-08-14 11:47:45,797 DEBUG MoinMoin.auth:466 setup_suid returns None, None
2365 2010-08-14 11:47:45,798 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
2366 2010-08-14 11:47:45,811 DEBUG MoinMoin:199 moin does not support any language client accepts
2367 2010-08-14 11:47:45,811 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
2368 2010-08-14 11:47:45,812 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
2369 2010-08-14 11:47:45,812 DEBUG MoinMoin.web.session:303 get_session for sid None
2370 2010-08-14 11:47:45,813 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 3404766215e1b19a7b52642d087c0aa4513fabb8 {}>
2371 2010-08-14 11:47:45,831 DEBUG MoinMoin.auth:481 session started for user None
2372 2010-08-14 11:47:45,831 DEBUG MoinMoin.auth:466 setup_suid returns None, None
2373 2010-08-14 11:47:45,832 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
2374 2010-08-14 11:47:45,843 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x3fcf3f8 name:'' valid:0>, setuid = None
2375 2010-08-14 11:47:45,845 DEBUG MoinMoin:199 moin does not support any language client accepts
2376 2010-08-14 11:47:45,847 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
2377 2010-08-14 11:47:45,847 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
2378 2010-08-14 11:47:45,848 DEBUG MoinMoin.web.session:303 get_session for sid None
2379 2010-08-14 11:47:45,848 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession ac43a89a03a5f948ebb0ee18ae12ba86e203b88f {}>
2380 2010-08-14 11:47:45,865 DEBUG MoinMoin.auth:481 session started for user None
2381 2010-08-14 11:47:45,865 DEBUG MoinMoin.auth:466 setup_suid returns None, None
2382 2010-08-14 11:47:45,866 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
2383 ________________________ TestArgGetters.testGetBoolean _________________________
2384 
2385 self = <MoinMoin._tests.test_wikiutil.TestArgGetters instance at 0x31d1cb0>
2386 
2387     def testGetBoolean(self):
2388         tests = [
2389             # default testing for None value
2390             (None, None, None, None),
2391             (None, None, False, False),
2392             (None, None, True, True),
2393     
2394             # some real values
2395             (u'0', None, None, False),
2396             (u'1', None, None, True),
2397             (u'false', None, None, False),
2398             (u'true', None, None, True),
2399             (u'FALSE', None, None, False),
2400             (u'TRUE', None, None, True),
2401             (u'no', None, None, False),
2402             (u'yes', None, None, True),
2403             (u'NO', None, None, False),
2404             (u'YES', None, None, True),
2405         ]
2406         for arg, name, default, expected in tests:
2407 >           assert wikiutil.get_bool(self.request, arg, name, default) == expected
2408 
2409 MoinMoin/_tests/test_wikiutil.py:545: 
2410 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
2411 
2412 request = <TestRequest 0 bytes [200 OK]>, arg = None, name = None
2413 default = None
2414 
2415     def get_bool(request, arg, name=None, default=None):
2416         """
2417         For use with values returned from parse_quoted_separated or given
2418         as macro parameters, return a boolean from a unicode string.
2419         Valid input is 'true'/'false', 'yes'/'no' and '1'/'0' or None for
2420         the default value.
2421     
2422         @param request: A request instance
2423         @param arg: The argument, may be None or a unicode string
2424         @param name: Name of the argument, for error messages
2425         @param default: default value if arg is None
2426         @rtype: boolean or None
2427         @returns: the boolean value of the string according to above rules
2428                   (or default value)
2429         """
2430 >       _ = request.getText
2431 E       AttributeError: 'TestRequest' object has no attribute 'getText'
2432 
2433 MoinMoin/wikiutil.py:1465: AttributeError
2434 --------------------------------- Captured log ---------------------------------
2435 __init__.py                199 DEBUG    moin does not support any language client accepts
2436 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
2437 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
2438 session.py                 303 DEBUG    get_session for sid None
2439 session.py                 318 DEBUG    get_session returns session <MoinSession 6011af42ce2f6469f672818b5863f4a67896f156 {}>
2440 __init__.py                481 DEBUG    session started for user None
2441 __init__.py                466 DEBUG    setup_suid returns None, None
2442 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
2443 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x3d14440 name:'' valid:0>, setuid = None
2444 __init__.py                199 DEBUG    moin does not support any language client accepts
2445 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
2446 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
2447 session.py                 303 DEBUG    get_session for sid None
2448 session.py                 318 DEBUG    get_session returns session <MoinSession 1d63a1e4e2e8e7c4733081cc64020ae6d202a3a6 {}>
2449 __init__.py                481 DEBUG    session started for user None
2450 __init__.py                466 DEBUG    setup_suid returns None, None
2451 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
2452 __init__.py                199 DEBUG    moin does not support any language client accepts
2453 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
2454 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
2455 session.py                 303 DEBUG    get_session for sid None
2456 session.py                 318 DEBUG    get_session returns session <MoinSession b2ff9d43576b92afe8f64bd67af21a5c51f8caf6 {}>
2457 __init__.py                481 DEBUG    session started for user None
2458 __init__.py                466 DEBUG    setup_suid returns None, None
2459 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
2460 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x3aaa128 name:'' valid:0>, setuid = None
2461 __init__.py                199 DEBUG    moin does not support any language client accepts
2462 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
2463 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
2464 session.py                 303 DEBUG    get_session for sid None
2465 session.py                 318 DEBUG    get_session returns session <MoinSession cdb74706a7080801840290f13d022586692df3bc {}>
2466 __init__.py                481 DEBUG    session started for user None
2467 __init__.py                466 DEBUG    setup_suid returns None, None
2468 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
2469 ------------------------------- Captured stderr --------------------------------
2470 2010-08-14 11:47:47,666 DEBUG MoinMoin:199 moin does not support any language client accepts
2471 2010-08-14 11:47:47,667 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
2472 2010-08-14 11:47:47,667 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
2473 2010-08-14 11:47:47,668 DEBUG MoinMoin.web.session:303 get_session for sid None
2474 2010-08-14 11:47:47,668 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 6011af42ce2f6469f672818b5863f4a67896f156 {}>
2475 2010-08-14 11:47:47,679 DEBUG MoinMoin.auth:481 session started for user None
2476 2010-08-14 11:47:47,679 DEBUG MoinMoin.auth:466 setup_suid returns None, None
2477 2010-08-14 11:47:47,680 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
2478 2010-08-14 11:47:47,696 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x3d14440 name:'' valid:0>, setuid = None
2479 2010-08-14 11:47:47,697 DEBUG MoinMoin:199 moin does not support any language client accepts
2480 2010-08-14 11:47:47,698 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
2481 2010-08-14 11:47:47,698 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
2482 2010-08-14 11:47:47,699 DEBUG MoinMoin.web.session:303 get_session for sid None
2483 2010-08-14 11:47:47,700 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 1d63a1e4e2e8e7c4733081cc64020ae6d202a3a6 {}>
2484 2010-08-14 11:47:47,710 DEBUG MoinMoin.auth:481 session started for user None
2485 2010-08-14 11:47:47,711 DEBUG MoinMoin.auth:466 setup_suid returns None, None
2486 2010-08-14 11:47:47,711 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
2487 2010-08-14 11:47:47,723 DEBUG MoinMoin:199 moin does not support any language client accepts
2488 2010-08-14 11:47:47,724 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
2489 2010-08-14 11:47:47,724 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
2490 2010-08-14 11:47:47,725 DEBUG MoinMoin.web.session:303 get_session for sid None
2491 2010-08-14 11:47:47,726 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession b2ff9d43576b92afe8f64bd67af21a5c51f8caf6 {}>
2492 2010-08-14 11:47:47,736 DEBUG MoinMoin.auth:481 session started for user None
2493 2010-08-14 11:47:47,736 DEBUG MoinMoin.auth:466 setup_suid returns None, None
2494 2010-08-14 11:47:47,737 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
2495 2010-08-14 11:47:47,749 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x3aaa128 name:'' valid:0>, setuid = None
2496 2010-08-14 11:47:47,750 DEBUG MoinMoin:199 moin does not support any language client accepts
2497 2010-08-14 11:47:47,751 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
2498 2010-08-14 11:47:47,751 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
2499 2010-08-14 11:47:47,752 DEBUG MoinMoin.web.session:303 get_session for sid None
2500 2010-08-14 11:47:47,752 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession cdb74706a7080801840290f13d022586692df3bc {}>
2501 2010-08-14 11:47:47,763 DEBUG MoinMoin.auth:481 session started for user None
2502 2010-08-14 11:47:47,763 DEBUG MoinMoin.auth:466 setup_suid returns None, None
2503 2010-08-14 11:47:47,764 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
2504 _____________________ TestArgGetters.testGetBooleanRaising _____________________
2505 
2506 self = <MoinMoin._tests.test_wikiutil.TestArgGetters instance at 0x477ea28>
2507 
2508     def testGetBooleanRaising(self):
2509         # wrong default type
2510 >       py.test.raises(AssertionError, wikiutil.get_bool, self.request, None, None, 42)
2511 
2512 MoinMoin/_tests/test_wikiutil.py:549: 
2513 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
2514 
2515 request = <TestRequest 0 bytes [200 OK]>, arg = None, name = None, default = 42
2516 
2517     def get_bool(request, arg, name=None, default=None):
2518         """
2519         For use with values returned from parse_quoted_separated or given
2520         as macro parameters, return a boolean from a unicode string.
2521         Valid input is 'true'/'false', 'yes'/'no' and '1'/'0' or None for
2522         the default value.
2523     
2524         @param request: A request instance
2525         @param arg: The argument, may be None or a unicode string
2526         @param name: Name of the argument, for error messages
2527         @param default: default value if arg is None
2528         @rtype: boolean or None
2529         @returns: the boolean value of the string according to above rules
2530                   (or default value)
2531         """
2532 >       _ = request.getText
2533 E       AttributeError: 'TestRequest' object has no attribute 'getText'
2534 
2535 MoinMoin/wikiutil.py:1465: AttributeError
2536 --------------------------------- Captured log ---------------------------------
2537 __init__.py                199 DEBUG    moin does not support any language client accepts
2538 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
2539 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
2540 session.py                 303 DEBUG    get_session for sid None
2541 session.py                 318 DEBUG    get_session returns session <MoinSession b8877e58918ef8c8b8d3ccb89561e6f669442a55 {}>
2542 __init__.py                481 DEBUG    session started for user None
2543 __init__.py                466 DEBUG    setup_suid returns None, None
2544 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
2545 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x48bb290 name:'' valid:0>, setuid = None
2546 __init__.py                199 DEBUG    moin does not support any language client accepts
2547 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
2548 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
2549 session.py                 303 DEBUG    get_session for sid None
2550 session.py                 318 DEBUG    get_session returns session <MoinSession e07355b512d4bae8fe741e70e7814c987a1d3bfe {}>
2551 __init__.py                481 DEBUG    session started for user None
2552 __init__.py                466 DEBUG    setup_suid returns None, None
2553 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
2554 ------------------------------- Captured stderr --------------------------------
2555 2010-08-14 11:47:47,789 DEBUG MoinMoin:199 moin does not support any language client accepts
2556 2010-08-14 11:47:47,789 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
2557 2010-08-14 11:47:47,790 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
2558 2010-08-14 11:47:47,790 DEBUG MoinMoin.web.session:303 get_session for sid None
2559 2010-08-14 11:47:47,791 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession b8877e58918ef8c8b8d3ccb89561e6f669442a55 {}>
2560 2010-08-14 11:47:47,801 DEBUG MoinMoin.auth:481 session started for user None
2561 2010-08-14 11:47:47,802 DEBUG MoinMoin.auth:466 setup_suid returns None, None
2562 2010-08-14 11:47:47,803 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
2563 2010-08-14 11:47:47,820 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x48bb290 name:'' valid:0>, setuid = None
2564 2010-08-14 11:47:47,822 DEBUG MoinMoin:199 moin does not support any language client accepts
2565 2010-08-14 11:47:47,822 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
2566 2010-08-14 11:47:47,823 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
2567 2010-08-14 11:47:47,823 DEBUG MoinMoin.web.session:303 get_session for sid None
2568 2010-08-14 11:47:47,824 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession e07355b512d4bae8fe741e70e7814c987a1d3bfe {}>
2569 2010-08-14 11:47:47,834 DEBUG MoinMoin.auth:481 session started for user None
2570 2010-08-14 11:47:47,835 DEBUG MoinMoin.auth:466 setup_suid returns None, None
2571 2010-08-14 11:47:47,836 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
2572 __________________________ TestArgGetters.testGetInt ___________________________
2573 
2574 self = <MoinMoin._tests.test_wikiutil.TestArgGetters instance at 0x4b81368>
2575 
2576     def testGetInt(self):
2577         tests = [
2578             # default testing for None value
2579             (None, None, None, None),
2580             (None, None, -23, -23),
2581             (None, None, 42, 42),
2582     
2583             # some real values
2584             (u'0', None, None, 0),
2585             (u'42', None, None, 42),
2586             (u'-23', None, None, -23),
2587         ]
2588         for arg, name, default, expected in tests:
2589 >           assert wikiutil.get_int(self.request, arg, name, default) == expected
2590 
2591 MoinMoin/_tests/test_wikiutil.py:579: 
2592 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
2593 
2594 request = <TestRequest 0 bytes [200 OK]>, arg = None, name = None
2595 default = None
2596 
2597     def get_int(request, arg, name=None, default=None):
2598         """
2599         For use with values returned from parse_quoted_separated or given
2600         as macro parameters, return an integer from a unicode string
2601         containing the decimal representation of a number.
2602         None is a valid input and yields the default value.
2603     
2604         @param request: A request instance
2605         @param arg: The argument, may be None or a unicode string
2606         @param name: Name of the argument, for error messages
2607         @param default: default value if arg is None
2608         @rtype: int or None
2609         @returns: the integer value of the string (or default value)
2610         """
2611 >       _ = request.getText
2612 E       AttributeError: 'TestRequest' object has no attribute 'getText'
2613 
2614 MoinMoin/wikiutil.py:1500: AttributeError
2615 --------------------------------- Captured log ---------------------------------
2616 __init__.py                199 DEBUG    moin does not support any language client accepts
2617 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
2618 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
2619 session.py                 303 DEBUG    get_session for sid None
2620 session.py                 318 DEBUG    get_session returns session <MoinSession c207106cd5d81067a170858dad6a33a122d3cd52 {}>
2621 __init__.py                481 DEBUG    session started for user None
2622 __init__.py                466 DEBUG    setup_suid returns None, None
2623 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
2624 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x48bbe18 name:'' valid:0>, setuid = None
2625 __init__.py                199 DEBUG    moin does not support any language client accepts
2626 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
2627 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
2628 session.py                 303 DEBUG    get_session for sid None
2629 session.py                 318 DEBUG    get_session returns session <MoinSession 448c494dbb7b1d8f8a89cb9035a356fd13c78b88 {}>
2630 __init__.py                481 DEBUG    session started for user None
2631 __init__.py                466 DEBUG    setup_suid returns None, None
2632 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
2633 ------------------------------- Captured stderr --------------------------------
2634 2010-08-14 11:47:47,858 DEBUG MoinMoin:199 moin does not support any language client accepts
2635 2010-08-14 11:47:47,859 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
2636 2010-08-14 11:47:47,860 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
2637 2010-08-14 11:47:47,860 DEBUG MoinMoin.web.session:303 get_session for sid None
2638 2010-08-14 11:47:47,861 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession c207106cd5d81067a170858dad6a33a122d3cd52 {}>
2639 2010-08-14 11:47:47,871 DEBUG MoinMoin.auth:481 session started for user None
2640 2010-08-14 11:47:47,872 DEBUG MoinMoin.auth:466 setup_suid returns None, None
2641 2010-08-14 11:47:47,872 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
2642 2010-08-14 11:47:47,884 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x48bbe18 name:'' valid:0>, setuid = None
2643 2010-08-14 11:47:47,885 DEBUG MoinMoin:199 moin does not support any language client accepts
2644 2010-08-14 11:47:47,886 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
2645 2010-08-14 11:47:47,886 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
2646 2010-08-14 11:47:47,887 DEBUG MoinMoin.web.session:303 get_session for sid None
2647 2010-08-14 11:47:47,887 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 448c494dbb7b1d8f8a89cb9035a356fd13c78b88 {}>
2648 2010-08-14 11:47:47,898 DEBUG MoinMoin.auth:481 session started for user None
2649 2010-08-14 11:47:47,898 DEBUG MoinMoin.auth:466 setup_suid returns None, None
2650 2010-08-14 11:47:47,899 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
2651 _______________________ TestArgGetters.testGetIntRaising _______________________
2652 
2653 self = <MoinMoin._tests.test_wikiutil.TestArgGetters instance at 0x3d1fef0>
2654 
2655     def testGetIntRaising(self):
2656         # wrong default type
2657 >       py.test.raises(AssertionError, wikiutil.get_int, self.request, None, None, 42.23)
2658 
2659 MoinMoin/_tests/test_wikiutil.py:583: 
2660 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
2661 
2662 request = <TestRequest 0 bytes [200 OK]>, arg = None, name = None
2663 default = 42.229999999999997
2664 
2665     def get_int(request, arg, name=None, default=None):
2666         """
2667         For use with values returned from parse_quoted_separated or given
2668         as macro parameters, return an integer from a unicode string
2669         containing the decimal representation of a number.
2670         None is a valid input and yields the default value.
2671     
2672         @param request: A request instance
2673         @param arg: The argument, may be None or a unicode string
2674         @param name: Name of the argument, for error messages
2675         @param default: default value if arg is None
2676         @rtype: int or None
2677         @returns: the integer value of the string (or default value)
2678         """
2679 >       _ = request.getText
2680 E       AttributeError: 'TestRequest' object has no attribute 'getText'
2681 
2682 MoinMoin/wikiutil.py:1500: AttributeError
2683 --------------------------------- Captured log ---------------------------------
2684 __init__.py                199 DEBUG    moin does not support any language client accepts
2685 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
2686 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
2687 session.py                 303 DEBUG    get_session for sid None
2688 session.py                 318 DEBUG    get_session returns session <MoinSession 555f56d68d812de7c2e10c8774bf55a0f1de64eb {}>
2689 __init__.py                481 DEBUG    session started for user None
2690 __init__.py                466 DEBUG    setup_suid returns None, None
2691 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
2692 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x4771b00 name:'' valid:0>, setuid = None
2693 __init__.py                199 DEBUG    moin does not support any language client accepts
2694 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
2695 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
2696 session.py                 303 DEBUG    get_session for sid None
2697 session.py                 318 DEBUG    get_session returns session <MoinSession d8924e84f65f56d78c1a34659a2520c07416166e {}>
2698 __init__.py                481 DEBUG    session started for user None
2699 __init__.py                466 DEBUG    setup_suid returns None, None
2700 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
2701 ------------------------------- Captured stderr --------------------------------
2702 2010-08-14 11:47:47,923 DEBUG MoinMoin:199 moin does not support any language client accepts
2703 2010-08-14 11:47:47,923 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
2704 2010-08-14 11:47:47,924 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
2705 2010-08-14 11:47:47,924 DEBUG MoinMoin.web.session:303 get_session for sid None
2706 2010-08-14 11:47:47,925 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 555f56d68d812de7c2e10c8774bf55a0f1de64eb {}>
2707 2010-08-14 11:47:47,935 DEBUG MoinMoin.auth:481 session started for user None
2708 2010-08-14 11:47:47,936 DEBUG MoinMoin.auth:466 setup_suid returns None, None
2709 2010-08-14 11:47:47,936 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
2710 2010-08-14 11:47:47,954 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x4771b00 name:'' valid:0>, setuid = None
2711 2010-08-14 11:47:47,956 DEBUG MoinMoin:199 moin does not support any language client accepts
2712 2010-08-14 11:47:47,956 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
2713 2010-08-14 11:47:47,957 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
2714 2010-08-14 11:47:47,957 DEBUG MoinMoin.web.session:303 get_session for sid None
2715 2010-08-14 11:47:47,958 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession d8924e84f65f56d78c1a34659a2520c07416166e {}>
2716 2010-08-14 11:47:47,968 DEBUG MoinMoin.auth:481 session started for user None
2717 2010-08-14 11:47:47,969 DEBUG MoinMoin.auth:466 setup_suid returns None, None
2718 2010-08-14 11:47:47,970 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
2719 _________________________ TestArgGetters.testGetFloat __________________________
2720 
2721 self = <MoinMoin._tests.test_wikiutil.TestArgGetters instance at 0x3fcfb90>
2722 
2723     def testGetFloat(self):
2724         tests = [
2725             # default testing for None value
2726             (None, None, None, None),
2727             (None, None, -23.42, -23.42),
2728             (None, None, 42.23, 42.23),
2729     
2730             # some real values
2731             (u'0', None, None, 0),
2732             (u'42.23', None, None, 42.23),
2733             (u'-23.42', None, None, -23.42),
2734             (u'-23.42E3', None, None, -23.42E3),
2735             (u'23.42E-3', None, None, 23.42E-3),
2736         ]
2737         for arg, name, default, expected in tests:
2738 >           assert wikiutil.get_float(self.request, arg, name, default) == expected
2739 
2740 MoinMoin/_tests/test_wikiutil.py:615: 
2741 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
2742 
2743 request = <TestRequest 0 bytes [200 OK]>, arg = None, name = None
2744 default = None
2745 
2746     def get_float(request, arg, name=None, default=None):
2747         """
2748         For use with values returned from parse_quoted_separated or given
2749         as macro parameters, return a float from a unicode string.
2750         None is a valid input and yields the default value.
2751     
2752         @param request: A request instance
2753         @param arg: The argument, may be None or a unicode string
2754         @param name: Name of the argument, for error messages
2755         @param default: default return value if arg is None
2756         @rtype: float or None
2757         @returns: the float value of the string (or default value)
2758         """
2759 >       _ = request.getText
2760 E       AttributeError: 'TestRequest' object has no attribute 'getText'
2761 
2762 MoinMoin/wikiutil.py:1531: AttributeError
2763 --------------------------------- Captured log ---------------------------------
2764 __init__.py                199 DEBUG    moin does not support any language client accepts
2765 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
2766 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
2767 session.py                 303 DEBUG    get_session for sid None
2768 session.py                 318 DEBUG    get_session returns session <MoinSession 66d0bec288e9c3351c824422f024e41e90b5d61c {}>
2769 __init__.py                481 DEBUG    session started for user None
2770 __init__.py                466 DEBUG    setup_suid returns None, None
2771 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
2772 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x537a368 name:'' valid:0>, setuid = None
2773 __init__.py                199 DEBUG    moin does not support any language client accepts
2774 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
2775 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
2776 session.py                 303 DEBUG    get_session for sid None
2777 session.py                 318 DEBUG    get_session returns session <MoinSession 72e75d34f38f8e0f934839a0d62ad53be91229da {}>
2778 __init__.py                481 DEBUG    session started for user None
2779 __init__.py                466 DEBUG    setup_suid returns None, None
2780 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
2781 ------------------------------- Captured stderr --------------------------------
2782 2010-08-14 11:47:47,993 DEBUG MoinMoin:199 moin does not support any language client accepts
2783 2010-08-14 11:47:47,993 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
2784 2010-08-14 11:47:47,994 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
2785 2010-08-14 11:47:47,994 DEBUG MoinMoin.web.session:303 get_session for sid None
2786 2010-08-14 11:47:47,995 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 66d0bec288e9c3351c824422f024e41e90b5d61c {}>
2787 2010-08-14 11:47:48,005 DEBUG MoinMoin.auth:481 session started for user None
2788 2010-08-14 11:47:48,006 DEBUG MoinMoin.auth:466 setup_suid returns None, None
2789 2010-08-14 11:47:48,007 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
2790 2010-08-14 11:47:48,018 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x537a368 name:'' valid:0>, setuid = None
2791 2010-08-14 11:47:48,020 DEBUG MoinMoin:199 moin does not support any language client accepts
2792 2010-08-14 11:47:48,020 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
2793 2010-08-14 11:47:48,021 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
2794 2010-08-14 11:47:48,021 DEBUG MoinMoin.web.session:303 get_session for sid None
2795 2010-08-14 11:47:48,022 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 72e75d34f38f8e0f934839a0d62ad53be91229da {}>
2796 2010-08-14 11:47:48,032 DEBUG MoinMoin.auth:481 session started for user None
2797 2010-08-14 11:47:48,033 DEBUG MoinMoin.auth:466 setup_suid returns None, None
2798 2010-08-14 11:47:48,034 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
2799 ______________________ TestArgGetters.testGetFloatRaising ______________________
2800 
2801 self = <MoinMoin._tests.test_wikiutil.TestArgGetters instance at 0x53755f0>
2802 
2803     def testGetFloatRaising(self):
2804         # wrong default type
2805 >       py.test.raises(AssertionError, wikiutil.get_float, self.request, None, None, u'42')
2806 
2807 MoinMoin/_tests/test_wikiutil.py:619: 
2808 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
2809 
2810 request = <TestRequest 0 bytes [200 OK]>, arg = None, name = None
2811 default = u'42'
2812 
2813     def get_float(request, arg, name=None, default=None):
2814         """
2815         For use with values returned from parse_quoted_separated or given
2816         as macro parameters, return a float from a unicode string.
2817         None is a valid input and yields the default value.
2818     
2819         @param request: A request instance
2820         @param arg: The argument, may be None or a unicode string
2821         @param name: Name of the argument, for error messages
2822         @param default: default return value if arg is None
2823         @rtype: float or None
2824         @returns: the float value of the string (or default value)
2825         """
2826 >       _ = request.getText
2827 E       AttributeError: 'TestRequest' object has no attribute 'getText'
2828 
2829 MoinMoin/wikiutil.py:1531: AttributeError
2830 --------------------------------- Captured log ---------------------------------
2831 __init__.py                199 DEBUG    moin does not support any language client accepts
2832 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
2833 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
2834 session.py                 303 DEBUG    get_session for sid None
2835 session.py                 318 DEBUG    get_session returns session <MoinSession ce63b631869d3b9ae877f6280ba787b0662e630d {}>
2836 __init__.py                481 DEBUG    session started for user None
2837 __init__.py                466 DEBUG    setup_suid returns None, None
2838 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
2839 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x5235ef0 name:'' valid:0>, setuid = None
2840 __init__.py                199 DEBUG    moin does not support any language client accepts
2841 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
2842 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
2843 session.py                 303 DEBUG    get_session for sid None
2844 session.py                 318 DEBUG    get_session returns session <MoinSession 4fe5efa41eae24815a989fd9e299736b4d5c76d8 {}>
2845 __init__.py                481 DEBUG    session started for user None
2846 __init__.py                466 DEBUG    setup_suid returns None, None
2847 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
2848 ------------------------------- Captured stderr --------------------------------
2849 2010-08-14 11:47:48,058 DEBUG MoinMoin:199 moin does not support any language client accepts
2850 2010-08-14 11:47:48,058 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
2851 2010-08-14 11:47:48,059 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
2852 2010-08-14 11:47:48,059 DEBUG MoinMoin.web.session:303 get_session for sid None
2853 2010-08-14 11:47:48,060 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession ce63b631869d3b9ae877f6280ba787b0662e630d {}>
2854 2010-08-14 11:47:48,070 DEBUG MoinMoin.auth:481 session started for user None
2855 2010-08-14 11:47:48,071 DEBUG MoinMoin.auth:466 setup_suid returns None, None
2856 2010-08-14 11:47:48,072 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
2857 2010-08-14 11:47:48,089 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x5235ef0 name:'' valid:0>, setuid = None
2858 2010-08-14 11:47:48,091 DEBUG MoinMoin:199 moin does not support any language client accepts
2859 2010-08-14 11:47:48,091 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
2860 2010-08-14 11:47:48,092 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
2861 2010-08-14 11:47:48,093 DEBUG MoinMoin.web.session:303 get_session for sid None
2862 2010-08-14 11:47:48,093 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 4fe5efa41eae24815a989fd9e299736b4d5c76d8 {}>
2863 2010-08-14 11:47:48,104 DEBUG MoinMoin.auth:481 session started for user None
2864 2010-08-14 11:47:48,104 DEBUG MoinMoin.auth:466 setup_suid returns None, None
2865 2010-08-14 11:47:48,105 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
2866 ________________________ TestArgGetters.testGetComplex _________________________
2867 
2868 self = <MoinMoin._tests.test_wikiutil.TestArgGetters instance at 0x41c0ef0>
2869 
2870     def testGetComplex(self):
2871         tests = [
2872             # default testing for None value
2873             (None, None, None, None),
2874             (None, None, -23.42, -23.42),
2875             (None, None, 42.23, 42.23),
2876     
2877             # some real values
2878             (u'0', None, None, 0),
2879             (u'42.23', None, None, 42.23),
2880             (u'-23.42', None, None, -23.42),
2881             (u'-23.42E3', None, None, -23.42E3),
2882             (u'23.42E-3', None, None, 23.42E-3),
2883             (u'23.42E-3+3.04j', None, None, 23.42E-3+3.04j),
2884             (u'3.04j', None, None, 3.04j),
2885             (u'-3.04j', None, None, -3.04j),
2886             (u'23.42E-3+3.04i', None, None, 23.42E-3+3.04j),
2887             (u'3.04i', None, None, 3.04j),
2888             (u'-3.04i', None, None, -3.04j),
2889             (u'-3', None, None, -3L),
2890             (u'-300000000000000000000', None, None, -300000000000000000000L),
2891         ]
2892         for arg, name, default, expected in tests:
2893 >           assert wikiutil.get_complex(self.request, arg, name, default) == expected
2894 
2895 MoinMoin/_tests/test_wikiutil.py:658: 
2896 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
2897 
2898 request = <TestRequest 0 bytes [200 OK]>, arg = None, name = None
2899 default = None
2900 
2901     def get_complex(request, arg, name=None, default=None):
2902         """
2903         For use with values returned from parse_quoted_separated or given
2904         as macro parameters, return a complex from a unicode string.
2905         None is a valid input and yields the default value.
2906     
2907         @param request: A request instance
2908         @param arg: The argument, may be None or a unicode string
2909         @param name: Name of the argument, for error messages
2910         @param default: default return value if arg is None
2911         @rtype: complex or None
2912         @returns: the complex value of the string (or default value)
2913         """
2914 >       _ = request.getText
2915 E       AttributeError: 'TestRequest' object has no attribute 'getText'
2916 
2917 MoinMoin/wikiutil.py:1562: AttributeError
2918 --------------------------------- Captured log ---------------------------------
2919 __init__.py                199 DEBUG    moin does not support any language client accepts
2920 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
2921 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
2922 session.py                 303 DEBUG    get_session for sid None
2923 session.py                 318 DEBUG    get_session returns session <MoinSession 6baa418f9fff60fabc1ed83582dc707b519a1fb9 {}>
2924 __init__.py                481 DEBUG    session started for user None
2925 __init__.py                466 DEBUG    setup_suid returns None, None
2926 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
2927 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x4caedd0 name:'' valid:0>, setuid = None
2928 __init__.py                199 DEBUG    moin does not support any language client accepts
2929 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
2930 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
2931 session.py                 303 DEBUG    get_session for sid None
2932 session.py                 318 DEBUG    get_session returns session <MoinSession a4a1b38dd83f11c826c99d404a0742602de5f698 {}>
2933 __init__.py                481 DEBUG    session started for user None
2934 __init__.py                466 DEBUG    setup_suid returns None, None
2935 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
2936 ------------------------------- Captured stderr --------------------------------
2937 2010-08-14 11:47:48,128 DEBUG MoinMoin:199 moin does not support any language client accepts
2938 2010-08-14 11:47:48,129 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
2939 2010-08-14 11:47:48,129 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
2940 2010-08-14 11:47:48,130 DEBUG MoinMoin.web.session:303 get_session for sid None
2941 2010-08-14 11:47:48,130 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 6baa418f9fff60fabc1ed83582dc707b519a1fb9 {}>
2942 2010-08-14 11:47:48,141 DEBUG MoinMoin.auth:481 session started for user None
2943 2010-08-14 11:47:48,141 DEBUG MoinMoin.auth:466 setup_suid returns None, None
2944 2010-08-14 11:47:48,142 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
2945 2010-08-14 11:47:48,154 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x4caedd0 name:'' valid:0>, setuid = None
2946 2010-08-14 11:47:48,155 DEBUG MoinMoin:199 moin does not support any language client accepts
2947 2010-08-14 11:47:48,156 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
2948 2010-08-14 11:47:48,156 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
2949 2010-08-14 11:47:48,157 DEBUG MoinMoin.web.session:303 get_session for sid None
2950 2010-08-14 11:47:48,158 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession a4a1b38dd83f11c826c99d404a0742602de5f698 {}>
2951 2010-08-14 11:47:48,168 DEBUG MoinMoin.auth:481 session started for user None
2952 2010-08-14 11:47:48,168 DEBUG MoinMoin.auth:466 setup_suid returns None, None
2953 2010-08-14 11:47:48,169 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
2954 _____________________ TestArgGetters.testGetComplexRaising _____________________
2955 
2956 self = <MoinMoin._tests.test_wikiutil.TestArgGetters instance at 0x4602098>
2957 
2958     def testGetComplexRaising(self):
2959         # wrong default type
2960 >       py.test.raises(AssertionError, wikiutil.get_complex, self.request, None, None, u'42')
2961 
2962 MoinMoin/_tests/test_wikiutil.py:662: 
2963 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
2964 
2965 request = <TestRequest 0 bytes [200 OK]>, arg = None, name = None
2966 default = u'42'
2967 
2968     def get_complex(request, arg, name=None, default=None):
2969         """
2970         For use with values returned from parse_quoted_separated or given
2971         as macro parameters, return a complex from a unicode string.
2972         None is a valid input and yields the default value.
2973     
2974         @param request: A request instance
2975         @param arg: The argument, may be None or a unicode string
2976         @param name: Name of the argument, for error messages
2977         @param default: default return value if arg is None
2978         @rtype: complex or None
2979         @returns: the complex value of the string (or default value)
2980         """
2981 >       _ = request.getText
2982 E       AttributeError: 'TestRequest' object has no attribute 'getText'
2983 
2984 MoinMoin/wikiutil.py:1562: AttributeError
2985 --------------------------------- Captured log ---------------------------------
2986 __init__.py                199 DEBUG    moin does not support any language client accepts
2987 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
2988 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
2989 session.py                 303 DEBUG    get_session for sid None
2990 session.py                 318 DEBUG    get_session returns session <MoinSession 737aeb5ba255ec00e621cc88262783534e5a346d {}>
2991 __init__.py                481 DEBUG    session started for user None
2992 __init__.py                466 DEBUG    setup_suid returns None, None
2993 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
2994 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x48a0908 name:'' valid:0>, setuid = None
2995 __init__.py                199 DEBUG    moin does not support any language client accepts
2996 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
2997 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
2998 session.py                 303 DEBUG    get_session for sid None
2999 session.py                 318 DEBUG    get_session returns session <MoinSession 97fcb58982c050129ce2d3d75eed71d6161e58d6 {}>
3000 __init__.py                481 DEBUG    session started for user None
3001 __init__.py                466 DEBUG    setup_suid returns None, None
3002 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
3003 ------------------------------- Captured stderr --------------------------------
3004 2010-08-14 11:47:48,194 DEBUG MoinMoin:199 moin does not support any language client accepts
3005 2010-08-14 11:47:48,194 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
3006 2010-08-14 11:47:48,195 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
3007 2010-08-14 11:47:48,195 DEBUG MoinMoin.web.session:303 get_session for sid None
3008 2010-08-14 11:47:48,196 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 737aeb5ba255ec00e621cc88262783534e5a346d {}>
3009 2010-08-14 11:47:48,206 DEBUG MoinMoin.auth:481 session started for user None
3010 2010-08-14 11:47:48,207 DEBUG MoinMoin.auth:466 setup_suid returns None, None
3011 2010-08-14 11:47:48,207 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
3012 2010-08-14 11:47:48,224 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x48a0908 name:'' valid:0>, setuid = None
3013 2010-08-14 11:47:48,373 DEBUG MoinMoin:199 moin does not support any language client accepts
3014 2010-08-14 11:47:48,374 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
3015 2010-08-14 11:47:48,375 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
3016 2010-08-14 11:47:48,375 DEBUG MoinMoin.web.session:303 get_session for sid None
3017 2010-08-14 11:47:48,376 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 97fcb58982c050129ce2d3d75eed71d6161e58d6 {}>
3018 2010-08-14 11:47:48,387 DEBUG MoinMoin.auth:481 session started for user None
3019 2010-08-14 11:47:48,387 DEBUG MoinMoin.auth:466 setup_suid returns None, None
3020 2010-08-14 11:47:48,388 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
3021 _______________________ TestExtensionInvoking.testInvoke _______________________
3022 
3023 self = <MoinMoin._tests.test_wikiutil.TestExtensionInvoking instance at 0x44bf1b8>
3024 
3025     def testInvoke(self):
3026         def _test_invoke_int(i=int):
3027             assert i == 1
3028     
3029         def _test_invoke_int_fixed(a, b, i=int):
3030             assert a == 7
3031             assert b == 8
3032             assert i == 1 or i is None
3033     
3034         ief = wikiutil.invoke_extension_function
3035 >       ief(self.request, self._test_invoke_bool, u'False')
3036 
3037 MoinMoin/_tests/test_wikiutil.py:756: 
3038 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
3039 
3040 request = <TestRequest 0 bytes [200 OK]>
3041 function = <bound method TestExtensionInvoking._test_invoke_bool of <MoinMoin._tests.test_wikiutil.TestExtensionInvoking instance at 0x44bf1b8>>
3042 args = u'False', fixed_args = []
3043 
3044     def invoke_extension_function(request, function, args, fixed_args=[]):
3045         """
3046         Parses arguments for an extension call and calls the extension
3047         function with the arguments.
3048     
3049         If the macro function has a default value that is a bool,
3050         int, long, float or unicode object, then the given value
3051         is converted to the type of that default value before passing
3052         it to the macro function. That way, macros need not call the
3053         wikiutil.get_* functions for any arguments that have a default.
3054     
3055         @param request: the request object
3056         @param function: the function to invoke
3057         @param args: unicode string with arguments (or evaluating to False)
3058         @param fixed_args: fixed arguments to pass as the first arguments
3059         @returns: the return value from the function called
3060         """
3061         from inspect import getargspec, isfunction, isclass, ismethod
3062     
3063         def _convert_arg(request, value, default, name=None):
3064             """
3065             Using the get_* functions, convert argument to the type of the default
3066             if that is any of bool, int, long, float or unicode; if the default
3067             is the type itself then convert to that type (keeps None) or if the
3068             default is a list require one of the list items.
3069     
3070             In other cases return the value itself.
3071             """
3072             # if extending this, extend required_arg as well!
3073             if isinstance(default, bool):
3074                 return get_bool(request, value, name, default)
3075             elif isinstance(default, (int, long)):
3076                 return get_int(request, value, name, default)
3077             elif isinstance(default, float):
3078                 return get_float(request, value, name, default)
3079             elif isinstance(default, complex):
3080                 return get_complex(request, value, name, default)
3081             elif isinstance(default, unicode):
3082                 return get_unicode(request, value, name, default)
3083             elif isinstance(default, (tuple, list)):
3084                 return get_choice(request, value, name, default)
3085             elif default is bool:
3086                 return get_bool(request, value, name)
3087             elif default is int or default is long:
3088                 return get_int(request, value, name)
3089             elif default is float:
3090                 return get_float(request, value, name)
3091             elif default is complex:
3092                 return get_complex(request, value, name)
3093             elif isinstance(default, IEFArgument):
3094                 # defaults handled later
3095                 if value is None:
3096                     return None
3097                 return default.parse_argument(value)
3098             elif isinstance(default, required_arg):
3099                 if isinstance(default.argtype, (tuple, list)):
3100                     # treat choice specially and return None if no choice
3101                     # is given in the value
3102                     return get_choice(request, value, name, list(default.argtype),
3103                            default_none=True)
3104                 else:
3105                     return _convert_arg(request, value, default.argtype, name)
3106             return value
3107     
3108         assert isinstance(fixed_args, (list, tuple))
3109     
3110 >       _ = request.getText
3111 E       AttributeError: 'TestRequest' object has no attribute 'getText'
3112 
3113 MoinMoin/wikiutil.py:1798: AttributeError
3114 --------------------------------- Captured log ---------------------------------
3115 __init__.py                199 DEBUG    moin does not support any language client accepts
3116 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
3117 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
3118 session.py                 303 DEBUG    get_session for sid None
3119 session.py                 318 DEBUG    get_session returns session <MoinSession d67a2fe02792bde1500a1a2f7679eda31bbbcf6f {}>
3120 __init__.py                481 DEBUG    session started for user None
3121 __init__.py                466 DEBUG    setup_suid returns None, None
3122 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
3123 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x3a8c440 name:'' valid:0>, setuid = None
3124 __init__.py                199 DEBUG    moin does not support any language client accepts
3125 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
3126 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
3127 session.py                 303 DEBUG    get_session for sid None
3128 session.py                 318 DEBUG    get_session returns session <MoinSession fde3215311f22bda4ace4020f1e82891f7914cd5 {}>
3129 __init__.py                481 DEBUG    session started for user None
3130 __init__.py                466 DEBUG    setup_suid returns None, None
3131 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
3132 __init__.py                199 DEBUG    moin does not support any language client accepts
3133 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
3134 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
3135 session.py                 303 DEBUG    get_session for sid None
3136 session.py                 318 DEBUG    get_session returns session <MoinSession ee0bd04e98fb833c83334f75371c3021ef6120ac {}>
3137 __init__.py                481 DEBUG    session started for user None
3138 __init__.py                466 DEBUG    setup_suid returns None, None
3139 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
3140 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x50db4d0 name:'' valid:0>, setuid = None
3141 __init__.py                199 DEBUG    moin does not support any language client accepts
3142 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
3143 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
3144 session.py                 303 DEBUG    get_session for sid None
3145 session.py                 318 DEBUG    get_session returns session <MoinSession c8ad603af6005c0db9ca7615264756d80d369d0e {}>
3146 __init__.py                481 DEBUG    session started for user None
3147 __init__.py                466 DEBUG    setup_suid returns None, None
3148 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
3149 ------------------------------- Captured stderr --------------------------------
3150 2010-08-14 11:47:48,553 DEBUG MoinMoin:199 moin does not support any language client accepts
3151 2010-08-14 11:47:48,554 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
3152 2010-08-14 11:47:48,554 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
3153 2010-08-14 11:47:48,555 DEBUG MoinMoin.web.session:303 get_session for sid None
3154 2010-08-14 11:47:48,555 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession d67a2fe02792bde1500a1a2f7679eda31bbbcf6f {}>
3155 2010-08-14 11:47:48,566 DEBUG MoinMoin.auth:481 session started for user None
3156 2010-08-14 11:47:48,566 DEBUG MoinMoin.auth:466 setup_suid returns None, None
3157 2010-08-14 11:47:48,567 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
3158 2010-08-14 11:47:48,579 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x3a8c440 name:'' valid:0>, setuid = None
3159 2010-08-14 11:47:48,581 DEBUG MoinMoin:199 moin does not support any language client accepts
3160 2010-08-14 11:47:48,581 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
3161 2010-08-14 11:47:48,582 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
3162 2010-08-14 11:47:48,582 DEBUG MoinMoin.web.session:303 get_session for sid None
3163 2010-08-14 11:47:48,583 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession fde3215311f22bda4ace4020f1e82891f7914cd5 {}>
3164 2010-08-14 11:47:48,594 DEBUG MoinMoin.auth:481 session started for user None
3165 2010-08-14 11:47:48,594 DEBUG MoinMoin.auth:466 setup_suid returns None, None
3166 2010-08-14 11:47:48,595 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
3167 2010-08-14 11:47:48,607 DEBUG MoinMoin:199 moin does not support any language client accepts
3168 2010-08-14 11:47:48,607 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
3169 2010-08-14 11:47:48,608 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
3170 2010-08-14 11:47:48,608 DEBUG MoinMoin.web.session:303 get_session for sid None
3171 2010-08-14 11:47:48,609 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession ee0bd04e98fb833c83334f75371c3021ef6120ac {}>
3172 2010-08-14 11:47:48,619 DEBUG MoinMoin.auth:481 session started for user None
3173 2010-08-14 11:47:48,620 DEBUG MoinMoin.auth:466 setup_suid returns None, None
3174 2010-08-14 11:47:48,621 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
3175 2010-08-14 11:47:48,640 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x50db4d0 name:'' valid:0>, setuid = None
3176 2010-08-14 11:47:48,641 DEBUG MoinMoin:199 moin does not support any language client accepts
3177 2010-08-14 11:47:48,642 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
3178 2010-08-14 11:47:48,642 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
3179 2010-08-14 11:47:48,643 DEBUG MoinMoin.web.session:303 get_session for sid None
3180 2010-08-14 11:47:48,643 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession c8ad603af6005c0db9ca7615264756d80d369d0e {}>
3181 2010-08-14 11:47:48,654 DEBUG MoinMoin.auth:481 session started for user None
3182 2010-08-14 11:47:48,654 DEBUG MoinMoin.auth:466 setup_suid returns None, None
3183 2010-08-14 11:47:48,655 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
3184 ____________________ TestExtensionInvoking.testConstructors ____________________
3185 
3186 self = <MoinMoin._tests.test_wikiutil.TestExtensionInvoking instance at 0x4b62a28>
3187 
3188     def testConstructors(self):
3189         ief = wikiutil.invoke_extension_function
3190     
3191         # new style class
3192         class TEST1(object):
3193             def __init__(self, a=int):
3194                 self.constructed = True
3195                 assert a == 7
3196     
3197         class TEST2(TEST1):
3198             pass
3199     
3200 >       obj = ief(self.request, TEST1, u'a=7')
3201 
3202 MoinMoin/_tests/test_wikiutil.py:834: 
3203 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
3204 
3205 request = <TestRequest 0 bytes [200 OK]>
3206 function = <class 'MoinMoin._tests.test_wikiutil.TEST1'>, args = u'a=7'
3207 fixed_args = []
3208 
3209     def invoke_extension_function(request, function, args, fixed_args=[]):
3210         """
3211         Parses arguments for an extension call and calls the extension
3212         function with the arguments.
3213     
3214         If the macro function has a default value that is a bool,
3215         int, long, float or unicode object, then the given value
3216         is converted to the type of that default value before passing
3217         it to the macro function. That way, macros need not call the
3218         wikiutil.get_* functions for any arguments that have a default.
3219     
3220         @param request: the request object
3221         @param function: the function to invoke
3222         @param args: unicode string with arguments (or evaluating to False)
3223         @param fixed_args: fixed arguments to pass as the first arguments
3224         @returns: the return value from the function called
3225         """
3226         from inspect import getargspec, isfunction, isclass, ismethod
3227     
3228         def _convert_arg(request, value, default, name=None):
3229             """
3230             Using the get_* functions, convert argument to the type of the default
3231             if that is any of bool, int, long, float or unicode; if the default
3232             is the type itself then convert to that type (keeps None) or if the
3233             default is a list require one of the list items.
3234     
3235             In other cases return the value itself.
3236             """
3237             # if extending this, extend required_arg as well!
3238             if isinstance(default, bool):
3239                 return get_bool(request, value, name, default)
3240             elif isinstance(default, (int, long)):
3241                 return get_int(request, value, name, default)
3242             elif isinstance(default, float):
3243                 return get_float(request, value, name, default)
3244             elif isinstance(default, complex):
3245                 return get_complex(request, value, name, default)
3246             elif isinstance(default, unicode):
3247                 return get_unicode(request, value, name, default)
3248             elif isinstance(default, (tuple, list)):
3249                 return get_choice(request, value, name, default)
3250             elif default is bool:
3251                 return get_bool(request, value, name)
3252             elif default is int or default is long:
3253                 return get_int(request, value, name)
3254             elif default is float:
3255                 return get_float(request, value, name)
3256             elif default is complex:
3257                 return get_complex(request, value, name)
3258             elif isinstance(default, IEFArgument):
3259                 # defaults handled later
3260                 if value is None:
3261                     return None
3262                 return default.parse_argument(value)
3263             elif isinstance(default, required_arg):
3264                 if isinstance(default.argtype, (tuple, list)):
3265                     # treat choice specially and return None if no choice
3266                     # is given in the value
3267                     return get_choice(request, value, name, list(default.argtype),
3268                            default_none=True)
3269                 else:
3270                     return _convert_arg(request, value, default.argtype, name)
3271             return value
3272     
3273         assert isinstance(fixed_args, (list, tuple))
3274     
3275 >       _ = request.getText
3276 E       AttributeError: 'TestRequest' object has no attribute 'getText'
3277 
3278 MoinMoin/wikiutil.py:1798: AttributeError
3279 --------------------------------- Captured log ---------------------------------
3280 __init__.py                199 DEBUG    moin does not support any language client accepts
3281 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
3282 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
3283 session.py                 303 DEBUG    get_session for sid None
3284 session.py                 318 DEBUG    get_session returns session <MoinSession 9c98627fc8675f5237b03137fc2bbb08ccda01ae {}>
3285 __init__.py                481 DEBUG    session started for user None
3286 __init__.py                466 DEBUG    setup_suid returns None, None
3287 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
3288 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x474d200 name:'' valid:0>, setuid = None
3289 __init__.py                199 DEBUG    moin does not support any language client accepts
3290 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
3291 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
3292 session.py                 303 DEBUG    get_session for sid None
3293 session.py                 318 DEBUG    get_session returns session <MoinSession 5cc59217a09b1be283092dad490c0cd0af56cfe6 {}>
3294 __init__.py                481 DEBUG    session started for user None
3295 __init__.py                466 DEBUG    setup_suid returns None, None
3296 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
3297 ------------------------------- Captured stderr --------------------------------
3298 2010-08-14 11:47:48,680 DEBUG MoinMoin:199 moin does not support any language client accepts
3299 2010-08-14 11:47:48,681 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
3300 2010-08-14 11:47:48,682 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
3301 2010-08-14 11:47:48,682 DEBUG MoinMoin.web.session:303 get_session for sid None
3302 2010-08-14 11:47:48,683 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 9c98627fc8675f5237b03137fc2bbb08ccda01ae {}>
3303 2010-08-14 11:47:48,693 DEBUG MoinMoin.auth:481 session started for user None
3304 2010-08-14 11:47:48,694 DEBUG MoinMoin.auth:466 setup_suid returns None, None
3305 2010-08-14 11:47:48,694 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
3306 2010-08-14 11:47:48,706 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x474d200 name:'' valid:0>, setuid = None
3307 2010-08-14 11:47:48,708 DEBUG MoinMoin:199 moin does not support any language client accepts
3308 2010-08-14 11:47:48,708 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
3309 2010-08-14 11:47:48,709 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
3310 2010-08-14 11:47:48,709 DEBUG MoinMoin.web.session:303 get_session for sid None
3311 2010-08-14 11:47:48,710 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 5cc59217a09b1be283092dad490c0cd0af56cfe6 {}>
3312 2010-08-14 11:47:48,720 DEBUG MoinMoin.auth:481 session started for user None
3313 2010-08-14 11:47:48,721 DEBUG MoinMoin.auth:466 setup_suid returns None, None
3314 2010-08-14 11:47:48,722 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
3315 ______________________ TestExtensionInvoking.testFailing _______________________
3316 
3317 self = <MoinMoin._tests.test_wikiutil.TestExtensionInvoking instance at 0x31c8f80>
3318 
3319     def testFailing(self):
3320         ief = wikiutil.invoke_extension_function
3321     
3322 >       py.test.raises(TypeError, ief, self.request, hex, u'15')
3323 
3324 MoinMoin/_tests/test_wikiutil.py:868: 
3325 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
3326 
3327 request = <TestRequest 0 bytes [200 OK]>, function = <built-in function hex>
3328 args = u'15', fixed_args = []
3329 
3330     def invoke_extension_function(request, function, args, fixed_args=[]):
3331         """
3332         Parses arguments for an extension call and calls the extension
3333         function with the arguments.
3334     
3335         If the macro function has a default value that is a bool,
3336         int, long, float or unicode object, then the given value
3337         is converted to the type of that default value before passing
3338         it to the macro function. That way, macros need not call the
3339         wikiutil.get_* functions for any arguments that have a default.
3340     
3341         @param request: the request object
3342         @param function: the function to invoke
3343         @param args: unicode string with arguments (or evaluating to False)
3344         @param fixed_args: fixed arguments to pass as the first arguments
3345         @returns: the return value from the function called
3346         """
3347         from inspect import getargspec, isfunction, isclass, ismethod
3348     
3349         def _convert_arg(request, value, default, name=None):
3350             """
3351             Using the get_* functions, convert argument to the type of the default
3352             if that is any of bool, int, long, float or unicode; if the default
3353             is the type itself then convert to that type (keeps None) or if the
3354             default is a list require one of the list items.
3355     
3356             In other cases return the value itself.
3357             """
3358             # if extending this, extend required_arg as well!
3359             if isinstance(default, bool):
3360                 return get_bool(request, value, name, default)
3361             elif isinstance(default, (int, long)):
3362                 return get_int(request, value, name, default)
3363             elif isinstance(default, float):
3364                 return get_float(request, value, name, default)
3365             elif isinstance(default, complex):
3366                 return get_complex(request, value, name, default)
3367             elif isinstance(default, unicode):
3368                 return get_unicode(request, value, name, default)
3369             elif isinstance(default, (tuple, list)):
3370                 return get_choice(request, value, name, default)
3371             elif default is bool:
3372                 return get_bool(request, value, name)
3373             elif default is int or default is long:
3374                 return get_int(request, value, name)
3375             elif default is float:
3376                 return get_float(request, value, name)
3377             elif default is complex:
3378                 return get_complex(request, value, name)
3379             elif isinstance(default, IEFArgument):
3380                 # defaults handled later
3381                 if value is None:
3382                     return None
3383                 return default.parse_argument(value)
3384             elif isinstance(default, required_arg):
3385                 if isinstance(default.argtype, (tuple, list)):
3386                     # treat choice specially and return None if no choice
3387                     # is given in the value
3388                     return get_choice(request, value, name, list(default.argtype),
3389                            default_none=True)
3390                 else:
3391                     return _convert_arg(request, value, default.argtype, name)
3392             return value
3393     
3394         assert isinstance(fixed_args, (list, tuple))
3395     
3396 >       _ = request.getText
3397 E       AttributeError: 'TestRequest' object has no attribute 'getText'
3398 
3399 MoinMoin/wikiutil.py:1798: AttributeError
3400 --------------------------------- Captured log ---------------------------------
3401 __init__.py                199 DEBUG    moin does not support any language client accepts
3402 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
3403 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
3404 session.py                 303 DEBUG    get_session for sid None
3405 session.py                 318 DEBUG    get_session returns session <MoinSession e33c72d6d771f5ae41af6aebeadbd83be94e8731 {}>
3406 __init__.py                481 DEBUG    session started for user None
3407 __init__.py                466 DEBUG    setup_suid returns None, None
3408 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
3409 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x3a81ab8 name:'' valid:0>, setuid = None
3410 __init__.py                199 DEBUG    moin does not support any language client accepts
3411 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
3412 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
3413 session.py                 303 DEBUG    get_session for sid None
3414 session.py                 318 DEBUG    get_session returns session <MoinSession 33b2628e8f11d1d97bab5b7677ed2038e37921c0 {}>
3415 __init__.py                481 DEBUG    session started for user None
3416 __init__.py                466 DEBUG    setup_suid returns None, None
3417 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
3418 ------------------------------- Captured stderr --------------------------------
3419 2010-08-14 11:47:48,745 DEBUG MoinMoin:199 moin does not support any language client accepts
3420 2010-08-14 11:47:48,746 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
3421 2010-08-14 11:47:48,746 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
3422 2010-08-14 11:47:48,747 DEBUG MoinMoin.web.session:303 get_session for sid None
3423 2010-08-14 11:47:48,748 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession e33c72d6d771f5ae41af6aebeadbd83be94e8731 {}>
3424 2010-08-14 11:47:48,758 DEBUG MoinMoin.auth:481 session started for user None
3425 2010-08-14 11:47:48,759 DEBUG MoinMoin.auth:466 setup_suid returns None, None
3426 2010-08-14 11:47:48,760 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
3427 2010-08-14 11:47:48,777 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x3a81ab8 name:'' valid:0>, setuid = None
3428 2010-08-14 11:47:48,778 DEBUG MoinMoin:199 moin does not support any language client accepts
3429 2010-08-14 11:47:48,779 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
3430 2010-08-14 11:47:48,779 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
3431 2010-08-14 11:47:48,780 DEBUG MoinMoin.web.session:303 get_session for sid None
3432 2010-08-14 11:47:48,781 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 33b2628e8f11d1d97bab5b7677ed2038e37921c0 {}>
3433 2010-08-14 11:47:48,791 DEBUG MoinMoin.auth:481 session started for user None
3434 2010-08-14 11:47:48,792 DEBUG MoinMoin.auth:466 setup_suid returns None, None
3435 2010-08-14 11:47:48,793 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
3436 _____________________ TestExtensionInvoking.testAllDefault _____________________
3437 
3438 self = <MoinMoin._tests.test_wikiutil.TestExtensionInvoking instance at 0x421d560>
3439 
3440     def testAllDefault(self):
3441         ief = wikiutil.invoke_extension_function
3442     
3443         def has_many_defaults(a=1, b=2, c=3, d=4):
3444             assert a == 1
3445             assert b == 2
3446             assert c == 3
3447             assert d == 4
3448             return True
3449     
3450 >       assert ief(self.request, has_many_defaults, u'1, 2, 3, 4')
3451 
3452 MoinMoin/_tests/test_wikiutil.py:882: 
3453 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
3454 
3455 request = <TestRequest 0 bytes [200 OK]>
3456 function = <function has_many_defaults at 0x3bfc140>, args = u'1, 2, 3, 4'
3457 fixed_args = []
3458 
3459     def invoke_extension_function(request, function, args, fixed_args=[]):
3460         """
3461         Parses arguments for an extension call and calls the extension
3462         function with the arguments.
3463     
3464         If the macro function has a default value that is a bool,
3465         int, long, float or unicode object, then the given value
3466         is converted to the type of that default value before passing
3467         it to the macro function. That way, macros need not call the
3468         wikiutil.get_* functions for any arguments that have a default.
3469     
3470         @param request: the request object
3471         @param function: the function to invoke
3472         @param args: unicode string with arguments (or evaluating to False)
3473         @param fixed_args: fixed arguments to pass as the first arguments
3474         @returns: the return value from the function called
3475         """
3476         from inspect import getargspec, isfunction, isclass, ismethod
3477     
3478         def _convert_arg(request, value, default, name=None):
3479             """
3480             Using the get_* functions, convert argument to the type of the default
3481             if that is any of bool, int, long, float or unicode; if the default
3482             is the type itself then convert to that type (keeps None) or if the
3483             default is a list require one of the list items.
3484     
3485             In other cases return the value itself.
3486             """
3487             # if extending this, extend required_arg as well!
3488             if isinstance(default, bool):
3489                 return get_bool(request, value, name, default)
3490             elif isinstance(default, (int, long)):
3491                 return get_int(request, value, name, default)
3492             elif isinstance(default, float):
3493                 return get_float(request, value, name, default)
3494             elif isinstance(default, complex):
3495                 return get_complex(request, value, name, default)
3496             elif isinstance(default, unicode):
3497                 return get_unicode(request, value, name, default)
3498             elif isinstance(default, (tuple, list)):
3499                 return get_choice(request, value, name, default)
3500             elif default is bool:
3501                 return get_bool(request, value, name)
3502             elif default is int or default is long:
3503                 return get_int(request, value, name)
3504             elif default is float:
3505                 return get_float(request, value, name)
3506             elif default is complex:
3507                 return get_complex(request, value, name)
3508             elif isinstance(default, IEFArgument):
3509                 # defaults handled later
3510                 if value is None:
3511                     return None
3512                 return default.parse_argument(value)
3513             elif isinstance(default, required_arg):
3514                 if isinstance(default.argtype, (tuple, list)):
3515                     # treat choice specially and return None if no choice
3516                     # is given in the value
3517                     return get_choice(request, value, name, list(default.argtype),
3518                            default_none=True)
3519                 else:
3520                     return _convert_arg(request, value, default.argtype, name)
3521             return value
3522     
3523         assert isinstance(fixed_args, (list, tuple))
3524     
3525 >       _ = request.getText
3526 E       AttributeError: 'TestRequest' object has no attribute 'getText'
3527 
3528 MoinMoin/wikiutil.py:1798: AttributeError
3529 --------------------------------- Captured log ---------------------------------
3530 __init__.py                199 DEBUG    moin does not support any language client accepts
3531 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
3532 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
3533 session.py                 303 DEBUG    get_session for sid None
3534 session.py                 318 DEBUG    get_session returns session <MoinSession 1ef32465454171bd97227195c56fc7f37aa71767 {}>
3535 __init__.py                481 DEBUG    session started for user None
3536 __init__.py                466 DEBUG    setup_suid returns None, None
3537 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
3538 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x2f3f5f0 name:'' valid:0>, setuid = None
3539 __init__.py                199 DEBUG    moin does not support any language client accepts
3540 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
3541 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
3542 session.py                 303 DEBUG    get_session for sid None
3543 session.py                 318 DEBUG    get_session returns session <MoinSession 19acb9f4b2e198eb293f92b32ccfd3bdb4ae8ea9 {}>
3544 __init__.py                481 DEBUG    session started for user None
3545 __init__.py                466 DEBUG    setup_suid returns None, None
3546 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
3547 ------------------------------- Captured stderr --------------------------------
3548 2010-08-14 11:47:48,816 DEBUG MoinMoin:199 moin does not support any language client accepts
3549 2010-08-14 11:47:48,816 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
3550 2010-08-14 11:47:48,817 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
3551 2010-08-14 11:47:48,818 DEBUG MoinMoin.web.session:303 get_session for sid None
3552 2010-08-14 11:47:48,818 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 1ef32465454171bd97227195c56fc7f37aa71767 {}>
3553 2010-08-14 11:47:48,829 DEBUG MoinMoin.auth:481 session started for user None
3554 2010-08-14 11:47:48,829 DEBUG MoinMoin.auth:466 setup_suid returns None, None
3555 2010-08-14 11:47:48,830 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
3556 2010-08-14 11:47:48,842 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x2f3f5f0 name:'' valid:0>, setuid = None
3557 2010-08-14 11:47:48,843 DEBUG MoinMoin:199 moin does not support any language client accepts
3558 2010-08-14 11:47:48,844 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
3559 2010-08-14 11:47:48,844 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
3560 2010-08-14 11:47:48,845 DEBUG MoinMoin.web.session:303 get_session for sid None
3561 2010-08-14 11:47:48,845 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 19acb9f4b2e198eb293f92b32ccfd3bdb4ae8ea9 {}>
3562 2010-08-14 11:47:48,856 DEBUG MoinMoin.auth:481 session started for user None
3563 2010-08-14 11:47:48,856 DEBUG MoinMoin.auth:466 setup_suid returns None, None
3564 2010-08-14 11:47:48,857 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
3565 ___________________ TestExtensionInvoking.testInvokeComplex ____________________
3566 
3567 self = <MoinMoin._tests.test_wikiutil.TestExtensionInvoking instance at 0x3d3ad40>
3568 
3569     def testInvokeComplex(self):
3570         ief = wikiutil.invoke_extension_function
3571     
3572         def has_complex(a=complex, b=complex):
3573             assert a == b
3574             return True
3575     
3576 >       assert ief(self.request, has_complex, u'3-3i, 3-3j')
3577 
3578 MoinMoin/_tests/test_wikiutil.py:899: 
3579 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
3580 
3581 request = <TestRequest 0 bytes [200 OK]>
3582 function = <function has_complex at 0x3bfc8c0>, args = u'3-3i, 3-3j'
3583 fixed_args = []
3584 
3585     def invoke_extension_function(request, function, args, fixed_args=[]):
3586         """
3587         Parses arguments for an extension call and calls the extension
3588         function with the arguments.
3589     
3590         If the macro function has a default value that is a bool,
3591         int, long, float or unicode object, then the given value
3592         is converted to the type of that default value before passing
3593         it to the macro function. That way, macros need not call the
3594         wikiutil.get_* functions for any arguments that have a default.
3595     
3596         @param request: the request object
3597         @param function: the function to invoke
3598         @param args: unicode string with arguments (or evaluating to False)
3599         @param fixed_args: fixed arguments to pass as the first arguments
3600         @returns: the return value from the function called
3601         """
3602         from inspect import getargspec, isfunction, isclass, ismethod
3603     
3604         def _convert_arg(request, value, default, name=None):
3605             """
3606             Using the get_* functions, convert argument to the type of the default
3607             if that is any of bool, int, long, float or unicode; if the default
3608             is the type itself then convert to that type (keeps None) or if the
3609             default is a list require one of the list items.
3610     
3611             In other cases return the value itself.
3612             """
3613             # if extending this, extend required_arg as well!
3614             if isinstance(default, bool):
3615                 return get_bool(request, value, name, default)
3616             elif isinstance(default, (int, long)):
3617                 return get_int(request, value, name, default)
3618             elif isinstance(default, float):
3619                 return get_float(request, value, name, default)
3620             elif isinstance(default, complex):
3621                 return get_complex(request, value, name, default)
3622             elif isinstance(default, unicode):
3623                 return get_unicode(request, value, name, default)
3624             elif isinstance(default, (tuple, list)):
3625                 return get_choice(request, value, name, default)
3626             elif default is bool:
3627                 return get_bool(request, value, name)
3628             elif default is int or default is long:
3629                 return get_int(request, value, name)
3630             elif default is float:
3631                 return get_float(request, value, name)
3632             elif default is complex:
3633                 return get_complex(request, value, name)
3634             elif isinstance(default, IEFArgument):
3635                 # defaults handled later
3636                 if value is None:
3637                     return None
3638                 return default.parse_argument(value)
3639             elif isinstance(default, required_arg):
3640                 if isinstance(default.argtype, (tuple, list)):
3641                     # treat choice specially and return None if no choice
3642                     # is given in the value
3643                     return get_choice(request, value, name, list(default.argtype),
3644                            default_none=True)
3645                 else:
3646                     return _convert_arg(request, value, default.argtype, name)
3647             return value
3648     
3649         assert isinstance(fixed_args, (list, tuple))
3650     
3651 >       _ = request.getText
3652 E       AttributeError: 'TestRequest' object has no attribute 'getText'
3653 
3654 MoinMoin/wikiutil.py:1798: AttributeError
3655 --------------------------------- Captured log ---------------------------------
3656 __init__.py                199 DEBUG    moin does not support any language client accepts
3657 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
3658 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
3659 session.py                 303 DEBUG    get_session for sid None
3660 session.py                 318 DEBUG    get_session returns session <MoinSession 9b49069beedd5d222a5aae4e50858a4695052bc4 {}>
3661 __init__.py                481 DEBUG    session started for user None
3662 __init__.py                466 DEBUG    setup_suid returns None, None
3663 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
3664 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x4a19a28 name:'' valid:0>, setuid = None
3665 __init__.py                199 DEBUG    moin does not support any language client accepts
3666 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
3667 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
3668 session.py                 303 DEBUG    get_session for sid None
3669 session.py                 318 DEBUG    get_session returns session <MoinSession a69c510ffa78da8e109c0c690d22ce88170fb9f2 {}>
3670 __init__.py                481 DEBUG    session started for user None
3671 __init__.py                466 DEBUG    setup_suid returns None, None
3672 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
3673 ------------------------------- Captured stderr --------------------------------
3674 2010-08-14 11:47:48,881 DEBUG MoinMoin:199 moin does not support any language client accepts
3675 2010-08-14 11:47:48,882 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
3676 2010-08-14 11:47:48,882 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
3677 2010-08-14 11:47:48,883 DEBUG MoinMoin.web.session:303 get_session for sid None
3678 2010-08-14 11:47:48,883 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 9b49069beedd5d222a5aae4e50858a4695052bc4 {}>
3679 2010-08-14 11:47:48,894 DEBUG MoinMoin.auth:481 session started for user None
3680 2010-08-14 11:47:48,895 DEBUG MoinMoin.auth:466 setup_suid returns None, None
3681 2010-08-14 11:47:48,896 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
3682 2010-08-14 11:47:48,913 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x4a19a28 name:'' valid:0>, setuid = None
3683 2010-08-14 11:47:48,915 DEBUG MoinMoin:199 moin does not support any language client accepts
3684 2010-08-14 11:47:48,915 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
3685 2010-08-14 11:47:48,916 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
3686 2010-08-14 11:47:48,916 DEBUG MoinMoin.web.session:303 get_session for sid None
3687 2010-08-14 11:47:48,917 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession a69c510ffa78da8e109c0c690d22ce88170fb9f2 {}>
3688 2010-08-14 11:47:48,927 DEBUG MoinMoin.auth:481 session started for user None
3689 2010-08-14 11:47:48,928 DEBUG MoinMoin.auth:466 setup_suid returns None, None
3690 2010-08-14 11:47:48,929 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
3691 _____________________ TestMoinLDAPLogin.testMoinLDAPLogin ______________________
3692 
3693 self = <test_ldap_login.TestMoinLDAPLogin instance at 0x41d3b90>
3694 
3695     def testMoinLDAPLogin(self):
3696         """ Just try accessing the LDAP server and see if usera and userb are in LDAP. """
3697     
3698         # tests that must not authenticate:
3699         u = handle_login(self.request, None, username='', password='')
3700         assert u is None
3701 >       u = handle_login(self.request, None, username='usera', password='')
3702 
3703 MoinMoin/auth/_tests/test_ldap_login.py:68: 
3704 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
3705 
3706 request = <TestRequest 0 bytes [200 OK]>, userobj = None, username = 'usera'
3707 password = '', attended = True, openid_identifier = None, stage = None
3708 
3709     def handle_login(request, userobj=None, username=None, password=None,
3710                      attended=True, openid_identifier=None, stage=None):
3711         """
3712         Process a 'login' request by going through the configured authentication
3713         methods in turn. The passable keyword arguments are explained in more
3714         detail at the top of this file.
3715         """
3716         params = {
3717             'username': username,
3718             'password': password,
3719             'attended': attended,
3720             'openid_identifier': openid_identifier,
3721             'multistage': (stage and True) or None
3722         }
3723         for authmethod in request.cfg.auth:
3724             if stage and authmethod.name != stage:
3725                 continue
3726 >           ret = authmethod.login(request, userobj, **params)
3727 
3728 MoinMoin/auth/__init__.py:397: 
3729 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
3730 
3731 self = <MoinMoin.auth.MoinAuth instance at 0x252fb00>
3732 request = <TestRequest 0 bytes [200 OK]>, user_obj = None
3733 
3734     def login(self, request, user_obj, **kw):
3735         username = kw.get('username')
3736         password = kw.get('password')
3737     
3738         # simply continue if something else already logged in successfully
3739         if user_obj and user_obj.valid:
3740             return ContinueLogin(user_obj)
3741     
3742         if not username and not password:
3743             return ContinueLogin(user_obj)
3744     
3745 >       _ = request.getText
3746 E       AttributeError: 'TestRequest' object has no attribute 'getText'
3747 
3748 MoinMoin/auth/__init__.py:239: AttributeError
3749 --------------------------------- Captured log ---------------------------------
3750 __init__.py                199 DEBUG    moin does not support any language client accepts
3751 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
3752 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
3753 session.py                 303 DEBUG    get_session for sid None
3754 session.py                 318 DEBUG    get_session returns session <MoinSession 34d2c1cb1063d7cb9ec163293cb20c295e676fc2 {}>
3755 __init__.py                481 DEBUG    session started for user None
3756 __init__.py                466 DEBUG    setup_suid returns None, None
3757 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
3758 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x41fd4d0 name:'' valid:0>, setuid = None
3759 __init__.py                199 DEBUG    moin does not support any language client accepts
3760 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
3761 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
3762 session.py                 303 DEBUG    get_session for sid None
3763 session.py                 318 DEBUG    get_session returns session <MoinSession ff519427c5bde48d3d34fc7f3f2c15739159633c {}>
3764 __init__.py                481 DEBUG    session started for user None
3765 __init__.py                466 DEBUG    setup_suid returns None, None
3766 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
3767 __init__.py                199 DEBUG    moin does not support any language client accepts
3768 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
3769 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
3770 session.py                 303 DEBUG    get_session for sid None
3771 session.py                 318 DEBUG    get_session returns session <MoinSession d2ef23f782f42a90db6db8900c51216bcdf55d9a {}>
3772 __init__.py                481 DEBUG    session started for user None
3773 __init__.py                466 DEBUG    setup_suid returns None, None
3774 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
3775 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x41b5cb0 name:'' valid:0>, setuid = None
3776 __init__.py                199 DEBUG    moin does not support any language client accepts
3777 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
3778 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
3779 session.py                 303 DEBUG    get_session for sid None
3780 session.py                 318 DEBUG    get_session returns session <MoinSession d2613729400a154b53e5380a41b32b6f7c0dc71d {}>
3781 __init__.py                481 DEBUG    session started for user None
3782 __init__.py                466 DEBUG    setup_suid returns None, None
3783 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
3784 ------------------------------- Captured stderr --------------------------------
3785 2010-08-14 11:47:50,638 DEBUG MoinMoin:199 moin does not support any language client accepts
3786 2010-08-14 11:47:50,638 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
3787 2010-08-14 11:47:50,639 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
3788 2010-08-14 11:47:50,640 DEBUG MoinMoin.web.session:303 get_session for sid None
3789 2010-08-14 11:47:50,640 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 34d2c1cb1063d7cb9ec163293cb20c295e676fc2 {}>
3790 2010-08-14 11:47:50,651 DEBUG MoinMoin.auth:481 session started for user None
3791 2010-08-14 11:47:50,652 DEBUG MoinMoin.auth:466 setup_suid returns None, None
3792 2010-08-14 11:47:50,653 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
3793 2010-08-14 11:47:50,670 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x41fd4d0 name:'' valid:0>, setuid = None
3794 2010-08-14 11:47:50,672 DEBUG MoinMoin:199 moin does not support any language client accepts
3795 2010-08-14 11:47:50,672 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
3796 2010-08-14 11:47:50,673 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
3797 2010-08-14 11:47:50,673 DEBUG MoinMoin.web.session:303 get_session for sid None
3798 2010-08-14 11:47:50,674 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession ff519427c5bde48d3d34fc7f3f2c15739159633c {}>
3799 2010-08-14 11:47:50,685 DEBUG MoinMoin.auth:481 session started for user None
3800 2010-08-14 11:47:50,686 DEBUG MoinMoin.auth:466 setup_suid returns None, None
3801 2010-08-14 11:47:50,686 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
3802 2010-08-14 11:47:50,843 DEBUG MoinMoin:199 moin does not support any language client accepts
3803 2010-08-14 11:47:50,844 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
3804 2010-08-14 11:47:50,844 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
3805 2010-08-14 11:47:50,845 DEBUG MoinMoin.web.session:303 get_session for sid None
3806 2010-08-14 11:47:50,846 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession d2ef23f782f42a90db6db8900c51216bcdf55d9a {}>
3807 2010-08-14 11:47:50,858 DEBUG MoinMoin.auth:481 session started for user None
3808 2010-08-14 11:47:50,859 DEBUG MoinMoin.auth:466 setup_suid returns None, None
3809 2010-08-14 11:47:50,859 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
3810 2010-08-14 11:47:50,871 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x41b5cb0 name:'' valid:0>, setuid = None
3811 2010-08-14 11:47:50,872 DEBUG MoinMoin:199 moin does not support any language client accepts
3812 2010-08-14 11:47:50,873 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
3813 2010-08-14 11:47:50,873 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
3814 2010-08-14 11:47:50,874 DEBUG MoinMoin.web.session:303 get_session for sid None
3815 2010-08-14 11:47:50,875 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession d2613729400a154b53e5380a41b32b6f7c0dc71d {}>
3816 2010-08-14 11:47:50,885 DEBUG MoinMoin.auth:481 session started for user None
3817 2010-08-14 11:47:50,887 DEBUG MoinMoin.auth:466 setup_suid returns None, None
3818 2010-08-14 11:47:50,888 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
3819 __________________ TestBugDefaultPasswd.testBugDefaultPasswd ___________________
3820 
3821 self = <test_ldap_login.TestBugDefaultPasswd instance at 0x2ce1ef0>
3822 
3823     def testBugDefaultPasswd(self):
3824         """ Login via LDAP (this creates user profile and up to 1.7.0rc1 it put
3825                 a default password there), then try logging in via moin login using
3826                 that default password or an empty password.
3827             """
3828         # do a LDAPAuth login (as a side effect, this autocreates the user profile):
3829 >       u1 = handle_login(self.request, None, username='usera', password='usera')
3830 
3831 MoinMoin/auth/_tests/test_ldap_login.py:116: 
3832 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
3833 
3834 request = <TestRequest 0 bytes [200 OK]>, userobj = None, username = 'usera'
3835 password = 'usera', attended = True, openid_identifier = None, stage = None
3836 
3837     def handle_login(request, userobj=None, username=None, password=None,
3838                      attended=True, openid_identifier=None, stage=None):
3839         """
3840         Process a 'login' request by going through the configured authentication
3841         methods in turn. The passable keyword arguments are explained in more
3842         detail at the top of this file.
3843         """
3844         params = {
3845             'username': username,
3846             'password': password,
3847             'attended': attended,
3848             'openid_identifier': openid_identifier,
3849             'multistage': (stage and True) or None
3850         }
3851         for authmethod in request.cfg.auth:
3852             if stage and authmethod.name != stage:
3853                 continue
3854 >           ret = authmethod.login(request, userobj, **params)
3855 
3856 MoinMoin/auth/__init__.py:397: 
3857 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
3858 
3859 self = <MoinMoin.auth.MoinAuth instance at 0x252fb00>
3860 request = <TestRequest 0 bytes [200 OK]>, user_obj = None
3861 
3862     def login(self, request, user_obj, **kw):
3863         username = kw.get('username')
3864         password = kw.get('password')
3865     
3866         # simply continue if something else already logged in successfully
3867         if user_obj and user_obj.valid:
3868             return ContinueLogin(user_obj)
3869     
3870         if not username and not password:
3871             return ContinueLogin(user_obj)
3872     
3873 >       _ = request.getText
3874 E       AttributeError: 'TestRequest' object has no attribute 'getText'
3875 
3876 MoinMoin/auth/__init__.py:239: AttributeError
3877 --------------------------------- Captured log ---------------------------------
3878 __init__.py                199 DEBUG    moin does not support any language client accepts
3879 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
3880 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
3881 session.py                 303 DEBUG    get_session for sid None
3882 session.py                 318 DEBUG    get_session returns session <MoinSession 956cdb5021c5f8e0935d3e34cb3747dca8339d58 {}>
3883 __init__.py                481 DEBUG    session started for user None
3884 __init__.py                466 DEBUG    setup_suid returns None, None
3885 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
3886 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x2ce1368 name:'' valid:0>, setuid = None
3887 __init__.py                199 DEBUG    moin does not support any language client accepts
3888 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
3889 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
3890 session.py                 303 DEBUG    get_session for sid None
3891 session.py                 318 DEBUG    get_session returns session <MoinSession e81c95f967d9fb0a04d8535fcf1a9bfdcfed2625 {}>
3892 __init__.py                481 DEBUG    session started for user None
3893 __init__.py                466 DEBUG    setup_suid returns None, None
3894 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
3895 __init__.py                199 DEBUG    moin does not support any language client accepts
3896 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
3897 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
3898 session.py                 303 DEBUG    get_session for sid None
3899 session.py                 318 DEBUG    get_session returns session <MoinSession 373b3ebf114d0b9e6803cc6d7fef99779f137009 {}>
3900 __init__.py                481 DEBUG    session started for user None
3901 __init__.py                466 DEBUG    setup_suid returns None, None
3902 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
3903 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x2f3e5a8 name:'' valid:0>, setuid = None
3904 __init__.py                199 DEBUG    moin does not support any language client accepts
3905 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
3906 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
3907 session.py                 303 DEBUG    get_session for sid None
3908 session.py                 318 DEBUG    get_session returns session <MoinSession a039ce08aeecfdba2336d354dfe28af88158f86f {}>
3909 __init__.py                481 DEBUG    session started for user None
3910 __init__.py                466 DEBUG    setup_suid returns None, None
3911 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
3912 ------------------------------- Captured stderr --------------------------------
3913 2010-08-14 11:47:50,930 DEBUG MoinMoin:199 moin does not support any language client accepts
3914 2010-08-14 11:47:50,930 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
3915 2010-08-14 11:47:50,931 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
3916 2010-08-14 11:47:50,931 DEBUG MoinMoin.web.session:303 get_session for sid None
3917 2010-08-14 11:47:50,932 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 956cdb5021c5f8e0935d3e34cb3747dca8339d58 {}>
3918 2010-08-14 11:47:50,943 DEBUG MoinMoin.auth:481 session started for user None
3919 2010-08-14 11:47:50,944 DEBUG MoinMoin.auth:466 setup_suid returns None, None
3920 2010-08-14 11:47:50,944 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
3921 2010-08-14 11:47:50,962 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x2ce1368 name:'' valid:0>, setuid = None
3922 2010-08-14 11:47:50,964 DEBUG MoinMoin:199 moin does not support any language client accepts
3923 2010-08-14 11:47:50,964 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
3924 2010-08-14 11:47:50,965 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
3925 2010-08-14 11:47:50,965 DEBUG MoinMoin.web.session:303 get_session for sid None
3926 2010-08-14 11:47:50,966 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession e81c95f967d9fb0a04d8535fcf1a9bfdcfed2625 {}>
3927 2010-08-14 11:47:50,976 DEBUG MoinMoin.auth:481 session started for user None
3928 2010-08-14 11:47:50,977 DEBUG MoinMoin.auth:466 setup_suid returns None, None
3929 2010-08-14 11:47:50,978 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
3930 2010-08-14 11:47:51,137 DEBUG MoinMoin:199 moin does not support any language client accepts
3931 2010-08-14 11:47:51,138 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
3932 2010-08-14 11:47:51,138 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
3933 2010-08-14 11:47:51,139 DEBUG MoinMoin.web.session:303 get_session for sid None
3934 2010-08-14 11:47:51,139 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 373b3ebf114d0b9e6803cc6d7fef99779f137009 {}>
3935 2010-08-14 11:47:51,151 DEBUG MoinMoin.auth:481 session started for user None
3936 2010-08-14 11:47:51,152 DEBUG MoinMoin.auth:466 setup_suid returns None, None
3937 2010-08-14 11:47:51,152 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
3938 2010-08-14 11:47:51,164 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x2f3e5a8 name:'' valid:0>, setuid = None
3939 2010-08-14 11:47:51,166 DEBUG MoinMoin:199 moin does not support any language client accepts
3940 2010-08-14 11:47:51,166 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
3941 2010-08-14 11:47:51,167 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
3942 2010-08-14 11:47:51,167 DEBUG MoinMoin.web.session:303 get_session for sid None
3943 2010-08-14 11:47:51,168 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession a039ce08aeecfdba2336d354dfe28af88158f86f {}>
3944 2010-08-14 11:47:51,178 DEBUG MoinMoin.auth:481 session started for user None
3945 2010-08-14 11:47:51,179 DEBUG MoinMoin.auth:466 setup_suid returns None, None
3946 2010-08-14 11:47:51,180 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
3947 ____________________ TestLdapFailover.testMoinLDAPFailOver _____________________
3948 
3949 self = <test_ldap_login.TestLdapFailover instance at 0x4e1a638>
3950 
3951     def testMoinLDAPFailOver(self):
3952         """ Try if it does a failover to a secondary LDAP, if the primary fails. """
3953     
3954         # authenticate user (with primary slapd):
3955 >       u1 = handle_login(self.request, None, username='usera', password='usera')
3956 
3957 MoinMoin/auth/_tests/test_ldap_login.py:226: 
3958 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
3959 
3960 request = <TestRequest 0 bytes [200 OK]>, userobj = None, username = 'usera'
3961 password = 'usera', attended = True, openid_identifier = None, stage = None
3962 
3963     def handle_login(request, userobj=None, username=None, password=None,
3964                      attended=True, openid_identifier=None, stage=None):
3965         """
3966         Process a 'login' request by going through the configured authentication
3967         methods in turn. The passable keyword arguments are explained in more
3968         detail at the top of this file.
3969         """
3970         params = {
3971             'username': username,
3972             'password': password,
3973             'attended': attended,
3974             'openid_identifier': openid_identifier,
3975             'multistage': (stage and True) or None
3976         }
3977         for authmethod in request.cfg.auth:
3978             if stage and authmethod.name != stage:
3979                 continue
3980 >           ret = authmethod.login(request, userobj, **params)
3981 
3982 MoinMoin/auth/__init__.py:397: 
3983 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
3984 
3985 self = <MoinMoin.auth.MoinAuth instance at 0x252fb00>
3986 request = <TestRequest 0 bytes [200 OK]>, user_obj = None
3987 
3988     def login(self, request, user_obj, **kw):
3989         username = kw.get('username')
3990         password = kw.get('password')
3991     
3992         # simply continue if something else already logged in successfully
3993         if user_obj and user_obj.valid:
3994             return ContinueLogin(user_obj)
3995     
3996         if not username and not password:
3997             return ContinueLogin(user_obj)
3998     
3999 >       _ = request.getText
4000 E       AttributeError: 'TestRequest' object has no attribute 'getText'
4001 
4002 MoinMoin/auth/__init__.py:239: AttributeError
4003 --------------------------------- Captured log ---------------------------------
4004 __init__.py                199 DEBUG    moin does not support any language client accepts
4005 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
4006 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
4007 session.py                 303 DEBUG    get_session for sid None
4008 session.py                 318 DEBUG    get_session returns session <MoinSession 09937e10d23f3d8a32eb0a88e292f5eba1689060 {}>
4009 __init__.py                481 DEBUG    session started for user None
4010 __init__.py                466 DEBUG    setup_suid returns None, None
4011 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
4012 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x4771098 name:'' valid:0>, setuid = None
4013 __init__.py                199 DEBUG    moin does not support any language client accepts
4014 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
4015 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
4016 session.py                 303 DEBUG    get_session for sid None
4017 session.py                 318 DEBUG    get_session returns session <MoinSession d75ae3af11dbd61fe7b0397108fd21ec74032244 {}>
4018 __init__.py                481 DEBUG    session started for user None
4019 __init__.py                466 DEBUG    setup_suid returns None, None
4020 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
4021 __init__.py                199 DEBUG    moin does not support any language client accepts
4022 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
4023 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
4024 session.py                 303 DEBUG    get_session for sid None
4025 session.py                 318 DEBUG    get_session returns session <MoinSession e37d8cba78f477b9c23d31f0b62cec29312e1ad8 {}>
4026 __init__.py                481 DEBUG    session started for user None
4027 __init__.py                466 DEBUG    setup_suid returns None, None
4028 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
4029 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x44c8518 name:'' valid:0>, setuid = None
4030 __init__.py                199 DEBUG    moin does not support any language client accepts
4031 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
4032 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
4033 session.py                 303 DEBUG    get_session for sid None
4034 session.py                 318 DEBUG    get_session returns session <MoinSession b2aaae3a0ba1cc572e124a7c6d51e371e102b33d {}>
4035 __init__.py                481 DEBUG    session started for user None
4036 __init__.py                466 DEBUG    setup_suid returns None, None
4037 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
4038 ------------------------------- Captured stderr --------------------------------
4039 2010-08-14 11:47:51,692 DEBUG MoinMoin:199 moin does not support any language client accepts
4040 2010-08-14 11:47:51,693 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
4041 2010-08-14 11:47:51,694 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
4042 2010-08-14 11:47:51,694 DEBUG MoinMoin.web.session:303 get_session for sid None
4043 2010-08-14 11:47:51,695 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 09937e10d23f3d8a32eb0a88e292f5eba1689060 {}>
4044 2010-08-14 11:47:51,706 DEBUG MoinMoin.auth:481 session started for user None
4045 2010-08-14 11:47:51,707 DEBUG MoinMoin.auth:466 setup_suid returns None, None
4046 2010-08-14 11:47:51,708 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
4047 2010-08-14 11:47:51,728 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x4771098 name:'' valid:0>, setuid = None
4048 2010-08-14 11:47:51,730 DEBUG MoinMoin:199 moin does not support any language client accepts
4049 2010-08-14 11:47:51,730 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
4050 2010-08-14 11:47:51,731 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
4051 2010-08-14 11:47:51,732 DEBUG MoinMoin.web.session:303 get_session for sid None
4052 2010-08-14 11:47:51,732 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession d75ae3af11dbd61fe7b0397108fd21ec74032244 {}>
4053 2010-08-14 11:47:51,743 DEBUG MoinMoin.auth:481 session started for user None
4054 2010-08-14 11:47:51,744 DEBUG MoinMoin.auth:466 setup_suid returns None, None
4055 2010-08-14 11:47:51,745 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
4056 2010-08-14 11:47:52,065 DEBUG MoinMoin:199 moin does not support any language client accepts
4057 2010-08-14 11:47:52,066 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
4058 2010-08-14 11:47:52,066 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
4059 2010-08-14 11:47:52,067 DEBUG MoinMoin.web.session:303 get_session for sid None
4060 2010-08-14 11:47:52,068 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession e37d8cba78f477b9c23d31f0b62cec29312e1ad8 {}>
4061 2010-08-14 11:47:52,080 DEBUG MoinMoin.auth:481 session started for user None
4062 2010-08-14 11:47:52,081 DEBUG MoinMoin.auth:466 setup_suid returns None, None
4063 2010-08-14 11:47:52,082 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
4064 2010-08-14 11:47:52,093 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x44c8518 name:'' valid:0>, setuid = None
4065 2010-08-14 11:47:52,095 DEBUG MoinMoin:199 moin does not support any language client accepts
4066 2010-08-14 11:47:52,095 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
4067 2010-08-14 11:47:52,096 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
4068 2010-08-14 11:47:52,096 DEBUG MoinMoin.web.session:303 get_session for sid None
4069 2010-08-14 11:47:52,097 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession b2aaae3a0ba1cc572e124a7c6d51e371e102b33d {}>
4070 2010-08-14 11:47:52,108 DEBUG MoinMoin.auth:481 session started for user None
4071 2010-08-14 11:47:52,109 DEBUG MoinMoin.auth:466 setup_suid returns None, None
4072 2010-08-14 11:47:52,109 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
4073 ________________ TestPasswordChecker.testBuiltinPasswordChecker ________________
4074 
4075 self = <test_multiconfig.TestPasswordChecker instance at 0x5586e18>
4076 
4077     def testBuiltinPasswordChecker(self):
4078         pw_checker = self.request.cfg.password_checker
4079         if not pw_checker:
4080             py.test.skip("password_checker is disabled in the configuration, not testing it")
4081         else:
4082             for pw, result in self.tests_builtin:
4083 >               pw_error = pw_checker(self.request, self.username, pw)
4084 
4085 MoinMoin/config/_tests/test_multiconfig.py:34: 
4086 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
4087 
4088 cfg = <wikiconfig.LocalConfig object at 0x2bddb10>
4089 request = <TestRequest 0 bytes [200 OK]>, username = u'SomeUser', password = u''
4090 
4091     def _default_password_checker(cfg, request, username, password):
4092         """ Check if a password is secure enough.
4093             We use a built-in check to get rid of the worst passwords.
4094     
4095             We do NOT use cracklib / python-crack here any more because it is
4096             not thread-safe (we experienced segmentation faults when using it).
4097     
4098             If you don't want to check passwords, use password_checker = None.
4099     
4100             @return: None if there is no problem with the password,
4101                      some unicode object with an error msg, if the password is problematic.
4102         """
4103 >       _ = request.getText
4104 E       AttributeError: 'TestRequest' object has no attribute 'getText'
4105 
4106 MoinMoin/config/multiconfig.py:581: AttributeError
4107 --------------------------------- Captured log ---------------------------------
4108 __init__.py                199 DEBUG    moin does not support any language client accepts
4109 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
4110 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
4111 session.py                 303 DEBUG    get_session for sid None
4112 session.py                 318 DEBUG    get_session returns session <MoinSession 22ee04de6167f3996396396bf3be087a21e37d99 {}>
4113 __init__.py                481 DEBUG    session started for user None
4114 __init__.py                466 DEBUG    setup_suid returns None, None
4115 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
4116 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x41f6638 name:'' valid:0>, setuid = None
4117 __init__.py                199 DEBUG    moin does not support any language client accepts
4118 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
4119 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
4120 session.py                 303 DEBUG    get_session for sid None
4121 session.py                 318 DEBUG    get_session returns session <MoinSession 8f631e9cf6f07e3b349d4fa3c08d1c2a42e84e68 {}>
4122 __init__.py                481 DEBUG    session started for user None
4123 __init__.py                466 DEBUG    setup_suid returns None, None
4124 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
4125 __init__.py                199 DEBUG    moin does not support any language client accepts
4126 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
4127 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
4128 session.py                 303 DEBUG    get_session for sid None
4129 session.py                 318 DEBUG    get_session returns session <MoinSession 47d6cbc81422e4020671e9a9ac526a311d7fc631 {}>
4130 __init__.py                481 DEBUG    session started for user None
4131 __init__.py                466 DEBUG    setup_suid returns None, None
4132 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
4133 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x55abef0 name:'' valid:0>, setuid = None
4134 __init__.py                199 DEBUG    moin does not support any language client accepts
4135 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
4136 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
4137 session.py                 303 DEBUG    get_session for sid None
4138 session.py                 318 DEBUG    get_session returns session <MoinSession 42149d9de3556bbd439e90a3d863264ceb2fe6ae {}>
4139 __init__.py                481 DEBUG    session started for user None
4140 __init__.py                466 DEBUG    setup_suid returns None, None
4141 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
4142 ------------------------------- Captured stderr --------------------------------
4143 2010-08-14 11:47:52,415 DEBUG MoinMoin:199 moin does not support any language client accepts
4144 2010-08-14 11:47:52,415 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
4145 2010-08-14 11:47:52,416 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
4146 2010-08-14 11:47:52,416 DEBUG MoinMoin.web.session:303 get_session for sid None
4147 2010-08-14 11:47:52,417 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 22ee04de6167f3996396396bf3be087a21e37d99 {}>
4148 2010-08-14 11:47:52,430 DEBUG MoinMoin.auth:481 session started for user None
4149 2010-08-14 11:47:52,431 DEBUG MoinMoin.auth:466 setup_suid returns None, None
4150 2010-08-14 11:47:52,432 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
4151 2010-08-14 11:47:52,449 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x41f6638 name:'' valid:0>, setuid = None
4152 2010-08-14 11:47:52,450 DEBUG MoinMoin:199 moin does not support any language client accepts
4153 2010-08-14 11:47:52,451 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
4154 2010-08-14 11:47:52,451 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
4155 2010-08-14 11:47:52,452 DEBUG MoinMoin.web.session:303 get_session for sid None
4156 2010-08-14 11:47:52,452 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 8f631e9cf6f07e3b349d4fa3c08d1c2a42e84e68 {}>
4157 2010-08-14 11:47:52,463 DEBUG MoinMoin.auth:481 session started for user None
4158 2010-08-14 11:47:52,464 DEBUG MoinMoin.auth:466 setup_suid returns None, None
4159 2010-08-14 11:47:52,465 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
4160 2010-08-14 11:47:52,477 DEBUG MoinMoin:199 moin does not support any language client accepts
4161 2010-08-14 11:47:52,477 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
4162 2010-08-14 11:47:52,478 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
4163 2010-08-14 11:47:52,479 DEBUG MoinMoin.web.session:303 get_session for sid None
4164 2010-08-14 11:47:52,479 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 47d6cbc81422e4020671e9a9ac526a311d7fc631 {}>
4165 2010-08-14 11:47:52,490 DEBUG MoinMoin.auth:481 session started for user None
4166 2010-08-14 11:47:52,490 DEBUG MoinMoin.auth:466 setup_suid returns None, None
4167 2010-08-14 11:47:52,491 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
4168 2010-08-14 11:47:52,502 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x55abef0 name:'' valid:0>, setuid = None
4169 2010-08-14 11:47:52,504 DEBUG MoinMoin:199 moin does not support any language client accepts
4170 2010-08-14 11:47:52,505 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
4171 2010-08-14 11:47:52,505 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
4172 2010-08-14 11:47:52,506 DEBUG MoinMoin.web.session:303 get_session for sid None
4173 2010-08-14 11:47:52,506 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 42149d9de3556bbd439e90a3d863264ceb2fe6ae {}>
4174 2010-08-14 11:47:52,517 DEBUG MoinMoin.auth:481 session started for user None
4175 2010-08-14 11:47:52,518 DEBUG MoinMoin.auth:466 setup_suid returns None, None
4176 2010-08-14 11:47:52,518 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
4177 __________________________ TestConverter.test_base[9] __________________________
4178 
4179 self = <MoinMoin.converter2._tests.test_creole_in.TestConverter object at 0x334c4d0>
4180 input = u'{{http://moinmo.in/}}'
4181 output = '<page><body><p><object xlink:href="http://moinmo.in/" /></p></body></page>'
4182 args = {}
4183 
4184     def do(self, input, output, args={}):
4185         out = self.conv(input.split(u'\n'), **args)
4186 >       assert self.serialize(out) == output
4187 E       assert u'<page><body><p><object xlink:href="http://moinmo.in/">http://moinmo.in/</object></p></body></page>' == '<page><body><p><object xlink:href="http://moinmo.in/" /></p></body></page>'
4188 E        +  where u'<page><body><p><object xlink:href="http://moinmo.in/">http://moinmo.in/</object></p></body></page>' = <MoinMoin.converter2._tests.test_creole_in.TestConverter object at 0x334c4d0>.serialize(<Element Name(u'page', u'http://moinmo.in/namespaces/page') at 3ea2390>)
4189 
4190 MoinMoin/converter2/_tests/test_creole_in.py:260: AssertionError
4191 _________________________ TestConverter.test_base[10] __________________________
4192 
4193 self = <MoinMoin.converter2._tests.test_creole_in.TestConverter object at 0x334c4d0>
4194 input = u'{{http://moinmo.in/|MoinMoin}}'
4195 output = '<page><body><p><object alt="MoinMoin" xlink:href="http://moinmo.in/" /></p></body></page>'
4196 args = {}
4197 
4198     def do(self, input, output, args={}):
4199         out = self.conv(input.split(u'\n'), **args)
4200 >       assert self.serialize(out) == output
4201 E       assert u'<page><body><p><object xlink:href="http://moinmo.in/">MoinMoin</object></p></body></page>' == '<page><body><p><object alt="MoinMoin" xlink:href="http://moinmo.in/" /></p></body></page>'
4202 E        +  where u'<page><body><p><object xlink:href="http://moinmo.in/">MoinMoin</object></p></body></page>' = <MoinMoin.converter2._tests.test_creole_in.TestConverter object at 0x334c4d0>.serialize(<Element Name(u'page', u'http://moinmo.in/namespaces/page') at 3ea2cd0>)
4203 
4204 MoinMoin/converter2/_tests/test_creole_in.py:260: AssertionError
4205 ________________________ TestConverterPage.test_note[0] ________________________
4206 
4207 self = <MoinMoin.converter2._tests.test_html_out.TestConverterPage object at 0x3d38490>
4208 input = '<page><body><p>Text<note note-class="footnote"><note-body>Note</note-body></note></p></body></page>'
4209 xpath = '/div[p[text()="Text"]/sup[@id="note-1-ref"]/a[@href="#note-1"][text()="1"]][p[@id="note-1"][text()="Note"]/sup/a[@href="#note-1-ref"][text()="1"]]'
4210 args = {}
4211 
4212     def do(self, input, xpath, args={}):
4213 >       out = self.conv(self.handle_input(input), **args)
4214 
4215 MoinMoin/converter2/_tests/test_html_out.py:53: 
4216 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
4217 
4218 self = <MoinMoin.converter2.html_out.ConverterPage object at 0x3452150>
4219 element = <Element QName(u'page', u'http://moinmo.in/namespaces/page') at 5468f10>
4220 
4221     def __call__(self, element):
4222 >       _ = self.request.getText
4223 E       AttributeError: 'TestRequest' object has no attribute 'getText'
4224 
4225 MoinMoin/converter2/html_out.py:506: AttributeError
4226 ________________________ TestConverterPage.test_unknown ________________________
4227 
4228 self = <MoinMoin.converter2._tests.test_html_out.TestConverterPage object at 0x4f8dad0>
4229 
4230     def test_unknown(self):
4231         page = ET.XML("<page:unknown %s/>" % self.input_namespaces)
4232 >       py.test.raises(ElementException, self.conv.__call__, page)
4233 
4234 MoinMoin/converter2/_tests/test_html_out.py:251: 
4235 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
4236 
4237 self = <MoinMoin.converter2.html_out.ConverterPage object at 0x3452150>
4238 element = <Element QName(u'unknown', u'http://moinmo.in/namespaces/page') at 3802b50>
4239 
4240     def __call__(self, element):
4241 >       _ = self.request.getText
4242 E       AttributeError: 'TestRequest' object has no attribute 'getText'
4243 
4244 MoinMoin/converter2/html_out.py:506: AttributeError
4245 --------------------------------- Captured log ---------------------------------
4246 __init__.py                199 DEBUG    moin does not support any language client accepts
4247 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
4248 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
4249 session.py                 303 DEBUG    get_session for sid None
4250 session.py                 318 DEBUG    get_session returns session <MoinSession 21e8600bc83ca32ca3dd3edbb76572ea3ced8034 {}>
4251 __init__.py                481 DEBUG    session started for user None
4252 __init__.py                466 DEBUG    setup_suid returns None, None
4253 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
4254 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x5786050 name:'' valid:0>, setuid = None
4255 __init__.py                199 DEBUG    moin does not support any language client accepts
4256 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
4257 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
4258 session.py                 303 DEBUG    get_session for sid None
4259 session.py                 318 DEBUG    get_session returns session <MoinSession d692d3e3fb198544022bc48bf924dc0ca1b9425c {}>
4260 __init__.py                481 DEBUG    session started for user None
4261 __init__.py                466 DEBUG    setup_suid returns None, None
4262 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
4263 ------------------------------- Captured stderr --------------------------------
4264 2010-08-14 11:48:01,446 DEBUG MoinMoin:199 moin does not support any language client accepts
4265 2010-08-14 11:48:01,446 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
4266 2010-08-14 11:48:01,447 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
4267 2010-08-14 11:48:01,447 DEBUG MoinMoin.web.session:303 get_session for sid None
4268 2010-08-14 11:48:01,448 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 21e8600bc83ca32ca3dd3edbb76572ea3ced8034 {}>
4269 2010-08-14 11:48:01,459 DEBUG MoinMoin.auth:481 session started for user None
4270 2010-08-14 11:48:01,459 DEBUG MoinMoin.auth:466 setup_suid returns None, None
4271 2010-08-14 11:48:01,460 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
4272 2010-08-14 11:48:01,471 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x5786050 name:'' valid:0>, setuid = None
4273 2010-08-14 11:48:01,473 DEBUG MoinMoin:199 moin does not support any language client accepts
4274 2010-08-14 11:48:01,474 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
4275 2010-08-14 11:48:01,474 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
4276 2010-08-14 11:48:01,474 DEBUG MoinMoin.web.session:303 get_session for sid None
4277 2010-08-14 11:48:01,475 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession d692d3e3fb198544022bc48bf924dc0ca1b9425c {}>
4278 2010-08-14 11:48:01,485 DEBUG MoinMoin.auth:481 session started for user None
4279 2010-08-14 11:48:01,486 DEBUG MoinMoin.auth:466 setup_suid returns None, None
4280 2010-08-14 11:48:01,487 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
4281 _________________ TestConverterExternOutput.test_wikilocal[1] __________________
4282 
4283 self = <MoinMoin.converter2._tests.test_link.TestConverterExternOutput object at 0x50daa50>
4284 input = 'wiki.local:Test', page = 'wiki:///Root', output = './Test', skip = None
4285 
4286     def _do_wikilocal(self, input, page, output, skip=None):
4287         if skip:
4288             py.test.skip(skip)
4289         elem = ET.Element(None)
4290 >       self.conv.handle_wikilocal(elem, Iri(input), Iri(page))
4291 
4292 MoinMoin/converter2/_tests/test_link.py:70: 
4293 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
4294 
4295 self = <MoinMoin.converter2.link.ConverterExternOutput object at 0x44dc890>
4296 elem = <Element None at 5444a50>
4297 input = Iri(scheme=u'wiki.local', authority=None, path=<MoinMoin.util.iri.IriPath object at 0x37dc6e0>, query=None, fragment=None)
4298 page = Iri(scheme=u'wiki', authority=IriAuthority(userinfo=None, host=None, port=None...ath=<MoinMoin.util.iri.IriPath object at 0x37dc2f0>, query=None, fragment=None)
4299 
4300     def handle_wikilocal(self, elem, input, page):
4301         do, query = self._get_do(input.query)
4302         link = Iri(query=query, fragment=input.fragment)
4303     
4304         if input.path:
4305             path = input.path
4306     
4307             if path[0] == '':
4308                 # /subitem
4309                 tmp = page.path[1:]
4310                 tmp.extend(path[1:])
4311                 path = tmp
4312             elif path[0] == '..':
4313                 # ../sisteritem
4314                 path = page.path[1:] + path[1:]
4315     
4316 >           if not self.request.storage.has_item(unicode(path)):
4317 E           AttributeError: 'TestRequest' object has no attribute 'storage'
4318 
4319 MoinMoin/converter2/link.py:135: AttributeError
4320 _________________ TestConverterExternOutput.test_wikilocal[2] __________________
4321 
4322 self = <MoinMoin.converter2._tests.test_link.TestConverterExternOutput object at 0x50daa50>
4323 input = 'wiki.local:Test', page = 'wiki:///Root/Sub', output = './Test'
4324 skip = None
4325 
4326     def _do_wikilocal(self, input, page, output, skip=None):
4327         if skip:
4328             py.test.skip(skip)
4329         elem = ET.Element(None)
4330 >       self.conv.handle_wikilocal(elem, Iri(input), Iri(page))
4331 
4332 MoinMoin/converter2/_tests/test_link.py:70: 
4333 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
4334 
4335 self = <MoinMoin.converter2.link.ConverterExternOutput object at 0x44dc890>
4336 elem = <Element None at 5444b10>
4337 input = Iri(scheme=u'wiki.local', authority=None, path=<MoinMoin.util.iri.IriPath object at 0x4f73088>, query=None, fragment=None)
4338 page = Iri(scheme=u'wiki', authority=IriAuthority(userinfo=None, host=None, port=None...ath=<MoinMoin.util.iri.IriPath object at 0x4f73360>, query=None, fragment=None)
4339 
4340     def handle_wikilocal(self, elem, input, page):
4341         do, query = self._get_do(input.query)
4342         link = Iri(query=query, fragment=input.fragment)
4343     
4344         if input.path:
4345             path = input.path
4346     
4347             if path[0] == '':
4348                 # /subitem
4349                 tmp = page.path[1:]
4350                 tmp.extend(path[1:])
4351                 path = tmp
4352             elif path[0] == '..':
4353                 # ../sisteritem
4354                 path = page.path[1:] + path[1:]
4355     
4356 >           if not self.request.storage.has_item(unicode(path)):
4357 E           AttributeError: 'TestRequest' object has no attribute 'storage'
4358 
4359 MoinMoin/converter2/link.py:135: AttributeError
4360 _________________ TestConverterExternOutput.test_wikilocal[3] __________________
4361 
4362 self = <MoinMoin.converter2._tests.test_link.TestConverterExternOutput object at 0x50daa50>
4363 input = 'wiki.local:/Test', page = 'wiki:///Root', output = './Root/Test'
4364 skip = None
4365 
4366     def _do_wikilocal(self, input, page, output, skip=None):
4367         if skip:
4368             py.test.skip(skip)
4369         elem = ET.Element(None)
4370 >       self.conv.handle_wikilocal(elem, Iri(input), Iri(page))
4371 
4372 MoinMoin/converter2/_tests/test_link.py:70: 
4373 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
4374 
4375 self = <MoinMoin.converter2.link.ConverterExternOutput object at 0x44dc890>
4376 elem = <Element None at 5444810>
4377 input = Iri(scheme=u'wiki.local', authority=None, path=<MoinMoin.util.iri.IriPath object at 0x4f73830>, query=None, fragment=None)
4378 page = Iri(scheme=u'wiki', authority=IriAuthority(userinfo=None, host=None, port=None...ath=<MoinMoin.util.iri.IriPath object at 0x4f73440>, query=None, fragment=None)
4379 
4380     def handle_wikilocal(self, elem, input, page):
4381         do, query = self._get_do(input.query)
4382         link = Iri(query=query, fragment=input.fragment)
4383     
4384         if input.path:
4385             path = input.path
4386     
4387             if path[0] == '':
4388                 # /subitem
4389                 tmp = page.path[1:]
4390                 tmp.extend(path[1:])
4391                 path = tmp
4392             elif path[0] == '..':
4393                 # ../sisteritem
4394                 path = page.path[1:] + path[1:]
4395     
4396 >           if not self.request.storage.has_item(unicode(path)):
4397 E           AttributeError: 'TestRequest' object has no attribute 'storage'
4398 
4399 MoinMoin/converter2/link.py:135: AttributeError
4400 _________________ TestConverterExternOutput.test_wikilocal[4] __________________
4401 
4402 self = <MoinMoin.converter2._tests.test_link.TestConverterExternOutput object at 0x50daa50>
4403 input = 'wiki.local:/Test', page = 'wiki:///Root/Sub'
4404 output = './Root/Sub/Test', skip = None
4405 
4406     def _do_wikilocal(self, input, page, output, skip=None):
4407         if skip:
4408             py.test.skip(skip)
4409         elem = ET.Element(None)
4410 >       self.conv.handle_wikilocal(elem, Iri(input), Iri(page))
4411 
4412 MoinMoin/converter2/_tests/test_link.py:70: 
4413 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
4414 
4415 self = <MoinMoin.converter2.link.ConverterExternOutput object at 0x44dc890>
4416 elem = <Element None at 3a96590>
4417 input = Iri(scheme=u'wiki.local', authority=None, path=<MoinMoin.util.iri.IriPath object at 0x37dcd00>, query=None, fragment=None)
4418 page = Iri(scheme=u'wiki', authority=IriAuthority(userinfo=None, host=None, port=None...ath=<MoinMoin.util.iri.IriPath object at 0x37dca98>, query=None, fragment=None)
4419 
4420     def handle_wikilocal(self, elem, input, page):
4421         do, query = self._get_do(input.query)
4422         link = Iri(query=query, fragment=input.fragment)
4423     
4424         if input.path:
4425             path = input.path
4426     
4427             if path[0] == '':
4428                 # /subitem
4429                 tmp = page.path[1:]
4430                 tmp.extend(path[1:])
4431                 path = tmp
4432             elif path[0] == '..':
4433                 # ../sisteritem
4434                 path = page.path[1:] + path[1:]
4435     
4436 >           if not self.request.storage.has_item(unicode(path)):
4437 E           AttributeError: 'TestRequest' object has no attribute 'storage'
4438 
4439 MoinMoin/converter2/link.py:135: AttributeError
4440 _________________ TestConverterExternOutput.test_wikilocal[5] __________________
4441 
4442 self = <MoinMoin.converter2._tests.test_link.TestConverterExternOutput object at 0x50daa50>
4443 input = 'wiki.local:../Test', page = 'wiki:///Root', output = './Test'
4444 skip = None
4445 
4446     def _do_wikilocal(self, input, page, output, skip=None):
4447         if skip:
4448             py.test.skip(skip)
4449         elem = ET.Element(None)
4450 >       self.conv.handle_wikilocal(elem, Iri(input), Iri(page))
4451 
4452 MoinMoin/converter2/_tests/test_link.py:70: 
4453 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
4454 
4455 self = <MoinMoin.converter2.link.ConverterExternOutput object at 0x44dc890>
4456 elem = <Element None at 3a96290>
4457 input = Iri(scheme=u'wiki.local', authority=None, path=<MoinMoin.util.iri.IriPath object at 0x3beeec0>, query=None, fragment=None)
4458 page = Iri(scheme=u'wiki', authority=IriAuthority(userinfo=None, host=None, port=None...ath=<MoinMoin.util.iri.IriPath object at 0x3bee408>, query=None, fragment=None)
4459 
4460     def handle_wikilocal(self, elem, input, page):
4461         do, query = self._get_do(input.query)
4462         link = Iri(query=query, fragment=input.fragment)
4463     
4464         if input.path:
4465             path = input.path
4466     
4467             if path[0] == '':
4468                 # /subitem
4469                 tmp = page.path[1:]
4470                 tmp.extend(path[1:])
4471                 path = tmp
4472             elif path[0] == '..':
4473                 # ../sisteritem
4474                 path = page.path[1:] + path[1:]
4475     
4476 >           if not self.request.storage.has_item(unicode(path)):
4477 E           AttributeError: 'TestRequest' object has no attribute 'storage'
4478 
4479 MoinMoin/converter2/link.py:135: AttributeError
4480 _________________ TestConverterExternOutput.test_wikilocal[6] __________________
4481 
4482 self = <MoinMoin.converter2._tests.test_link.TestConverterExternOutput object at 0x50daa50>
4483 input = 'wiki.local:../Test', page = 'wiki:///Root/Sub', output = './Root/Test'
4484 skip = None
4485 
4486     def _do_wikilocal(self, input, page, output, skip=None):
4487         if skip:
4488             py.test.skip(skip)
4489         elem = ET.Element(None)
4490 >       self.conv.handle_wikilocal(elem, Iri(input), Iri(page))
4491 
4492 MoinMoin/converter2/_tests/test_link.py:70: 
4493 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
4494 
4495 self = <MoinMoin.converter2.link.ConverterExternOutput object at 0x44dc890>
4496 elem = <Element None at 3a96d90>
4497 input = Iri(scheme=u'wiki.local', authority=None, path=<MoinMoin.util.iri.IriPath object at 0x37dc558>, query=None, fragment=None)
4498 page = Iri(scheme=u'wiki', authority=IriAuthority(userinfo=None, host=None, port=None...ath=<MoinMoin.util.iri.IriPath object at 0x37dc5c8>, query=None, fragment=None)
4499 
4500     def handle_wikilocal(self, elem, input, page):
4501         do, query = self._get_do(input.query)
4502         link = Iri(query=query, fragment=input.fragment)
4503     
4504         if input.path:
4505             path = input.path
4506     
4507             if path[0] == '':
4508                 # /subitem
4509                 tmp = page.path[1:]
4510                 tmp.extend(path[1:])
4511                 path = tmp
4512             elif path[0] == '..':
4513                 # ../sisteritem
4514                 path = page.path[1:] + path[1:]
4515     
4516 >           if not self.request.storage.has_item(unicode(path)):
4517 E           AttributeError: 'TestRequest' object has no attribute 'storage'
4518 
4519 MoinMoin/converter2/link.py:135: AttributeError
4520 _________________________ TestConverter.test_base[10] __________________________
4521 
4522 self = <MoinMoin.converter2._tests.test_mediawiki_in.TestConverter object at 0x50c7b90>
4523 input = u'text <blockquote> quote quote quote quote quote quote </blockquote> text'
4524 output = u'', args = {}, skip = None
4525 
4526     def do(self, input, output, args={}, skip=None):
4527         out = self.conv(input.split(u'\n'), **args)
4528         print self.serialize(out)
4529 >       assert self.serialize(out) == output
4530 E       assert u'<page><body><p>text &lt;blockquote&gt; quote quote quote quote quote quote &lt;/blockquote&gt; text</p></body></page>' == u''
4531 E        +  where u'<page><body><p>text &lt;blockquote&gt; quote quote quote quote quote quote &lt;/blockquote&gt; text</p></body></page>' = <MoinMoin.converter2._tests.test_mediawiki_in.TestConverter object at 0x50c7b90>.serialize(<Element Name(u'page', u'http://moinmo.in/namespaces/page') at 49fd350>)
4532 
4533 MoinMoin/converter2/_tests/test_mediawiki_in.py:141: AssertionError
4534 ------------------------------- Captured stdout --------------------------------
4535 <page><body><p>text &lt;blockquote&gt; quote quote quote quote quote quote &lt;/blockquote&gt; text</p></body></page>
4536 __________________________ TestConverter.test_list[2] __________________________
4537 
4538 self = <MoinMoin.converter2._tests.test_mediawiki_in.TestConverter object at 0x50f4d10>
4539 input = ';item 1\n: definition 1\n;item 2\n: definition 2-1\n: definition 2-2\n'
4540 output = '', args = {}, skip = None
4541 
4542     def do(self, input, output, args={}, skip=None):
4543         out = self.conv(input.split(u'\n'), **args)
4544         print self.serialize(out)
4545 >       assert self.serialize(out) == output
4546 E       assert u'<page><body><list><list-item><list-item-label>item 1</list-item-label><list-...m-body><p>definition 2-2</p></list-item-body></list-item></list></body></page>' == ''
4547 E        +  where u'<page><body><list><list-item><list-item-label>item 1</list-item-label><list-...m-body><p>definition 2-2</p></list-item-body></list-item></list></body></page>' = <MoinMoin.converter2._tests.test_mediawiki_in.TestConverter object at 0x50f4d10>.serialize(<Element Name(u'page', u'http://moinmo.in/namespaces/page') at 331fbd0>)
4548 
4549 MoinMoin/converter2/_tests/test_mediawiki_in.py:141: AssertionError
4550 ------------------------------- Captured stdout --------------------------------
4551 <page><body><list><list-item><list-item-label>item 1</list-item-label><list-item-body /></list-item></list><list item-label-generate="None"><list-item><list-item-body><p>definition 1</p></list-item-body></list-item></list><list><list-item><list-item-label>item 2</list-item-label><list-item-body /></list-item></list><list item-label-generate="None"><list-item><list-item-body><p>definition 2-1</p></list-item-body></list-item><list-item><list-item-body><p>definition 2-2</p></list-item-body></list-item></list></body></page>
4552 __________________________ TestConverter.test_list[5] __________________________
4553 
4554 self = <MoinMoin.converter2._tests.test_mediawiki_in.TestConverter object at 0x50f4d10>
4555 input = '# one\n# two\n#* two point one\n#* two point two\n# three\n#; three item one\n#: three def one\n'
4556 output = '', args = {}, skip = None
4557 
4558     def do(self, input, output, args={}, skip=None):
4559         out = self.conv(input.split(u'\n'), **args)
4560         print self.serialize(out)
4561 >       assert self.serialize(out) == output
4562 E       assert u'<page><body><list item-label-generate="ordered"><list-item><list-item-body><...tem-body></list-item></list></list-item-body></list-item></list></body></page>' == ''
4563 E        +  where u'<page><body><list item-label-generate="ordered"><list-item><list-item-body><...tem-body></list-item></list></list-item-body></list-item></list></body></page>' = <MoinMoin.converter2._tests.test_mediawiki_in.TestConverter object at 0x50f4d10>.serialize(<Element Name(u'page', u'http://moinmo.in/namespaces/page') at 331f390>)
4564 
4565 MoinMoin/converter2/_tests/test_mediawiki_in.py:141: AssertionError
4566 ------------------------------- Captured stdout --------------------------------
4567 <page><body><list item-label-generate="ordered"><list-item><list-item-body><p>one</p></list-item-body></list-item><list-item><list-item-body><p>two</p><list item-label-generate="unordered"><list-item><list-item-body><p>two point one</p></list-item-body></list-item><list-item><list-item-body><p>two point two</p></list-item-body></list-item></list></list-item-body></list-item><list-item><list-item-body><p>three</p><list><list-item><list-item-label>three item one</list-item-label><list-item-body /></list-item></list><list item-label-generate="None"><list-item><list-item-body><p>three def one</p></list-item-body></list-item></list></list-item-body></list-item></list></body></page>
4568 ____________________ TestConverterFormat19.test_freelink[2] ____________________
4569 
4570 self = <MoinMoin.converter2._tests.test_moinwiki19_in.TestConverterFormat19 object at 0x41f1910>
4571 input = u'Self:FrontPage'
4572 output = '<page><body><p><a xlink:href="wiki://Self/FrontPage">FrontPage</a></p></body></page>'
4573 args = {}, skip = None
4574 
4575     def do(self, input, output, args={}, skip=None):
4576         if skip:
4577             py.test.skip(skip)
4578 >       out = self.conv(input.split(u'\n'), **args)
4579 
4580 MoinMoin/converter2/_tests/test_moinwiki_in.py:262: 
4581 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
4582 
4583 self = <MoinMoin.converter2.moinwiki19_in.ConverterFormat19 object at 0x3ab4bd0>
4584 content = [u'Self:FrontPage'], arguments = None
4585 
4586     def __call__(self, content, arguments=None):
4587         iter_content = _Iter(content)
4588     
4589 >       body = self.parse_block(iter_content, arguments)
4590 
4591 MoinMoin/converter2/moinwiki_in.py:182: 
4592 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
4593 
4594 self = <MoinMoin.converter2.moinwiki19_in.ConverterFormat19 object at 0x3ab4bd0>
4595 iter_content = <MoinMoin.converter2.moinwiki_in._Iter object at 0x4cd0d90>
4596 arguments = None
4597 
4598     def parse_block(self, iter_content, arguments):
4599         attrib = {}
4600         if arguments:
4601             for key, value in arguments.keyword.iteritems():
4602                 if key in ('style', ):
4603                     attrib[moin_page(key)] = value
4604                 elif key == '_old':
4605                     attrib[moin_page.class_] = value.replace('/', ' ')
4606     
4607         body = moin_page.body(attrib=attrib)
4608     
4609         stack = _Stack(body)
4610     
4611         for line in iter_content:
4612             data = dict(((str(k), v) for k, v in self.indent_re.match(line).groupdict().iteritems() if v is not None))
4613 >           self.indent_repl(iter_content, stack, line, **data)
4614 
4615 MoinMoin/converter2/moinwiki_in.py:982: 
4616 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
4617 
4618 self = <MoinMoin.converter2.moinwiki19_in.ConverterFormat19 object at 0x3ab4bd0>
4619 iter_content = <MoinMoin.converter2.moinwiki_in._Iter object at 0x4cd0d90>
4620 stack = <MoinMoin.converter2.moinwiki_in._Stack object at 0x4cd0ad0>
4621 line = u'Self:FrontPage', indent = u'', text = u'Self:FrontPage'
4622 list_begin = None, list_definition = None, list_definition_text = None
4623 list_numbers = None, list_alpha = None, list_roman = None, list_bullet = None
4624 list_none = None
4625 
4626     def indent_repl(self, iter_content, stack, line,
4627             indent, text, list_begin=None, list_definition=None,
4628             list_definition_text=None, list_numbers=None,
4629             list_alpha=None, list_roman=None, list_bullet=None,
4630             list_none=None):
4631     
4632         level = len(indent)
4633     
4634         list_type = 'unordered', 'none'
4635     
4636         if list_begin:
4637             if list_definition:
4638                 list_type = 'definition', None
4639             elif list_numbers:
4640                 list_type = 'ordered', None
4641             elif list_alpha:
4642                 list_type = 'ordered', 'upper-alpha'
4643             elif list_roman:
4644                 list_type = 'ordered', 'upper-roman'
4645             elif list_bullet:
4646                 list_type = 'unordered', None
4647     
4648         element_use = None
4649         while len(stack) > 1:
4650             cur = stack.top()
4651             if cur.tag.name == 'list-item-body':
4652                 if level > cur.level:
4653                     element_use = cur
4654                     break
4655             if cur.tag.name == 'list':
4656                 if level >= cur.level and list_type == cur.list_type:
4657                     element_use = cur
4658                     break
4659             stack.pop()
4660     
4661         if not element_use:
4662             element_use = stack.top()
4663     
4664         if indent:
4665             if element_use.tag.name != 'list':
4666                 attrib = {}
4667                 if not list_definition:
4668                     attrib[moin_page.item_label_generate] = list_type[0]
4669                 if list_type[1]:
4670                     attrib[moin_page.list_style_type] = list_type[1]
4671                 element = moin_page.list(attrib=attrib)
4672                 element.level, element.list_type = level, list_type
4673                 stack.push(element)
4674     
4675             stack.push(moin_page.list_item())
4676     
4677             if list_definition_text:
4678                 element_label = moin_page.list_item_label()
4679                 stack.top_append(element_label)
4680                 new_stack = _Stack(element_label)
4681     
4682                 self.parse_inline(list_definition_text, new_stack, self.inline_re)
4683     
4684             element_body = moin_page.list_item_body()
4685             element_body.level, element_body.type = level, type
4686     
4687             stack.push(element_body)
4688             new_stack = _Stack(element_body)
4689         else:
4690             new_stack = stack
4691     
4692         iter = _Iter(self.indent_iter(iter_content, text, level))
4693         for line in iter:
4694             match = self.block_re.match(line)
4695             it = iter
4696             # XXX: Hack to allow nowiki to ignore the list identation
4697             if match.lastgroup == 'nowiki':
4698                 it = iter_content
4699 >           self._apply(match, 'block', it, new_stack)
4700 
4701 MoinMoin/converter2/moinwiki_in.py:515: 
4702 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
4703 
4704 self = <MoinMoin.converter2.moinwiki19_in.ConverterFormat19 object at 0x3ab4bd0>
4705 match = <_sre.SRE_Match object at 0x351e510>, prefix = 'block'
4706 
4707     def _apply(self, match, prefix, *args):
4708         """
4709             Call the _repl method for the last matched group with the given prefix.
4710             """
4711         data = dict(((str(k), v) for k, v in match.groupdict().iteritems() if v is not None))
4712         func = '%s_%s_repl' % (prefix, match.lastgroup)
4713         #logging.debug("calling %s(%r, %r)" % (func, args, data))
4714 >       getattr(self, func)(*args, **data)
4715 
4716 MoinMoin/converter2/moinwiki_in.py:965: 
4717 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
4718 
4719 self = <MoinMoin.converter2.moinwiki19_in.ConverterFormat19 object at 0x3ab4bd0>
4720 _iter_content = <MoinMoin.converter2.moinwiki_in._Iter object at 0x4cd0c50>
4721 stack = <MoinMoin.converter2.moinwiki_in._Stack object at 0x4cd0ad0>
4722 text = u'Self:FrontPage'
4723 
4724     def block_text_repl(self, _iter_content, stack, text):
4725         if stack.top_check('table', 'table-body', 'list'):
4726             stack.clear()
4727     
4728         if stack.top_check('body', 'list-item-body'):
4729             element = moin_page.p()
4730             stack.push(element)
4731         # If we are in a paragraph already, don't loose the whitespace
4732         else:
4733             stack.top_append('\n')
4734 >       self.parse_inline(text, stack, self.inline_re)
4735 
4736 MoinMoin/converter2/moinwiki_in.py:393: 
4737 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
4738 
4739 self = <MoinMoin.converter2.moinwiki19_in.ConverterFormat19 object at 0x3ab4bd0>
4740 text = u'Self:FrontPage'
4741 stack = <MoinMoin.converter2.moinwiki_in._Stack object at 0x4cd0ad0>
4742 inline_re = <_sre.SRE_Pattern object at 0x528b2b0>
4743 
4744     def parse_inline(self, text, stack, inline_re):
4745         """Recognize inline elements within the given text"""
4746     
4747         pos = 0
4748         for match in inline_re.finditer(text):
4749             # Handle leading text
4750             stack.top_append_ifnotempty(text[pos:match.start()])
4751             pos = match.end()
4752     
4753 >           self._apply(match, 'inline', stack)
4754 
4755 MoinMoin/converter2/moinwiki_in.py:995: 
4756 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
4757 
4758 self = <MoinMoin.converter2.moinwiki19_in.ConverterFormat19 object at 0x3ab4bd0>
4759 match = <_sre.SRE_Match object at 0x2ecb760>, prefix = 'inline'
4760 
4761     def _apply(self, match, prefix, *args):
4762         """
4763             Call the _repl method for the last matched group with the given prefix.
4764             """
4765         data = dict(((str(k), v) for k, v in match.groupdict().iteritems() if v is not None))
4766         func = '%s_%s_repl' % (prefix, match.lastgroup)
4767         #logging.debug("calling %s(%r, %r)" % (func, args, data))
4768 >       getattr(self, func)(*args, **data)
4769 
4770 MoinMoin/converter2/moinwiki_in.py:965: 
4771 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
4772 
4773 self = <MoinMoin.converter2.moinwiki19_in.ConverterFormat19 object at 0x3ab4bd0>
4774 stack = <MoinMoin.converter2.moinwiki_in._Stack object at 0x4cd0ad0>
4775 freelink = u'Self:FrontPage', freelink_bang = None
4776 freelink_interwiki_page = u'FrontPage', freelink_interwiki_ref = u'Self'
4777 freelink_page = None, freelink_email = None
4778 
4779     def inline_freelink_repl(self, stack, freelink, freelink_bang=None,
4780             freelink_interwiki_page=None, freelink_interwiki_ref=None,
4781             freelink_page=None, freelink_email=None):
4782         if freelink_bang:
4783             stack.top_append(freelink)
4784             return
4785     
4786         attrib = {}
4787     
4788         if freelink_page:
4789             page = freelink_page.encode('utf-8')
4790             if '#' in page:
4791                 path, fragment = page.rsplit('#', 1)
4792             else:
4793                 path, fragment = page, None
4794             link = Iri(scheme='wiki.local', path=path, fragment=fragment)
4795             text = freelink_page
4796     
4797         elif freelink_email:
4798             link = 'mailto:' + freelink_email
4799             text = freelink_email
4800     
4801         else:
4802             wikitag_bad = wikiutil.resolve_interwiki(self.request,
4803 >                   freelink_interwiki_ref, freelink_interwiki_page)[3]
4804 
4805 MoinMoin/converter2/moinwiki19_in.py:108: 
4806 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
4807 
4808 request = <TestRequest 0 bytes [200 OK]>, wikiname = u'Self'
4809 pagename = u'FrontPage'
4810 
4811     def resolve_interwiki(request, wikiname, pagename):
4812         """ Resolve an interwiki reference (wikiname:pagename).
4813     
4814         @param request: the request object
4815         @param wikiname: interwiki wiki name
4816         @param pagename: interwiki page name
4817         @rtype: tuple
4818         @return: (wikitag, wikiurl, wikitail, err)
4819         """
4820 >       _interwiki_list = load_wikimap(request)
4821 
4822 MoinMoin/wikiutil.py:550: 
4823 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
4824 
4825 request = <TestRequest 0 bytes [200 OK]>
4826 
4827     def load_wikimap(request):
4828         """ load interwiki map (once, and only on demand) """
4829         from MoinMoin.Page import Page
4830     
4831         now = int(time.time())
4832         if getattr(request.cfg, "shared_intermap_files", None) is None:
4833             generate_file_list(request)
4834     
4835         try:
4836             _interwiki_list = request.cfg.cache.interwiki_list
4837             old_mtime = request.cfg.cache.interwiki_mtime
4838             if request.cfg.cache.interwiki_ts + (1*60) < now: # 1 minutes caching time
4839                 max_mtime = get_max_mtime(request.cfg.shared_intermap_files, Page(request, INTERWIKI_PAGE))
4840                 if max_mtime > old_mtime:
4841                     raise AttributeError # refresh cache
4842                 else:
4843                     request.cfg.cache.interwiki_ts = now
4844         except AttributeError:
4845             _interwiki_list = {}
4846             lines = []
4847     
4848             for filename in request.cfg.shared_intermap_files:
4849                 f = codecs.open(filename, "r", config.charset)
4850                 lines.extend(f.readlines())
4851                 f.close()
4852     
4853             # add the contents of the InterWikiMap page
4854 >           lines += Page(request, INTERWIKI_PAGE).get_raw_body().splitlines()
4855 
4856 MoinMoin/wikiutil.py:496: 
4857 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
4858 
4859 self = <MoinMoin.Page.Page object at 0x4cd0bd0>
4860 request = <TestRequest 0 bytes [200 OK]>, page_name = 'InterWikiMap'
4861 formatter = None
4862 
4863     def __init__(self, request, page_name, formatter=None, **kw):
4864         """ Create page object.
4865     
4866             Note that this is a 'lean' operation, since the text for the page
4867             is loaded on demand. Thus, things like `Page(name).link_to()` are
4868             efficient.
4869     
4870             @param page_name: WikiName of the page
4871             @keyword rev: number of older revision
4872             @keyword formatter: mimetype str,
4873                                 None or no kw arg will use default mimetype
4874             @keyword include_self: if 1, include current user (default: 0)
4875             """
4876         self.request = request
4877         self.cfg = request.cfg
4878         self.page_name = page_name
4879         self.rev = kw.get('rev', -1) # revision of this page
4880         self.include_self = kw.get('include_self', 0)
4881     
4882         if isinstance(formatter, basestring): # mimetype given
4883             mimetype = str(formatter)
4884         else:
4885             mimetype = 'text/html'
4886     
4887         self.output_mimetype = mimetype
4888         self.default_formatter = mimetype == "text/html"
4889     
4890         self.output_charset = config.charset # correct for wiki pages
4891     
4892         self._page_name_force = None
4893         self.hilite_re = None
4894     
4895 >       self._backend = request.storage
4896 E       AttributeError: 'TestRequest' object has no attribute 'storage'
4897 
4898 MoinMoin/Page.py:69: AttributeError
4899 __________________________ TestConverter.test_base[2] __________________________
4900 
4901 self = <MoinMoin.converter2._tests.test_moinwiki_in_out.TestConverter object at 0x5761850>
4902 input = u'----\n-----\n------\n', output = '----\n-----\n------\n', args = {}
4903 skip = None
4904 
4905     def do(self, input, output, args={}, skip=None):
4906         if skip:
4907             py.test.skip(skip)
4908         out = self.conv_in(input.split(u'\n'), **args)
4909         out = self.conv_out(self.handle_input(self.serialize(out)), **args)
4910 >       assert self.handle_output(out) == output
4911 E       assert u'----\n----\n----\n' == '----\n-----\n------\n'
4912 E        +  where u'----\n----\n----\n' = <MoinMoin.converter2._tests.test_moinwiki_in_out.TestConverter object at 0x5761850>.handle_output(u'----\n----\n----\n')
4913 
4914 MoinMoin/converter2/_tests/test_moinwiki_in_out.py:524: AssertionError
4915 _________________________ TestConverter.test_base[13] __________________________
4916 
4917 self = <MoinMoin.converter2._tests.test_moinwiki_in_out.TestConverter object at 0x5761850>
4918 input = u'## comment\n', output = '## comment\n', args = {}, skip = None
4919 
4920     def do(self, input, output, args={}, skip=None):
4921         if skip:
4922             py.test.skip(skip)
4923         out = self.conv_in(input.split(u'\n'), **args)
4924         out = self.conv_out(self.handle_input(self.serialize(out)), **args)
4925 >       assert self.handle_output(out) == output
4926 E       assert u'' == '## comment\n'
4927 E        +  where u'' = <MoinMoin.converter2._tests.test_moinwiki_in_out.TestConverter object at 0x5761850>.handle_output(u'')
4928 
4929 MoinMoin/converter2/_tests/test_moinwiki_in_out.py:524: AssertionError
4930 _________________________ TestConverter.test_macros[1] _________________________
4931 
4932 self = <MoinMoin.converter2._tests.test_moinwiki_in_out.TestConverter object at 0x3083a50>
4933 input = u'<<MonthCalendar(,,12)>>', output = '<<MonthCalendar(,,12)>>\n'
4934 args = {}, skip = None
4935 
4936     def do(self, input, output, args={}, skip=None):
4937         if skip:
4938             py.test.skip(skip)
4939         out = self.conv_in(input.split(u'\n'), **args)
4940         out = self.conv_out(self.handle_input(self.serialize(out)), **args)
4941 >       assert self.handle_output(out) == output
4942 E       assert u'<<MonthCalendar(12)>>\n' == '<<MonthCalendar(,,12)>>\n'
4943 E        +  where u'<<MonthCalendar(12)>>\n' = <MoinMoin.converter2._tests.test_moinwiki_in_out.TestConverter object at 0x3083a50>.handle_output(u'<<MonthCalendar(12)>>\n')
4944 
4945 MoinMoin/converter2/_tests/test_moinwiki_in_out.py:524: AssertionError
4946 ________________________ TestConverter.test_parsers[3] _________________________
4947 
4948 self = <MoinMoin.converter2._tests.test_moinwiki_in_out.TestConverter object at 0x3c12050>
4949 input = u'#format creole\n... **bold** ...\n'
4950 output = '#format creole\n... **bold** ...\n', args = {}, skip = None
4951 
4952     def do(self, input, output, args={}, skip=None):
4953         if skip:
4954             py.test.skip(skip)
4955         out = self.conv_in(input.split(u'\n'), **args)
4956         out = self.conv_out(self.handle_input(self.serialize(out)), **args)
4957 >       assert self.handle_output(out) == output
4958 E       assert u'#format creole\n\n.. **bold** ...\n' == '#format creole\n... **bold** ...\n'
4959 E        +  where u'#format creole\n\n.. **bold** ...\n' = <MoinMoin.converter2._tests.test_moinwiki_in_out.TestConverter object at 0x3c12050>.handle_output(u'#format creole\n\n.. **bold** ...\n')
4960 
4961 MoinMoin/converter2/_tests/test_moinwiki_in_out.py:524: AssertionError
4962 _______________________ TestConverter.test_variables[0] ________________________
4963 
4964 self = <MoinMoin.converter2._tests.test_moinwiki_in_out.TestConverter object at 0x44d3310>
4965 input = u'VAR:: text', output = u'VAR:: text', args = {}, skip = None
4966 
4967     def do(self, input, output, args={}, skip=None):
4968         if skip:
4969             py.test.skip(skip)
4970         out = self.conv_in(input.split(u'\n'), **args)
4971         out = self.conv_out(self.handle_input(self.serialize(out)), **args)
4972 >       assert self.handle_output(out) == output
4973 E       assert u'text\n' == u'VAR:: text'
4974 E        +  where u'text\n' = <MoinMoin.converter2._tests.test_moinwiki_in_out.TestConverter object at 0x44d3310>.handle_output(u'text\n')
4975 
4976 MoinMoin/converter2/_tests/test_moinwiki_in_out.py:524: AssertionError
4977 _______________________ TestConverter.test_variables[1] ________________________
4978 
4979 self = <MoinMoin.converter2._tests.test_moinwiki_in_out.TestConverter object at 0x44d3310>
4980 input = u'@TIME@', output = u'', args = {}, skip = None
4981 
4982     def do(self, input, output, args={}, skip=None):
4983         if skip:
4984             py.test.skip(skip)
4985         out = self.conv_in(input.split(u'\n'), **args)
4986         out = self.conv_out(self.handle_input(self.serialize(out)), **args)
4987 >       assert self.handle_output(out) == output
4988 E       assert u'@TIME@\n' == u''
4989 E        +  where u'@TIME@\n' = <MoinMoin.converter2._tests.test_moinwiki_in_out.TestConverter object at 0x44d3310>.handle_output(u'@TIME@\n')
4990 
4991 MoinMoin/converter2/_tests/test_moinwiki_in_out.py:524: AssertionError
4992 _______________________ TestConverter.test_variables[2] ________________________
4993 
4994 self = <MoinMoin.converter2._tests.test_moinwiki_in_out.TestConverter object at 0x44d3310>
4995 input = u'@DATE@', output = u'', args = {}, skip = None
4996 
4997     def do(self, input, output, args={}, skip=None):
4998         if skip:
4999             py.test.skip(skip)
5000         out = self.conv_in(input.split(u'\n'), **args)
5001         out = self.conv_out(self.handle_input(self.serialize(out)), **args)
5002 >       assert self.handle_output(out) == output
5003 E       assert u'@DATE@\n' == u''
5004 E        +  where u'@DATE@\n' = <MoinMoin.converter2._tests.test_moinwiki_in_out.TestConverter object at 0x44d3310>.handle_output(u'@DATE@\n')
5005 
5006 MoinMoin/converter2/_tests/test_moinwiki_in_out.py:524: AssertionError
5007 _______________________ TestConverter.test_variables[3] ________________________
5008 
5009 self = <MoinMoin.converter2._tests.test_moinwiki_in_out.TestConverter object at 0x44d3310>
5010 input = u'@PAGE@', output = u'', args = {}, skip = None
5011 
5012     def do(self, input, output, args={}, skip=None):
5013         if skip:
5014             py.test.skip(skip)
5015         out = self.conv_in(input.split(u'\n'), **args)
5016         out = self.conv_out(self.handle_input(self.serialize(out)), **args)
5017 >       assert self.handle_output(out) == output
5018 E       assert u'@PAGE@\n' == u''
5019 E        +  where u'@PAGE@\n' = <MoinMoin.converter2._tests.test_moinwiki_in_out.TestConverter object at 0x44d3310>.handle_output(u'@PAGE@\n')
5020 
5021 MoinMoin/converter2/_tests/test_moinwiki_in_out.py:524: AssertionError
5022 __________________________ TestConverter.test_link[1] __________________________
5023 
5024 self = <MoinMoin.converter2._tests.test_moinwiki_in_out.TestConverter object at 0x3fd5d50>
5025 input = u'[[SomePage|{{attachment:samplegraphic.png}}|target=_blank]]'
5026 output = '[[SomePage|{{attachment:samplegraphic.png}}|target=_blank]]\n'
5027 args = {}, skip = None
5028 
5029     def do(self, input, output, args={}, skip=None):
5030         if skip:
5031             py.test.skip(skip)
5032         out = self.conv_in(input.split(u'\n'), **args)
5033         out = self.conv_out(self.handle_input(self.serialize(out)), **args)
5034 >       assert self.handle_output(out) == output
5035 E       assert u'[[SomePage|{{attachment:samplegraphic.png}}|&target=_blank]]\n' == '[[SomePage|{{attachment:samplegraphic.png}}|target=_blank]]\n'
5036 E        +  where u'[[SomePage|{{attachment:samplegraphic.png}}|&target=_blank]]\n' = <MoinMoin.converter2._tests.test_moinwiki_in_out.TestConverter object at 0x3fd5d50>.handle_output(u'[[SomePage|{{attachment:samplegraphic.png}}|&target=_blank]]\n')
5037 
5038 MoinMoin/converter2/_tests/test_moinwiki_in_out.py:524: AssertionError
5039 __________________________ TestConverter.test_link[4] __________________________
5040 
5041 self = <MoinMoin.converter2._tests.test_moinwiki_in_out.TestConverter object at 0x3fd5d50>
5042 input = u'[[http://static.moinmo.in/logos/moinmoin.png|{{attachment:samplegraphic.png}}|target=_blank]]'
5043 output = '[[http://static.moinmo.in/logos/moinmoin.png|{{attachment:samplegraphic.png}}|target=_blank]]\n'
5044 args = {}, skip = None
5045 
5046     def do(self, input, output, args={}, skip=None):
5047         if skip:
5048             py.test.skip(skip)
5049         out = self.conv_in(input.split(u'\n'), **args)
5050         out = self.conv_out(self.handle_input(self.serialize(out)), **args)
5051 >       assert self.handle_output(out) == output
5052 E       assert u'[[http://static.moinmo.in/logos/moinmoin.png|{{attachment:samplegraphic.png}}]]\n' == '[[http://static.moinmo.in/logos/moinmoin.png|{{attachment:samplegraphic.png}}|target=_blank]]\n'
5053 E        +  where u'[[http://static.moinmo.in/logos/moinmoin.png|{{attachment:samplegraphic.png}}]]\n' = <MoinMoin.converter2._tests.test_moinwiki_in_out.TestConverter object at 0x3fd5d50>.handle_output(u'[[http://static.moinmo.in/logos/moinmoin.png|{{attachment:samplegraphic.png}}]]\n')
5054 
5055 MoinMoin/converter2/_tests/test_moinwiki_in_out.py:524: AssertionError
5056 __________________________ TestConverter.test_link[5] __________________________
5057 
5058 self = <MoinMoin.converter2._tests.test_moinwiki_in_out.TestConverter object at 0x3fd5d50>
5059 input = u'[[http://moinmo.in/|MoinMoin Wiki|class=green dotted, accesskey=1]]'
5060 output = '[[http://moinmo.in/|MoinMoin Wiki|class=green dotted,accesskey=1]]\n'
5061 args = {}, skip = None
5062 
5063     def do(self, input, output, args={}, skip=None):
5064         if skip:
5065             py.test.skip(skip)
5066         out = self.conv_in(input.split(u'\n'), **args)
5067         out = self.conv_out(self.handle_input(self.serialize(out)), **args)
5068 >       assert self.handle_output(out) == output
5069 E       assert u'[[http://moinmo.in/|MoinMoin Wiki]]\n' == '[[http://moinmo.in/|MoinMoin Wiki|class=green dotted,accesskey=1]]\n'
5070 E        +  where u'[[http://moinmo.in/|MoinMoin Wiki]]\n' = <MoinMoin.converter2._tests.test_moinwiki_in_out.TestConverter object at 0x3fd5d50>.handle_output(u'[[http://moinmo.in/|MoinMoin Wiki]]\n')
5071 
5072 MoinMoin/converter2/_tests/test_moinwiki_in_out.py:524: AssertionError
5073 __________________________ TestConverter.test_link[7] __________________________
5074 
5075 self = <MoinMoin.converter2._tests.test_moinwiki_in_out.TestConverter object at 0x3fd5d50>
5076 input = u'[[attachment:HelpOnImages/pineapple.jpg|a pineapple|&do=get]]'
5077 output = '[[attachment:HelpOnImages/pineapple.jpg|a pineapple|&do=get]]\n'
5078 args = {}, skip = None
5079 
5080     def do(self, input, output, args={}, skip=None):
5081         if skip:
5082             py.test.skip(skip)
5083         out = self.conv_in(input.split(u'\n'), **args)
5084         out = self.conv_out(self.handle_input(self.serialize(out)), **args)
5085 >       assert self.handle_output(out) == output
5086 E       assert u'[[/HelpOnImages/pineapple.jpg|a pineapple|&do=get]]\n' == '[[attachment:HelpOnImages/pineapple.jpg|a pineapple|&do=get]]\n'
5087 E        +  where u'[[/HelpOnImages/pineapple.jpg|a pineapple|&do=get]]\n' = <MoinMoin.converter2._tests.test_moinwiki_in_out.TestConverter object at 0x3fd5d50>.handle_output(u'[[/HelpOnImages/pineapple.jpg|a pineapple|&do=get]]\n')
5088 
5089 MoinMoin/converter2/_tests/test_moinwiki_in_out.py:524: AssertionError
5090 __________________________ TestConverter.test_link[8] __________________________
5091 
5092 self = <MoinMoin.converter2._tests.test_moinwiki_in_out.TestConverter object at 0x3fd5d50>
5093 input = u'[[attachment:filename.txt]]', output = '[[attachment:filename.txt]]\n'
5094 args = {}, skip = None
5095 
5096     def do(self, input, output, args={}, skip=None):
5097         if skip:
5098             py.test.skip(skip)
5099         out = self.conv_in(input.split(u'\n'), **args)
5100         out = self.conv_out(self.handle_input(self.serialize(out)), **args)
5101 >       assert self.handle_output(out) == output
5102 E       assert u'[[/filename.txt]]\n' == '[[attachment:filename.txt]]\n'
5103 E        +  where u'[[/filename.txt]]\n' = <MoinMoin.converter2._tests.test_moinwiki_in_out.TestConverter object at 0x3fd5d50>.handle_output(u'[[/filename.txt]]\n')
5104 
5105 MoinMoin/converter2/_tests/test_moinwiki_in_out.py:524: AssertionError
5106 __________________________ TestConverter.test_list[0] __________________________
5107 
5108 self = <MoinMoin.converter2._tests.test_moinwiki_in_out.TestConverter object at 0x545b210>
5109 input = u' * A\n * B\n  1. C\n  1. D\n   I. E\n   I. F\n'
5110 output = ' * A\n * B\n  1. C\n  1. D\n   I. E\n   I. F\n', args = {}
5111 skip = None
5112 
5113     def do(self, input, output, args={}, skip=None):
5114         if skip:
5115             py.test.skip(skip)
5116         out = self.conv_in(input.split(u'\n'), **args)
5117         out = self.conv_out(self.handle_input(self.serialize(out)), **args)
5118 >       assert self.handle_output(out) == output
5119 E       assert u' * A\n * B\n   1. C\n   1. D\n      I. E\n      I. F\n' == ' * A\n * B\n  1. C\n  1. D\n   I. E\n   I. F\n'
5120 E        +  where u' * A\n * B\n   1. C\n   1. D\n      I. E\n      I. F\n' = <MoinMoin.converter2._tests.test_moinwiki_in_out.TestConverter object at 0x545b210>.handle_output(u' * A\n * B\n   1. C\n   1. D\n      I. E\n      I. F\n')
5121 
5122 MoinMoin/converter2/_tests/test_moinwiki_in_out.py:524: AssertionError
5123 __________________________ TestConverter.test_list[1] __________________________
5124 
5125 self = <MoinMoin.converter2._tests.test_moinwiki_in_out.TestConverter object at 0x545b210>
5126 input = u' i. E\n i. F\n', output = ' i. E\n i. F\n', args = {}, skip = None
5127 
5128     def do(self, input, output, args={}, skip=None):
5129         if skip:
5130             py.test.skip(skip)
5131         out = self.conv_in(input.split(u'\n'), **args)
5132         out = self.conv_out(self.handle_input(self.serialize(out)), **args)
5133 >       assert self.handle_output(out) == output
5134 E       assert u' I. E\n I. F\n' == ' i. E\n i. F\n'
5135 E        +  where u' I. E\n I. F\n' = <MoinMoin.converter2._tests.test_moinwiki_in_out.TestConverter object at 0x545b210>.handle_output(u' I. E\n I. F\n')
5136 
5137 MoinMoin/converter2/_tests/test_moinwiki_in_out.py:524: AssertionError
5138 __________________________ TestConverter.test_list[3] __________________________
5139 
5140 self = <MoinMoin.converter2._tests.test_moinwiki_in_out.TestConverter object at 0x545b210>
5141 input = u' A::\n :: B\n :: C\n :: D\n', output = ' A::\n :: B\n :: C\n :: D\n'
5142 args = {}, skip = None
5143 
5144     def do(self, input, output, args={}, skip=None):
5145         if skip:
5146             py.test.skip(skip)
5147         out = self.conv_in(input.split(u'\n'), **args)
5148         out = self.conv_out(self.handle_input(self.serialize(out)), **args)
5149 >       assert self.handle_output(out) == output
5150 E       assert u'  A::\n\n :: B\n :: C\n :: D\n' == ' A::\n :: B\n :: C\n :: D\n'
5151 E        +  where u'  A::\n\n :: B\n :: C\n :: D\n' = <MoinMoin.converter2._tests.test_moinwiki_in_out.TestConverter object at 0x545b210>.handle_output(u'  A::\n\n :: B\n :: C\n :: D\n')
5152 
5153 MoinMoin/converter2/_tests/test_moinwiki_in_out.py:524: AssertionError
5154 _________________________ TestConverter.test_object[0] _________________________
5155 
5156 self = <MoinMoin.converter2._tests.test_moinwiki_in_out.TestConverter object at 0x5757cd0>
5157 input = u'{{drawing:anywikitest.adraw}}'
5158 output = '{{drawing:anywikitest.adraw}}\n', args = {}, skip = None
5159 
5160     def do(self, input, output, args={}, skip=None):
5161         if skip:
5162             py.test.skip(skip)
5163         out = self.conv_in(input.split(u'\n'), **args)
5164 >       out = self.conv_out(self.handle_input(self.serialize(out)), **args)
5165 
5166 MoinMoin/converter2/_tests/test_moinwiki_in_out.py:523: 
5167 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
5168 
5169 self = <MoinMoin.converter2._tests.test_moinwiki_in_out.TestConverter object at 0x5757cd0>
5170 input = u'<page:page><page:body><page:p><ns1:include ns1:href="wiki.local:drawing:anywikitest.adraw?" /></page:p></page:body></page:page>'
5171 
5172     def handle_input(self, input):
5173         i = self.input_re.sub(r'\1 ' + self.input_namespaces, input)
5174 >       return ET.XML(i)
5175 
5176 MoinMoin/converter2/_tests/test_moinwiki_in_out.py:508: 
5177 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
5178 
5179 text = u'<page:page xmlns="http://moinmo.in/namespaces/page" xmlns:page="http://moinm...ef="wiki.local:drawing:anywikitest.adraw?" /></page:p></page:body></page:page>'
5180 parser = <emeraldtree.tree.XMLParser object at 0x3066690>
5181 
5182     def XML(text, parser=None):
5183         if not parser:
5184             parser = XMLParser(target=TreeBuilder())
5185 >       parser.feed(text)
5186 
5187 MoinMoin/support/emeraldtree/tree.py:831: 
5188 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
5189 
5190 self = <emeraldtree.tree.XMLParser object at 0x3066690>
5191 data = u'<page:page xmlns="http://moinmo.in/namespaces/page" xmlns:page="http://moinm...ef="wiki.local:drawing:anywikitest.adraw?" /></page:p></page:body></page:page>'
5192 
5193     def feed(self, data):
5194         try:
5195             self._parser.Parse(data, 0)
5196         except self._error, v:
5197 >           self._raiseerror(v)
5198 
5199 MoinMoin/support/emeraldtree/tree.py:1112: 
5200 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
5201 
5202 self = <emeraldtree.tree.XMLParser object at 0x3066690>
5203 value = ExpatError('unbound prefix: line 1, column 160',)
5204 
5205     def _raiseerror(self, value):
5206         err = ParseError(value)
5207         err.code = value.code
5208         err.position = value.lineno, value.offset
5209 >       raise err
5210 E       ParseError: unbound prefix: line 1, column 160
5211 
5212 MoinMoin/support/emeraldtree/tree.py:1022: ParseError
5213 _________________________ TestConverter.test_object[3] _________________________
5214 
5215 self = <MoinMoin.converter2._tests.test_moinwiki_in_out.TestConverter object at 0x5757cd0>
5216 input = u'{{http://static.moinmo.in/logos/moinmoin.png|alt text|width=100 height=150 align=right}}'
5217 output = '{{http://static.moinmo.in/logos/moinmoin.png|alt text|width=100 height=150 align=right}}\n'
5218 args = {}, skip = None
5219 
5220     def do(self, input, output, args={}, skip=None):
5221         if skip:
5222             py.test.skip(skip)
5223         out = self.conv_in(input.split(u'\n'), **args)
5224         out = self.conv_out(self.handle_input(self.serialize(out)), **args)
5225 >       assert self.handle_output(out) == output
5226 E       assert u'{{http://static.moinmo.in/logos/moinmoin.png|alt text}}\n' == '{{http://static.moinmo.in/logos/moinmoin.png|alt text|width=100 height=150 align=right}}\n'
5227 E        +  where u'{{http://static.moinmo.in/logos/moinmoin.png|alt text}}\n' = <MoinMoin.converter2._tests.test_moinwiki_in_out.TestConverter object at 0x5757cd0>.handle_output(u'{{http://static.moinmo.in/logos/moinmoin.png|alt text}}\n')
5228 
5229 MoinMoin/converter2/_tests/test_moinwiki_in_out.py:524: AssertionError
5230 _________________________ TestConverter.test_object[4] _________________________
5231 
5232 self = <MoinMoin.converter2._tests.test_moinwiki_in_out.TestConverter object at 0x5757cd0>
5233 input = u'{{attachment:image.png}}', output = '{{attachment:image.png}}\n'
5234 args = {}, skip = None
5235 
5236     def do(self, input, output, args={}, skip=None):
5237         if skip:
5238             py.test.skip(skip)
5239         out = self.conv_in(input.split(u'\n'), **args)
5240 >       out = self.conv_out(self.handle_input(self.serialize(out)), **args)
5241 
5242 MoinMoin/converter2/_tests/test_moinwiki_in_out.py:523: 
5243 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
5244 
5245 self = <MoinMoin.converter2._tests.test_moinwiki_in_out.TestConverter object at 0x5757cd0>
5246 input = u'<page:page><page:body><page:p><ns1:include ns1:href="wiki.local:/image.png?" /></page:p></page:body></page:page>'
5247 
5248     def handle_input(self, input):
5249         i = self.input_re.sub(r'\1 ' + self.input_namespaces, input)
5250 >       return ET.XML(i)
5251 
5252 MoinMoin/converter2/_tests/test_moinwiki_in_out.py:508: 
5253 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
5254 
5255 text = u'<page:page xmlns="http://moinmo.in/namespaces/page" xmlns:page="http://moinm...:include ns1:href="wiki.local:/image.png?" /></page:p></page:body></page:page>'
5256 parser = <emeraldtree.tree.XMLParser object at 0x4e20d10>
5257 
5258     def XML(text, parser=None):
5259         if not parser:
5260             parser = XMLParser(target=TreeBuilder())
5261 >       parser.feed(text)
5262 
5263 MoinMoin/support/emeraldtree/tree.py:831: 
5264 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
5265 
5266 self = <emeraldtree.tree.XMLParser object at 0x4e20d10>
5267 data = u'<page:page xmlns="http://moinmo.in/namespaces/page" xmlns:page="http://moinm...:include ns1:href="wiki.local:/image.png?" /></page:p></page:body></page:page>'
5268 
5269     def feed(self, data):
5270         try:
5271             self._parser.Parse(data, 0)
5272         except self._error, v:
5273 >           self._raiseerror(v)
5274 
5275 MoinMoin/support/emeraldtree/tree.py:1112: 
5276 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
5277 
5278 self = <emeraldtree.tree.XMLParser object at 0x4e20d10>
5279 value = ExpatError('unbound prefix: line 1, column 160',)
5280 
5281     def _raiseerror(self, value):
5282         err = ParseError(value)
5283         err.code = value.code
5284         err.position = value.lineno, value.offset
5285 >       raise err
5286 E       ParseError: unbound prefix: line 1, column 160
5287 
5288 MoinMoin/support/emeraldtree/tree.py:1022: ParseError
5289 _________________________ TestConverter.test_object[5] _________________________
5290 
5291 self = <MoinMoin.converter2._tests.test_moinwiki_in_out.TestConverter object at 0x5757cd0>
5292 input = u'{{attachment:image.png|alt text}}'
5293 output = '{{attachment:image.png|alt text}}\n', args = {}, skip = None
5294 
5295     def do(self, input, output, args={}, skip=None):
5296         if skip:
5297             py.test.skip(skip)
5298         out = self.conv_in(input.split(u'\n'), **args)
5299 >       out = self.conv_out(self.handle_input(self.serialize(out)), **args)
5300 
5301 MoinMoin/converter2/_tests/test_moinwiki_in_out.py:523: 
5302 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
5303 
5304 self = <MoinMoin.converter2._tests.test_moinwiki_in_out.TestConverter object at 0x5757cd0>
5305 input = u'<page:page><page:body><page:p><ns1:include ns1:href="wiki.local:/image.png?" /></page:p></page:body></page:page>'
5306 
5307     def handle_input(self, input):
5308         i = self.input_re.sub(r'\1 ' + self.input_namespaces, input)
5309 >       return ET.XML(i)
5310 
5311 MoinMoin/converter2/_tests/test_moinwiki_in_out.py:508: 
5312 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
5313 
5314 text = u'<page:page xmlns="http://moinmo.in/namespaces/page" xmlns:page="http://moinm...:include ns1:href="wiki.local:/image.png?" /></page:p></page:body></page:page>'
5315 parser = <emeraldtree.tree.XMLParser object at 0x4e20250>
5316 
5317     def XML(text, parser=None):
5318         if not parser:
5319             parser = XMLParser(target=TreeBuilder())
5320 >       parser.feed(text)
5321 
5322 MoinMoin/support/emeraldtree/tree.py:831: 
5323 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
5324 
5325 self = <emeraldtree.tree.XMLParser object at 0x4e20250>
5326 data = u'<page:page xmlns="http://moinmo.in/namespaces/page" xmlns:page="http://moinm...:include ns1:href="wiki.local:/image.png?" /></page:p></page:body></page:page>'
5327 
5328     def feed(self, data):
5329         try:
5330             self._parser.Parse(data, 0)
5331         except self._error, v:
5332 >           self._raiseerror(v)
5333 
5334 MoinMoin/support/emeraldtree/tree.py:1112: 
5335 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
5336 
5337 self = <emeraldtree.tree.XMLParser object at 0x4e20250>
5338 value = ExpatError('unbound prefix: line 1, column 160',)
5339 
5340     def _raiseerror(self, value):
5341         err = ParseError(value)
5342         err.code = value.code
5343         err.position = value.lineno, value.offset
5344 >       raise err
5345 E       ParseError: unbound prefix: line 1, column 160
5346 
5347 MoinMoin/support/emeraldtree/tree.py:1022: ParseError
5348 _________________________ TestConverter.test_object[6] _________________________
5349 
5350 self = <MoinMoin.converter2._tests.test_moinwiki_in_out.TestConverter object at 0x5757cd0>
5351 input = u'{{attachment:image.png|alt text|width=100 align=left height=150}}'
5352 output = '{{attachment:image.png|alt text|width=100 align=left height=150}}\n'
5353 args = {}, skip = None
5354 
5355     def do(self, input, output, args={}, skip=None):
5356         if skip:
5357             py.test.skip(skip)
5358         out = self.conv_in(input.split(u'\n'), **args)
5359 >       out = self.conv_out(self.handle_input(self.serialize(out)), **args)
5360 
5361 MoinMoin/converter2/_tests/test_moinwiki_in_out.py:523: 
5362 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
5363 
5364 self = <MoinMoin.converter2._tests.test_moinwiki_in_out.TestConverter object at 0x5757cd0>
5365 input = u'<page:page><page:body><page:p><ns1:include ns1:href="wiki.local:/image.png?width=100&amp;align=left&amp;height=150" /></page:p></page:body></page:page>'
5366 
5367     def handle_input(self, input):
5368         i = self.input_re.sub(r'\1 ' + self.input_namespaces, input)
5369 >       return ET.XML(i)
5370 
5371 MoinMoin/converter2/_tests/test_moinwiki_in_out.py:508: 
5372 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
5373 
5374 text = u'<page:page xmlns="http://moinmo.in/namespaces/page" xmlns:page="http://moinm...g?width=100&amp;align=left&amp;height=150" /></page:p></page:body></page:page>'
5375 parser = <emeraldtree.tree.XMLParser object at 0x4e20690>
5376 
5377     def XML(text, parser=None):
5378         if not parser:
5379             parser = XMLParser(target=TreeBuilder())
5380 >       parser.feed(text)
5381 
5382 MoinMoin/support/emeraldtree/tree.py:831: 
5383 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
5384 
5385 self = <emeraldtree.tree.XMLParser object at 0x4e20690>
5386 data = u'<page:page xmlns="http://moinmo.in/namespaces/page" xmlns:page="http://moinm...g?width=100&amp;align=left&amp;height=150" /></page:p></page:body></page:page>'
5387 
5388     def feed(self, data):
5389         try:
5390             self._parser.Parse(data, 0)
5391         except self._error, v:
5392 >           self._raiseerror(v)
5393 
5394 MoinMoin/support/emeraldtree/tree.py:1112: 
5395 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
5396 
5397 self = <emeraldtree.tree.XMLParser object at 0x4e20690>
5398 value = ExpatError('unbound prefix: line 1, column 160',)
5399 
5400     def _raiseerror(self, value):
5401         err = ParseError(value)
5402         err.code = value.code
5403         err.position = value.lineno, value.offset
5404 >       raise err
5405 E       ParseError: unbound prefix: line 1, column 160
5406 
5407 MoinMoin/support/emeraldtree/tree.py:1022: ParseError
5408 __________________________ TestConverter.test_page[0] __________________________
5409 
5410 self = <MoinMoin.converter2._tests.test_moinwiki_in_out.TestConverter object at 0x4e206d0>
5411 input = u'\nThis page aims to introduce the most important elements of MoinMoin``\'s s...dotted" (see HelpOnParsers).\n\nIts visibility gets toggled the same way.\n}}}'
5412 output = ' ', args = {}, skip = None
5413 
5414     def do(self, input, output, args={}, skip=None):
5415         if skip:
5416             py.test.skip(skip)
5417         out = self.conv_in(input.split(u'\n'), **args)
5418 >       out = self.conv_out(self.handle_input(self.serialize(out)), **args)
5419 
5420 MoinMoin/converter2/_tests/test_moinwiki_in_out.py:523: 
5421 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
5422 
5423 self = <MoinMoin.converter2._tests.test_moinwiki_in_out.TestConverter object at 0x4e206d0>
5424 input = u'<page:page><page:body><page:p>This page aims to introduce the most important...toggled the same way.</page:p></page:body></page:page></page:body></page:page>'
5425 
5426     def handle_input(self, input):
5427         i = self.input_re.sub(r'\1 ' + self.input_namespaces, input)
5428 >       return ET.XML(i)
5429 
5430 MoinMoin/converter2/_tests/test_moinwiki_in_out.py:508: 
5431 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
5432 
5433 text = u'<page:page xmlns="http://moinmo.in/namespaces/page" xmlns:page="http://moinm...toggled the same way.</page:p></page:body></page:page></page:body></page:page>'
5434 parser = <emeraldtree.tree.XMLParser object at 0x57acc10>
5435 
5436     def XML(text, parser=None):
5437         if not parser:
5438             parser = XMLParser(target=TreeBuilder())
5439 >       parser.feed(text)
5440 
5441 MoinMoin/support/emeraldtree/tree.py:831: 
5442 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
5443 
5444 self = <emeraldtree.tree.XMLParser object at 0x57acc10>
5445 data = u'<page:page xmlns="http://moinmo.in/namespaces/page" xmlns:page="http://moinm...toggled the same way.</page:p></page:body></page:page></page:body></page:page>'
5446 
5447     def feed(self, data):
5448         try:
5449             self._parser.Parse(data, 0)
5450         except self._error, v:
5451 >           self._raiseerror(v)
5452 
5453 MoinMoin/support/emeraldtree/tree.py:1112: 
5454 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
5455 
5456 self = <emeraldtree.tree.XMLParser object at 0x57acc10>
5457 value = ExpatError('unbound prefix: line 12, column 9861',)
5458 
5459     def _raiseerror(self, value):
5460         err = ParseError(value)
5461         err.code = value.code
5462         err.position = value.lineno, value.offset
5463 >       raise err
5464 E       ParseError: unbound prefix: line 12, column 9861
5465 
5466 MoinMoin/support/emeraldtree/tree.py:1022: ParseError
5467 __________________________ TestConverter.test_page[0] __________________________
5468 
5469 self = <MoinMoin.converter2._tests.test_moinwiki_out.TestConverter object at 0x4cb9390>
5470 input = u'<page:page><page:body><page:p>This page aims to introduce the most important...toggled the same way.</page:p></page:body></page:page></page:body></page:page>'
5471 output = ' ', args = {}
5472 
5473     def do(self, input, output, args={}):
5474         out = self.conv(self.handle_input(input), **args)
5475 >       assert self.handle_output(out) == output
5476 E       assert u'This page aims to introduce the most important elements of MoinMoin\'s synta...tted" (see HelpOnParsers).\n\nIts visibility gets toggled the same way.\n}}}\n' == ' '
5477 E        +  where u'This page aims to introduce the most important elements of MoinMoin\'s synta...tted" (see HelpOnParsers).\n\nIts visibility gets toggled the same way.\n}}}\n' = <MoinMoin.converter2._tests.test_moinwiki_out.TestConverter object at 0x4cb9390>.handle_output(u'This page aims to introduce the most important elements of MoinMoin\'s synta...tted" (see HelpOnParsers).\n\nIts visibility gets toggled the same way.\n}}}\n')
5478 
5479 MoinMoin/converter2/_tests/test_moinwiki_out.py:36: AssertionError
5480 ________________________ TestCompositeDict.test_getitem ________________________
5481 
5482 self = <MoinMoin.datastruct.backends._tests.test_composite_dicts.TestCompositeDict object at 0x5ba9bd0>
5483 
5484     def test_getitem(self):
5485         expected_dicts = self.dicts
5486 >       dicts = self.request.dicts
5487 E       AttributeError: 'TestRequest' object has no attribute 'dicts'
5488 
5489 MoinMoin/datastruct/backends/_tests/__init__.py:152: AttributeError
5490 --------------------------------- Captured log ---------------------------------
5491 __init__.py                199 DEBUG    moin does not support any language client accepts
5492 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
5493 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
5494 session.py                 303 DEBUG    get_session for sid None
5495 session.py                 318 DEBUG    get_session returns session <MoinSession 00d0f1f83061315b7da7a58eb8dcd021786498ac {}>
5496 __init__.py                481 DEBUG    session started for user None
5497 __init__.py                466 DEBUG    setup_suid returns None, None
5498 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
5499 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x3e78680 name:'' valid:0>, setuid = None
5500 __init__.py                199 DEBUG    moin does not support any language client accepts
5501 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
5502 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
5503 session.py                 303 DEBUG    get_session for sid None
5504 session.py                 318 DEBUG    get_session returns session <MoinSession 520eed6f5e345fd0e5327517b05eb943232b296a {}>
5505 __init__.py                481 DEBUG    session started for user None
5506 __init__.py                466 DEBUG    setup_suid returns None, None
5507 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
5508 __init__.py                199 DEBUG    moin does not support any language client accepts
5509 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
5510 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
5511 session.py                 303 DEBUG    get_session for sid None
5512 session.py                 318 DEBUG    get_session returns session <MoinSession a48dc641d86379c1b5222c54edb4a21934fe189f {}>
5513 __init__.py                481 DEBUG    session started for user None
5514 __init__.py                466 DEBUG    setup_suid returns None, None
5515 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
5516 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x35681b8 name:'' valid:0>, setuid = None
5517 __init__.py                199 DEBUG    moin does not support any language client accepts
5518 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
5519 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
5520 session.py                 303 DEBUG    get_session for sid None
5521 session.py                 318 DEBUG    get_session returns session <MoinSession b369ba0f3e3a4987e4a5ceb3e2745a50ea45f87f {}>
5522 __init__.py                481 DEBUG    session started for user None
5523 __init__.py                466 DEBUG    setup_suid returns None, None
5524 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
5525 ------------------------------- Captured stderr --------------------------------
5526 2010-08-14 11:48:10,435 DEBUG MoinMoin:199 moin does not support any language client accepts
5527 2010-08-14 11:48:10,436 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
5528 2010-08-14 11:48:10,436 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
5529 2010-08-14 11:48:10,437 DEBUG MoinMoin.web.session:303 get_session for sid None
5530 2010-08-14 11:48:10,438 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 00d0f1f83061315b7da7a58eb8dcd021786498ac {}>
5531 2010-08-14 11:48:10,449 DEBUG MoinMoin.auth:481 session started for user None
5532 2010-08-14 11:48:10,449 DEBUG MoinMoin.auth:466 setup_suid returns None, None
5533 2010-08-14 11:48:10,450 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
5534 2010-08-14 11:48:10,462 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x3e78680 name:'' valid:0>, setuid = None
5535 2010-08-14 11:48:10,463 DEBUG MoinMoin:199 moin does not support any language client accepts
5536 2010-08-14 11:48:10,464 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
5537 2010-08-14 11:48:10,475 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
5538 2010-08-14 11:48:10,476 DEBUG MoinMoin.web.session:303 get_session for sid None
5539 2010-08-14 11:48:10,476 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 520eed6f5e345fd0e5327517b05eb943232b296a {}>
5540 2010-08-14 11:48:10,495 DEBUG MoinMoin.auth:481 session started for user None
5541 2010-08-14 11:48:10,496 DEBUG MoinMoin.auth:466 setup_suid returns None, None
5542 2010-08-14 11:48:10,497 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
5543 2010-08-14 11:48:10,549 DEBUG MoinMoin:199 moin does not support any language client accepts
5544 2010-08-14 11:48:10,549 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
5545 2010-08-14 11:48:10,550 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
5546 2010-08-14 11:48:10,550 DEBUG MoinMoin.web.session:303 get_session for sid None
5547 2010-08-14 11:48:10,551 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession a48dc641d86379c1b5222c54edb4a21934fe189f {}>
5548 2010-08-14 11:48:10,562 DEBUG MoinMoin.auth:481 session started for user None
5549 2010-08-14 11:48:10,563 DEBUG MoinMoin.auth:466 setup_suid returns None, None
5550 2010-08-14 11:48:10,563 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
5551 2010-08-14 11:48:10,605 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x35681b8 name:'' valid:0>, setuid = None
5552 2010-08-14 11:48:10,606 DEBUG MoinMoin:199 moin does not support any language client accepts
5553 2010-08-14 11:48:10,607 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
5554 2010-08-14 11:48:10,608 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
5555 2010-08-14 11:48:10,608 DEBUG MoinMoin.web.session:303 get_session for sid None
5556 2010-08-14 11:48:10,609 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession b369ba0f3e3a4987e4a5ceb3e2745a50ea45f87f {}>
5557 2010-08-14 11:48:10,649 DEBUG MoinMoin.auth:481 session started for user None
5558 2010-08-14 11:48:10,650 DEBUG MoinMoin.auth:466 setup_suid returns None, None
5559 2010-08-14 11:48:10,651 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
5560 _______________________ TestCompositeDict.test_contains ________________________
5561 
5562 self = <MoinMoin.datastruct.backends._tests.test_composite_dicts.TestCompositeDict object at 0x41edd10>
5563 
5564     def test_contains(self):
5565 >       dicts = self.request.dicts
5566 E       AttributeError: 'TestRequest' object has no attribute 'dicts'
5567 
5568 MoinMoin/datastruct/backends/_tests/__init__.py:161: AttributeError
5569 --------------------------------- Captured log ---------------------------------
5570 __init__.py                199 DEBUG    moin does not support any language client accepts
5571 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
5572 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
5573 session.py                 303 DEBUG    get_session for sid None
5574 session.py                 318 DEBUG    get_session returns session <MoinSession e3c723f999dfed896a9b634e95ce5e3fbc798010 {}>
5575 __init__.py                481 DEBUG    session started for user None
5576 __init__.py                466 DEBUG    setup_suid returns None, None
5577 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
5578 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x48bbc68 name:'' valid:0>, setuid = None
5579 __init__.py                199 DEBUG    moin does not support any language client accepts
5580 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
5581 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
5582 session.py                 303 DEBUG    get_session for sid None
5583 session.py                 318 DEBUG    get_session returns session <MoinSession 987e74e2449ec4e890cc766665f73d3791290fa9 {}>
5584 __init__.py                481 DEBUG    session started for user None
5585 __init__.py                466 DEBUG    setup_suid returns None, None
5586 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
5587 ------------------------------- Captured stderr --------------------------------
5588 2010-08-14 11:48:10,707 DEBUG MoinMoin:199 moin does not support any language client accepts
5589 2010-08-14 11:48:10,708 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
5590 2010-08-14 11:48:10,708 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
5591 2010-08-14 11:48:10,709 DEBUG MoinMoin.web.session:303 get_session for sid None
5592 2010-08-14 11:48:10,710 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession e3c723f999dfed896a9b634e95ce5e3fbc798010 {}>
5593 2010-08-14 11:48:10,722 DEBUG MoinMoin.auth:481 session started for user None
5594 2010-08-14 11:48:10,723 DEBUG MoinMoin.auth:466 setup_suid returns None, None
5595 2010-08-14 11:48:10,724 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
5596 2010-08-14 11:48:10,741 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x48bbc68 name:'' valid:0>, setuid = None
5597 2010-08-14 11:48:10,742 DEBUG MoinMoin:199 moin does not support any language client accepts
5598 2010-08-14 11:48:10,743 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
5599 2010-08-14 11:48:10,743 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
5600 2010-08-14 11:48:10,744 DEBUG MoinMoin.web.session:303 get_session for sid None
5601 2010-08-14 11:48:10,744 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 987e74e2449ec4e890cc766665f73d3791290fa9 {}>
5602 2010-08-14 11:48:10,755 DEBUG MoinMoin.auth:481 session started for user None
5603 2010-08-14 11:48:10,756 DEBUG MoinMoin.auth:466 setup_suid returns None, None
5604 2010-08-14 11:48:10,756 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
5605 ________________________ TestCompositeDict.test_update _________________________
5606 
5607 self = <MoinMoin.datastruct.backends._tests.test_composite_dicts.TestCompositeDict object at 0x41ed9d0>
5608 
5609     def test_update(self):
5610 >       dicts = self.request.dicts
5611 E       AttributeError: 'TestRequest' object has no attribute 'dicts'
5612 
5613 MoinMoin/datastruct/backends/_tests/__init__.py:169: AttributeError
5614 --------------------------------- Captured log ---------------------------------
5615 __init__.py                199 DEBUG    moin does not support any language client accepts
5616 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
5617 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
5618 session.py                 303 DEBUG    get_session for sid None
5619 session.py                 318 DEBUG    get_session returns session <MoinSession 6428f8d5ba5a061e618685edc5fd6822a024b644 {}>
5620 __init__.py                481 DEBUG    session started for user None
5621 __init__.py                466 DEBUG    setup_suid returns None, None
5622 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
5623 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x46347e8 name:'' valid:0>, setuid = None
5624 __init__.py                199 DEBUG    moin does not support any language client accepts
5625 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
5626 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
5627 session.py                 303 DEBUG    get_session for sid None
5628 session.py                 318 DEBUG    get_session returns session <MoinSession 430d9e0248f287aa2593fb836fb6c46f11f11fed {}>
5629 __init__.py                481 DEBUG    session started for user None
5630 __init__.py                466 DEBUG    setup_suid returns None, None
5631 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
5632 ------------------------------- Captured stderr --------------------------------
5633 2010-08-14 11:48:10,811 DEBUG MoinMoin:199 moin does not support any language client accepts
5634 2010-08-14 11:48:10,812 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
5635 2010-08-14 11:48:10,812 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
5636 2010-08-14 11:48:10,813 DEBUG MoinMoin.web.session:303 get_session for sid None
5637 2010-08-14 11:48:10,813 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 6428f8d5ba5a061e618685edc5fd6822a024b644 {}>
5638 2010-08-14 11:48:10,824 DEBUG MoinMoin.auth:481 session started for user None
5639 2010-08-14 11:48:10,855 DEBUG MoinMoin.auth:466 setup_suid returns None, None
5640 2010-08-14 11:48:10,856 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
5641 2010-08-14 11:48:10,867 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x46347e8 name:'' valid:0>, setuid = None
5642 2010-08-14 11:48:10,869 DEBUG MoinMoin:199 moin does not support any language client accepts
5643 2010-08-14 11:48:10,869 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
5644 2010-08-14 11:48:10,870 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
5645 2010-08-14 11:48:10,870 DEBUG MoinMoin.web.session:303 get_session for sid None
5646 2010-08-14 11:48:10,871 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 430d9e0248f287aa2593fb836fb6c46f11f11fed {}>
5647 2010-08-14 11:48:10,881 DEBUG MoinMoin.auth:481 session started for user None
5648 2010-08-14 11:48:10,882 DEBUG MoinMoin.auth:466 setup_suid returns None, None
5649 2010-08-14 11:48:10,883 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
5650 __________________________ TestCompositeDict.test_get __________________________
5651 
5652 self = <MoinMoin.datastruct.backends._tests.test_composite_dicts.TestCompositeDict object at 0x57c0910>
5653 
5654     def test_get(self):
5655 >       dicts = self.request.dicts
5656 E       AttributeError: 'TestRequest' object has no attribute 'dicts'
5657 
5658 MoinMoin/datastruct/backends/_tests/__init__.py:177: AttributeError
5659 --------------------------------- Captured log ---------------------------------
5660 __init__.py                199 DEBUG    moin does not support any language client accepts
5661 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
5662 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
5663 session.py                 303 DEBUG    get_session for sid None
5664 session.py                 318 DEBUG    get_session returns session <MoinSession fdce4fec83967761df3be7f14ab5a3f0b1495e85 {}>
5665 __init__.py                481 DEBUG    session started for user None
5666 __init__.py                466 DEBUG    setup_suid returns None, None
5667 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
5668 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x50dc8c0 name:'' valid:0>, setuid = None
5669 __init__.py                199 DEBUG    moin does not support any language client accepts
5670 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
5671 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
5672 session.py                 303 DEBUG    get_session for sid None
5673 session.py                 318 DEBUG    get_session returns session <MoinSession 24f897b527386a029cf82b5cd412962e8862b22a {}>
5674 __init__.py                481 DEBUG    session started for user None
5675 __init__.py                466 DEBUG    setup_suid returns None, None
5676 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
5677 ------------------------------- Captured stderr --------------------------------
5678 2010-08-14 11:48:10,902 DEBUG MoinMoin:199 moin does not support any language client accepts
5679 2010-08-14 11:48:10,903 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
5680 2010-08-14 11:48:10,903 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
5681 2010-08-14 11:48:10,904 DEBUG MoinMoin.web.session:303 get_session for sid None
5682 2010-08-14 11:48:10,905 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession fdce4fec83967761df3be7f14ab5a3f0b1495e85 {}>
5683 2010-08-14 11:48:10,916 DEBUG MoinMoin.auth:481 session started for user None
5684 2010-08-14 11:48:10,917 DEBUG MoinMoin.auth:466 setup_suid returns None, None
5685 2010-08-14 11:48:10,918 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
5686 2010-08-14 11:48:10,936 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x50dc8c0 name:'' valid:0>, setuid = None
5687 2010-08-14 11:48:10,937 DEBUG MoinMoin:199 moin does not support any language client accepts
5688 2010-08-14 11:48:10,938 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
5689 2010-08-14 11:48:10,938 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
5690 2010-08-14 11:48:10,939 DEBUG MoinMoin.web.session:303 get_session for sid None
5691 2010-08-14 11:48:10,940 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 24f897b527386a029cf82b5cd412962e8862b22a {}>
5692 2010-08-14 11:48:10,951 DEBUG MoinMoin.auth:481 session started for user None
5693 2010-08-14 11:48:10,952 DEBUG MoinMoin.auth:466 setup_suid returns None, None
5694 2010-08-14 11:48:10,953 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
5695 ___________________ TestCompositeGroupsBackend.test_contains ___________________
5696 
5697 self = <MoinMoin.datastruct.backends._tests.test_composite_groups.TestCompositeGroupsBackend object at 0x47542d0>
5698 
5699     def test_contains(self):
5700         """
5701             Test group_wiki Backend and Group containment methods.
5702             """
5703 >       groups = self.request.groups
5704 E       AttributeError: 'TestRequest' object has no attribute 'groups'
5705 
5706 MoinMoin/datastruct/backends/_tests/__init__.py:45: AttributeError
5707 --------------------------------- Captured log ---------------------------------
5708 __init__.py                199 DEBUG    moin does not support any language client accepts
5709 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
5710 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
5711 session.py                 303 DEBUG    get_session for sid None
5712 session.py                 318 DEBUG    get_session returns session <MoinSession 61158540c0d6032f8d32cd711af39fcf75400725 {}>
5713 __init__.py                481 DEBUG    session started for user None
5714 __init__.py                466 DEBUG    setup_suid returns None, None
5715 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
5716 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x4208b90 name:'' valid:0>, setuid = None
5717 __init__.py                199 DEBUG    moin does not support any language client accepts
5718 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
5719 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
5720 session.py                 303 DEBUG    get_session for sid None
5721 session.py                 318 DEBUG    get_session returns session <MoinSession afdb10ca7efac911334a9166d2feabbe865a81b7 {}>
5722 __init__.py                481 DEBUG    session started for user None
5723 __init__.py                466 DEBUG    setup_suid returns None, None
5724 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
5725 __init__.py                199 DEBUG    moin does not support any language client accepts
5726 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
5727 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
5728 session.py                 303 DEBUG    get_session for sid None
5729 session.py                 318 DEBUG    get_session returns session <MoinSession 4b0252950456df14e972fcd384603511a7a98e20 {}>
5730 __init__.py                481 DEBUG    session started for user None
5731 __init__.py                466 DEBUG    setup_suid returns None, None
5732 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
5733 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x4ca35a8 name:'' valid:0>, setuid = None
5734 __init__.py                199 DEBUG    moin does not support any language client accepts
5735 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
5736 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
5737 session.py                 303 DEBUG    get_session for sid None
5738 session.py                 318 DEBUG    get_session returns session <MoinSession 6bce59d041e3cab523268f8ecc69583a50000d4a {}>
5739 __init__.py                481 DEBUG    session started for user None
5740 __init__.py                466 DEBUG    setup_suid returns None, None
5741 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
5742 ------------------------------- Captured stderr --------------------------------
5743 2010-08-14 11:48:10,986 DEBUG MoinMoin:199 moin does not support any language client accepts
5744 2010-08-14 11:48:10,987 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
5745 2010-08-14 11:48:10,987 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
5746 2010-08-14 11:48:10,988 DEBUG MoinMoin.web.session:303 get_session for sid None
5747 2010-08-14 11:48:10,988 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 61158540c0d6032f8d32cd711af39fcf75400725 {}>
5748 2010-08-14 11:48:11,001 DEBUG MoinMoin.auth:481 session started for user None
5749 2010-08-14 11:48:11,001 DEBUG MoinMoin.auth:466 setup_suid returns None, None
5750 2010-08-14 11:48:11,003 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
5751 2010-08-14 11:48:11,014 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x4208b90 name:'' valid:0>, setuid = None
5752 2010-08-14 11:48:11,016 DEBUG MoinMoin:199 moin does not support any language client accepts
5753 2010-08-14 11:48:11,016 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
5754 2010-08-14 11:48:11,017 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
5755 2010-08-14 11:48:11,017 DEBUG MoinMoin.web.session:303 get_session for sid None
5756 2010-08-14 11:48:11,018 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession afdb10ca7efac911334a9166d2feabbe865a81b7 {}>
5757 2010-08-14 11:48:11,029 DEBUG MoinMoin.auth:481 session started for user None
5758 2010-08-14 11:48:11,029 DEBUG MoinMoin.auth:466 setup_suid returns None, None
5759 2010-08-14 11:48:11,030 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
5760 2010-08-14 11:48:11,042 DEBUG MoinMoin:199 moin does not support any language client accepts
5761 2010-08-14 11:48:11,043 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
5762 2010-08-14 11:48:11,043 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
5763 2010-08-14 11:48:11,044 DEBUG MoinMoin.web.session:303 get_session for sid None
5764 2010-08-14 11:48:11,044 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 4b0252950456df14e972fcd384603511a7a98e20 {}>
5765 2010-08-14 11:48:11,055 DEBUG MoinMoin.auth:481 session started for user None
5766 2010-08-14 11:48:11,055 DEBUG MoinMoin.auth:466 setup_suid returns None, None
5767 2010-08-14 11:48:11,056 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
5768 2010-08-14 11:48:11,074 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x4ca35a8 name:'' valid:0>, setuid = None
5769 2010-08-14 11:48:11,076 DEBUG MoinMoin:199 moin does not support any language client accepts
5770 2010-08-14 11:48:11,077 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
5771 2010-08-14 11:48:11,077 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
5772 2010-08-14 11:48:11,078 DEBUG MoinMoin.web.session:303 get_session for sid None
5773 2010-08-14 11:48:11,078 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 6bce59d041e3cab523268f8ecc69583a50000d4a {}>
5774 2010-08-14 11:48:11,089 DEBUG MoinMoin.auth:481 session started for user None
5775 2010-08-14 11:48:11,089 DEBUG MoinMoin.auth:466 setup_suid returns None, None
5776 2010-08-14 11:48:11,090 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
5777 ________________ TestCompositeGroupsBackend.test_contains_group ________________
5778 
5779 self = <MoinMoin.datastruct.backends._tests.test_composite_groups.TestCompositeGroupsBackend object at 0x37ef5d0>
5780 
5781     def test_contains_group(self):
5782 >       groups = self.request.groups
5783 E       AttributeError: 'TestRequest' object has no attribute 'groups'
5784 
5785 MoinMoin/datastruct/backends/_tests/__init__.py:55: AttributeError
5786 --------------------------------- Captured log ---------------------------------
5787 __init__.py                199 DEBUG    moin does not support any language client accepts
5788 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
5789 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
5790 session.py                 303 DEBUG    get_session for sid None
5791 session.py                 318 DEBUG    get_session returns session <MoinSession 6c4a8c49fb0b9c8ee3a69feca9925a1a520666c3 {}>
5792 __init__.py                481 DEBUG    session started for user None
5793 __init__.py                466 DEBUG    setup_suid returns None, None
5794 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
5795 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x31d4dd0 name:'' valid:0>, setuid = None
5796 __init__.py                199 DEBUG    moin does not support any language client accepts
5797 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
5798 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
5799 session.py                 303 DEBUG    get_session for sid None
5800 session.py                 318 DEBUG    get_session returns session <MoinSession 37c7e28076e9ef9161cb283f1832460428871b44 {}>
5801 __init__.py                481 DEBUG    session started for user None
5802 __init__.py                466 DEBUG    setup_suid returns None, None
5803 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
5804 ------------------------------- Captured stderr --------------------------------
5805 2010-08-14 11:48:11,111 DEBUG MoinMoin:199 moin does not support any language client accepts
5806 2010-08-14 11:48:11,111 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
5807 2010-08-14 11:48:11,112 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
5808 2010-08-14 11:48:11,112 DEBUG MoinMoin.web.session:303 get_session for sid None
5809 2010-08-14 11:48:11,113 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 6c4a8c49fb0b9c8ee3a69feca9925a1a520666c3 {}>
5810 2010-08-14 11:48:11,123 DEBUG MoinMoin.auth:481 session started for user None
5811 2010-08-14 11:48:11,124 DEBUG MoinMoin.auth:466 setup_suid returns None, None
5812 2010-08-14 11:48:11,125 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
5813 2010-08-14 11:48:11,137 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x31d4dd0 name:'' valid:0>, setuid = None
5814 2010-08-14 11:48:11,138 DEBUG MoinMoin:199 moin does not support any language client accepts
5815 2010-08-14 11:48:11,139 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
5816 2010-08-14 11:48:11,139 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
5817 2010-08-14 11:48:11,140 DEBUG MoinMoin.web.session:303 get_session for sid None
5818 2010-08-14 11:48:11,140 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 37c7e28076e9ef9161cb283f1832460428871b44 {}>
5819 2010-08-14 11:48:11,150 DEBUG MoinMoin.auth:481 session started for user None
5820 2010-08-14 11:48:11,151 DEBUG MoinMoin.auth:466 setup_suid returns None, None
5821 2010-08-14 11:48:11,152 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
5822 _____________________ TestCompositeGroupsBackend.test_iter _____________________
5823 
5824 self = <MoinMoin.datastruct.backends._tests.test_composite_groups.TestCompositeGroupsBackend object at 0x4774f10>
5825 
5826     def test_iter(self):
5827 >       groups = self.request.groups
5828 E       AttributeError: 'TestRequest' object has no attribute 'groups'
5829 
5830 MoinMoin/datastruct/backends/_tests/__init__.py:61: AttributeError
5831 --------------------------------- Captured log ---------------------------------
5832 __init__.py                199 DEBUG    moin does not support any language client accepts
5833 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
5834 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
5835 session.py                 303 DEBUG    get_session for sid None
5836 session.py                 318 DEBUG    get_session returns session <MoinSession de067e14bc641c8abc3b2782e0da10cb2e902058 {}>
5837 __init__.py                481 DEBUG    session started for user None
5838 __init__.py                466 DEBUG    setup_suid returns None, None
5839 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
5840 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x3bf7cf8 name:'' valid:0>, setuid = None
5841 __init__.py                199 DEBUG    moin does not support any language client accepts
5842 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
5843 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
5844 session.py                 303 DEBUG    get_session for sid None
5845 session.py                 318 DEBUG    get_session returns session <MoinSession e99e4fcb74c7225b97a4991fc3777963a12325e0 {}>
5846 __init__.py                481 DEBUG    session started for user None
5847 __init__.py                466 DEBUG    setup_suid returns None, None
5848 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
5849 ------------------------------- Captured stderr --------------------------------
5850 2010-08-14 11:48:11,172 DEBUG MoinMoin:199 moin does not support any language client accepts
5851 2010-08-14 11:48:11,173 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
5852 2010-08-14 11:48:11,173 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
5853 2010-08-14 11:48:11,174 DEBUG MoinMoin.web.session:303 get_session for sid None
5854 2010-08-14 11:48:11,174 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession de067e14bc641c8abc3b2782e0da10cb2e902058 {}>
5855 2010-08-14 11:48:11,185 DEBUG MoinMoin.auth:481 session started for user None
5856 2010-08-14 11:48:11,186 DEBUG MoinMoin.auth:466 setup_suid returns None, None
5857 2010-08-14 11:48:11,186 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
5858 2010-08-14 11:48:11,204 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x3bf7cf8 name:'' valid:0>, setuid = None
5859 2010-08-14 11:48:11,206 DEBUG MoinMoin:199 moin does not support any language client accepts
5860 2010-08-14 11:48:11,206 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
5861 2010-08-14 11:48:11,207 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
5862 2010-08-14 11:48:11,207 DEBUG MoinMoin.web.session:303 get_session for sid None
5863 2010-08-14 11:48:11,208 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession e99e4fcb74c7225b97a4991fc3777963a12325e0 {}>
5864 2010-08-14 11:48:11,218 DEBUG MoinMoin.auth:481 session started for user None
5865 2010-08-14 11:48:11,219 DEBUG MoinMoin.auth:466 setup_suid returns None, None
5866 2010-08-14 11:48:11,220 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
5867 _____________________ TestCompositeGroupsBackend.test_get ______________________
5868 
5869 self = <MoinMoin.datastruct.backends._tests.test_composite_groups.TestCompositeGroupsBackend object at 0x3c12a50>
5870 
5871     def test_get(self):
5872 >       groups = self.request.groups
5873 E       AttributeError: 'TestRequest' object has no attribute 'groups'
5874 
5875 MoinMoin/datastruct/backends/_tests/__init__.py:70: AttributeError
5876 --------------------------------- Captured log ---------------------------------
5877 __init__.py                199 DEBUG    moin does not support any language client accepts
5878 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
5879 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
5880 session.py                 303 DEBUG    get_session for sid None
5881 session.py                 318 DEBUG    get_session returns session <MoinSession a21debe191b48f603cdfbd1ce052c0a2cfd44316 {}>
5882 __init__.py                481 DEBUG    session started for user None
5883 __init__.py                466 DEBUG    setup_suid returns None, None
5884 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
5885 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x54692d8 name:'' valid:0>, setuid = None
5886 __init__.py                199 DEBUG    moin does not support any language client accepts
5887 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
5888 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
5889 session.py                 303 DEBUG    get_session for sid None
5890 session.py                 318 DEBUG    get_session returns session <MoinSession 53a12161ad1237668e7c339a9d00a55e1f10449d {}>
5891 __init__.py                481 DEBUG    session started for user None
5892 __init__.py                466 DEBUG    setup_suid returns None, None
5893 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
5894 ------------------------------- Captured stderr --------------------------------
5895 2010-08-14 11:48:11,244 DEBUG MoinMoin:199 moin does not support any language client accepts
5896 2010-08-14 11:48:11,245 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
5897 2010-08-14 11:48:11,245 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
5898 2010-08-14 11:48:11,246 DEBUG MoinMoin.web.session:303 get_session for sid None
5899 2010-08-14 11:48:11,246 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession a21debe191b48f603cdfbd1ce052c0a2cfd44316 {}>
5900 2010-08-14 11:48:11,256 DEBUG MoinMoin.auth:481 session started for user None
5901 2010-08-14 11:48:11,257 DEBUG MoinMoin.auth:466 setup_suid returns None, None
5902 2010-08-14 11:48:11,258 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
5903 2010-08-14 11:48:11,269 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x54692d8 name:'' valid:0>, setuid = None
5904 2010-08-14 11:48:11,271 DEBUG MoinMoin:199 moin does not support any language client accepts
5905 2010-08-14 11:48:11,271 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
5906 2010-08-14 11:48:11,272 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
5907 2010-08-14 11:48:11,272 DEBUG MoinMoin.web.session:303 get_session for sid None
5908 2010-08-14 11:48:11,273 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 53a12161ad1237668e7c339a9d00a55e1f10449d {}>
5909 2010-08-14 11:48:11,283 DEBUG MoinMoin.auth:481 session started for user None
5910 2010-08-14 11:48:11,284 DEBUG MoinMoin.auth:466 setup_suid returns None, None
5911 2010-08-14 11:48:11,285 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
5912 ______________ TestCompositeGroupsBackend.test_groups_with_member ______________
5913 
5914 self = <MoinMoin.datastruct.backends._tests.test_composite_groups.TestCompositeGroupsBackend object at 0x31ab3d0>
5915 
5916     def test_groups_with_member(self):
5917 >       groups = self.request.groups
5918 E       AttributeError: 'TestRequest' object has no attribute 'groups'
5919 
5920 MoinMoin/datastruct/backends/_tests/__init__.py:78: AttributeError
5921 --------------------------------- Captured log ---------------------------------
5922 __init__.py                199 DEBUG    moin does not support any language client accepts
5923 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
5924 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
5925 session.py                 303 DEBUG    get_session for sid None
5926 session.py                 318 DEBUG    get_session returns session <MoinSession 05db67567750c6f2252a97219637f86268ce48e4 {}>
5927 __init__.py                481 DEBUG    session started for user None
5928 __init__.py                466 DEBUG    setup_suid returns None, None
5929 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
5930 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x5bd2e60 name:'' valid:0>, setuid = None
5931 __init__.py                199 DEBUG    moin does not support any language client accepts
5932 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
5933 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
5934 session.py                 303 DEBUG    get_session for sid None
5935 session.py                 318 DEBUG    get_session returns session <MoinSession fbb1fff620c848af34e1c6640d54f8b6d9e0296b {}>
5936 __init__.py                481 DEBUG    session started for user None
5937 __init__.py                466 DEBUG    setup_suid returns None, None
5938 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
5939 ------------------------------- Captured stderr --------------------------------
5940 2010-08-14 11:48:11,304 DEBUG MoinMoin:199 moin does not support any language client accepts
5941 2010-08-14 11:48:11,305 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
5942 2010-08-14 11:48:11,306 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
5943 2010-08-14 11:48:11,306 DEBUG MoinMoin.web.session:303 get_session for sid None
5944 2010-08-14 11:48:11,307 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 05db67567750c6f2252a97219637f86268ce48e4 {}>
5945 2010-08-14 11:48:11,318 DEBUG MoinMoin.auth:481 session started for user None
5946 2010-08-14 11:48:11,318 DEBUG MoinMoin.auth:466 setup_suid returns None, None
5947 2010-08-14 11:48:11,319 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
5948 2010-08-14 11:48:11,330 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x5bd2e60 name:'' valid:0>, setuid = None
5949 2010-08-14 11:48:11,332 DEBUG MoinMoin:199 moin does not support any language client accepts
5950 2010-08-14 11:48:11,332 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
5951 2010-08-14 11:48:11,333 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
5952 2010-08-14 11:48:11,333 DEBUG MoinMoin.web.session:303 get_session for sid None
5953 2010-08-14 11:48:11,334 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession fbb1fff620c848af34e1c6640d54f8b6d9e0296b {}>
5954 2010-08-14 11:48:11,352 DEBUG MoinMoin.auth:481 session started for user None
5955 2010-08-14 11:48:11,353 DEBUG MoinMoin.auth:466 setup_suid returns None, None
5956 2010-08-14 11:48:11,353 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
5957 ______________ TestCompositeGroupsBackend.test_backend_acl_allow _______________
5958 
5959 self = <MoinMoin.datastruct.backends._tests.test_composite_groups.TestCompositeGroupsBackend object at 0x3452690>
5960 
5961     def test_backend_acl_allow(self):
5962         """
5963             Test if the wiki group backend works with acl code.
5964             Check user which has rights.
5965             """
5966         request = self.request
5967     
5968         acl_rights = ["AdminGroup:admin,read,write"]
5969         acl = security.AccessControlList(request.cfg, acl_rights)
5970     
5971         for user in self.expanded_groups['AdminGroup']:
5972             for permission in ["read", "write", "admin"]:
5973 >               assert acl.may(request, u"Admin1", permission), '%s must have %s permission because he is member of the AdminGroup' % (user, permission)
5974 
5975 MoinMoin/datastruct/backends/_tests/__init__.py:98: 
5976 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
5977 
5978 self = <MoinMoin.security.AccessControlList instance at 0x4e0e440>
5979 request = <TestRequest 0 bytes [200 OK]>, name = u'Admin1', dowhat = 'read'
5980 
5981     def may(self, request, name, dowhat):
5982         """ May <name> <dowhat>? Returns boolean answer.
5983     
5984                 Note: this just checks THIS ACL, the before/default/after ACL must
5985                       be handled elsewhere, if needed.
5986             """
5987 >       groups = request.groups
5988 E       AttributeError: 'TestRequest' object has no attribute 'groups'
5989 
5990 MoinMoin/security/__init__.py:234: AttributeError
5991 --------------------------------- Captured log ---------------------------------
5992 __init__.py                199 DEBUG    moin does not support any language client accepts
5993 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
5994 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
5995 session.py                 303 DEBUG    get_session for sid None
5996 session.py                 318 DEBUG    get_session returns session <MoinSession 6dd14a43c054c5acea3fab8376621c84353e8377 {}>
5997 __init__.py                481 DEBUG    session started for user None
5998 __init__.py                466 DEBUG    setup_suid returns None, None
5999 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
6000 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x5754f80 name:'' valid:0>, setuid = None
6001 __init__.py                199 DEBUG    moin does not support any language client accepts
6002 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
6003 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
6004 session.py                 303 DEBUG    get_session for sid None
6005 session.py                 318 DEBUG    get_session returns session <MoinSession eb7aaf908cd2f97d98095bc25ec90efd183a9a0a {}>
6006 __init__.py                481 DEBUG    session started for user None
6007 __init__.py                466 DEBUG    setup_suid returns None, None
6008 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
6009 ------------------------------- Captured stderr --------------------------------
6010 2010-08-14 11:48:11,373 DEBUG MoinMoin:199 moin does not support any language client accepts
6011 2010-08-14 11:48:11,374 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
6012 2010-08-14 11:48:11,374 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
6013 2010-08-14 11:48:11,375 DEBUG MoinMoin.web.session:303 get_session for sid None
6014 2010-08-14 11:48:11,376 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 6dd14a43c054c5acea3fab8376621c84353e8377 {}>
6015 2010-08-14 11:48:11,386 DEBUG MoinMoin.auth:481 session started for user None
6016 2010-08-14 11:48:11,387 DEBUG MoinMoin.auth:466 setup_suid returns None, None
6017 2010-08-14 11:48:11,387 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
6018 2010-08-14 11:48:11,399 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x5754f80 name:'' valid:0>, setuid = None
6019 2010-08-14 11:48:11,401 DEBUG MoinMoin:199 moin does not support any language client accepts
6020 2010-08-14 11:48:11,401 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
6021 2010-08-14 11:48:11,402 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
6022 2010-08-14 11:48:11,402 DEBUG MoinMoin.web.session:303 get_session for sid None
6023 2010-08-14 11:48:11,403 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession eb7aaf908cd2f97d98095bc25ec90efd183a9a0a {}>
6024 2010-08-14 11:48:11,413 DEBUG MoinMoin.auth:481 session started for user None
6025 2010-08-14 11:48:11,414 DEBUG MoinMoin.auth:466 setup_suid returns None, None
6026 2010-08-14 11:48:11,414 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
6027 _______________ TestCompositeGroupsBackend.test_backend_acl_deny _______________
6028 
6029 self = <MoinMoin.datastruct.backends._tests.test_composite_groups.TestCompositeGroupsBackend object at 0x3089610>
6030 
6031     def test_backend_acl_deny(self):
6032         """
6033             Test if the wiki group backend works with acl code.
6034             Check user which does not have rights.
6035             """
6036         request = self.request
6037     
6038         acl_rights = ["AdminGroup:read,write"]
6039         acl = security.AccessControlList(request.cfg, acl_rights)
6040     
6041 >       assert u"SomeUser" not in request.groups['AdminGroup']
6042 E       AttributeError: 'TestRequest' object has no attribute 'groups'
6043 
6044 MoinMoin/datastruct/backends/_tests/__init__.py:110: AttributeError
6045 --------------------------------- Captured log ---------------------------------
6046 __init__.py                199 DEBUG    moin does not support any language client accepts
6047 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
6048 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
6049 session.py                 303 DEBUG    get_session for sid None
6050 session.py                 318 DEBUG    get_session returns session <MoinSession e23065a89b3166f1e2e21989a5c6d7c85e6eefb3 {}>
6051 __init__.py                481 DEBUG    session started for user None
6052 __init__.py                466 DEBUG    setup_suid returns None, None
6053 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
6054 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x3c18518 name:'' valid:0>, setuid = None
6055 __init__.py                199 DEBUG    moin does not support any language client accepts
6056 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
6057 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
6058 session.py                 303 DEBUG    get_session for sid None
6059 session.py                 318 DEBUG    get_session returns session <MoinSession 2377eb7acb02544abdc5cba941ef846fb84a7700 {}>
6060 __init__.py                481 DEBUG    session started for user None
6061 __init__.py                466 DEBUG    setup_suid returns None, None
6062 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
6063 ------------------------------- Captured stderr --------------------------------
6064 2010-08-14 11:48:11,437 DEBUG MoinMoin:199 moin does not support any language client accepts
6065 2010-08-14 11:48:11,438 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
6066 2010-08-14 11:48:11,438 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
6067 2010-08-14 11:48:11,439 DEBUG MoinMoin.web.session:303 get_session for sid None
6068 2010-08-14 11:48:11,439 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession e23065a89b3166f1e2e21989a5c6d7c85e6eefb3 {}>
6069 2010-08-14 11:48:11,450 DEBUG MoinMoin.auth:481 session started for user None
6070 2010-08-14 11:48:11,451 DEBUG MoinMoin.auth:466 setup_suid returns None, None
6071 2010-08-14 11:48:11,452 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
6072 2010-08-14 11:48:11,463 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x3c18518 name:'' valid:0>, setuid = None
6073 2010-08-14 11:48:11,465 DEBUG MoinMoin:199 moin does not support any language client accepts
6074 2010-08-14 11:48:11,465 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
6075 2010-08-14 11:48:11,466 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
6076 2010-08-14 11:48:11,466 DEBUG MoinMoin.web.session:303 get_session for sid None
6077 2010-08-14 11:48:11,467 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 2377eb7acb02544abdc5cba941ef846fb84a7700 {}>
6078 2010-08-14 11:48:11,486 DEBUG MoinMoin.auth:481 session started for user None
6079 2010-08-14 11:48:11,486 DEBUG MoinMoin.auth:466 setup_suid returns None, None
6080 2010-08-14 11:48:11,487 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
6081 _____________ TestCompositeGroupsBackend.test_backend_acl_with_all _____________
6082 
6083 self = <MoinMoin.datastruct.backends._tests.test_composite_groups.TestCompositeGroupsBackend object at 0x4e39050>
6084 
6085     def test_backend_acl_with_all(self):
6086         request = self.request
6087     
6088         acl_rights = ["EditorGroup:read,write,admin All:read"]
6089         acl = security.AccessControlList(request.cfg, acl_rights)
6090     
6091         for member in self.expanded_groups[u'EditorGroup']:
6092             for permission in ["read", "write", "admin"]:
6093 >               assert acl.may(request, member, permission)
6094 
6095 MoinMoin/datastruct/backends/_tests/__init__.py:125: 
6096 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
6097 
6098 self = <MoinMoin.security.AccessControlList instance at 0x5bbae60>
6099 request = <TestRequest 0 bytes [200 OK]>, name = u'Admin1', dowhat = 'read'
6100 
6101     def may(self, request, name, dowhat):
6102         """ May <name> <dowhat>? Returns boolean answer.
6103     
6104                 Note: this just checks THIS ACL, the before/default/after ACL must
6105                       be handled elsewhere, if needed.
6106             """
6107 >       groups = request.groups
6108 E       AttributeError: 'TestRequest' object has no attribute 'groups'
6109 
6110 MoinMoin/security/__init__.py:234: AttributeError
6111 --------------------------------- Captured log ---------------------------------
6112 __init__.py                199 DEBUG    moin does not support any language client accepts
6113 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
6114 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
6115 session.py                 303 DEBUG    get_session for sid None
6116 session.py                 318 DEBUG    get_session returns session <MoinSession fcbdce292f05a00d5c21f70a6d121da79e3a1ab9 {}>
6117 __init__.py                481 DEBUG    session started for user None
6118 __init__.py                466 DEBUG    setup_suid returns None, None
6119 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
6120 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x41f90e0 name:'' valid:0>, setuid = None
6121 __init__.py                199 DEBUG    moin does not support any language client accepts
6122 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
6123 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
6124 session.py                 303 DEBUG    get_session for sid None
6125 session.py                 318 DEBUG    get_session returns session <MoinSession 2d52e1fb7f151cba4702f2580a22ee452c344174 {}>
6126 __init__.py                481 DEBUG    session started for user None
6127 __init__.py                466 DEBUG    setup_suid returns None, None
6128 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
6129 ------------------------------- Captured stderr --------------------------------
6130 2010-08-14 11:48:11,508 DEBUG MoinMoin:199 moin does not support any language client accepts
6131 2010-08-14 11:48:11,508 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
6132 2010-08-14 11:48:11,509 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
6133 2010-08-14 11:48:11,509 DEBUG MoinMoin.web.session:303 get_session for sid None
6134 2010-08-14 11:48:11,510 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession fcbdce292f05a00d5c21f70a6d121da79e3a1ab9 {}>
6135 2010-08-14 11:48:11,522 DEBUG MoinMoin.auth:481 session started for user None
6136 2010-08-14 11:48:11,522 DEBUG MoinMoin.auth:466 setup_suid returns None, None
6137 2010-08-14 11:48:11,523 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
6138 2010-08-14 11:48:11,534 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x41f90e0 name:'' valid:0>, setuid = None
6139 2010-08-14 11:48:11,536 DEBUG MoinMoin:199 moin does not support any language client accepts
6140 2010-08-14 11:48:11,537 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
6141 2010-08-14 11:48:11,537 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
6142 2010-08-14 11:48:11,538 DEBUG MoinMoin.web.session:303 get_session for sid None
6143 2010-08-14 11:48:11,538 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 2d52e1fb7f151cba4702f2580a22ee452c344174 {}>
6144 2010-08-14 11:48:11,550 DEBUG MoinMoin.auth:481 session started for user None
6145 2010-08-14 11:48:11,551 DEBUG MoinMoin.auth:466 setup_suid returns None, None
6146 2010-08-14 11:48:11,551 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
6147 ________ TestCompositeGroupsBackend.test_backend_acl_not_existing_group ________
6148 
6149 self = <MoinMoin.datastruct.backends._tests.test_composite_groups.TestCompositeGroupsBackend object at 0x5bbec50>
6150 
6151     def test_backend_acl_not_existing_group(self):
6152         request = self.request
6153 >       assert u'NotExistingGroup' not in request.groups
6154 E       AttributeError: 'TestRequest' object has no attribute 'groups'
6155 
6156 MoinMoin/datastruct/backends/_tests/__init__.py:133: AttributeError
6157 --------------------------------- Captured log ---------------------------------
6158 __init__.py                199 DEBUG    moin does not support any language client accepts
6159 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
6160 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
6161 session.py                 303 DEBUG    get_session for sid None
6162 session.py                 318 DEBUG    get_session returns session <MoinSession 96a3c72d9e21824b4a32da1caccaff4271df2c36 {}>
6163 __init__.py                481 DEBUG    session started for user None
6164 __init__.py                466 DEBUG    setup_suid returns None, None
6165 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
6166 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x3d3a0e0 name:'' valid:0>, setuid = None
6167 __init__.py                199 DEBUG    moin does not support any language client accepts
6168 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
6169 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
6170 session.py                 303 DEBUG    get_session for sid None
6171 session.py                 318 DEBUG    get_session returns session <MoinSession de46101d59476845df40e6d0be1100e1f0fb41da {}>
6172 __init__.py                481 DEBUG    session started for user None
6173 __init__.py                466 DEBUG    setup_suid returns None, None
6174 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
6175 ------------------------------- Captured stderr --------------------------------
6176 2010-08-14 11:48:11,575 DEBUG MoinMoin:199 moin does not support any language client accepts
6177 2010-08-14 11:48:11,575 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
6178 2010-08-14 11:48:11,576 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
6179 2010-08-14 11:48:11,576 DEBUG MoinMoin.web.session:303 get_session for sid None
6180 2010-08-14 11:48:11,577 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 96a3c72d9e21824b4a32da1caccaff4271df2c36 {}>
6181 2010-08-14 11:48:11,588 DEBUG MoinMoin.auth:481 session started for user None
6182 2010-08-14 11:48:11,589 DEBUG MoinMoin.auth:466 setup_suid returns None, None
6183 2010-08-14 11:48:11,589 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
6184 2010-08-14 11:48:11,600 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x3d3a0e0 name:'' valid:0>, setuid = None
6185 2010-08-14 11:48:11,602 DEBUG MoinMoin:199 moin does not support any language client accepts
6186 2010-08-14 11:48:11,602 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
6187 2010-08-14 11:48:11,603 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
6188 2010-08-14 11:48:11,603 DEBUG MoinMoin.web.session:303 get_session for sid None
6189 2010-08-14 11:48:11,604 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession de46101d59476845df40e6d0be1100e1f0fb41da {}>
6190 2010-08-14 11:48:11,623 DEBUG MoinMoin.auth:481 session started for user None
6191 2010-08-14 11:48:11,623 DEBUG MoinMoin.auth:466 setup_suid returns None, None
6192 2010-08-14 11:48:11,624 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
6193 _____________________ TestConfigDictsBackend.test_getitem ______________________
6194 
6195 self = <MoinMoin.datastruct.backends._tests.test_config_dicts.TestConfigDictsBackend object at 0x5838110>
6196 
6197     def test_getitem(self):
6198         expected_dicts = self.dicts
6199 >       dicts = self.request.dicts
6200 E       AttributeError: 'TestRequest' object has no attribute 'dicts'
6201 
6202 MoinMoin/datastruct/backends/_tests/__init__.py:152: AttributeError
6203 --------------------------------- Captured log ---------------------------------
6204 __init__.py                199 DEBUG    moin does not support any language client accepts
6205 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
6206 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
6207 session.py                 303 DEBUG    get_session for sid None
6208 session.py                 318 DEBUG    get_session returns session <MoinSession 986c44bd649cde59b332750bab8ef67931ea9387 {}>
6209 __init__.py                481 DEBUG    session started for user None
6210 __init__.py                466 DEBUG    setup_suid returns None, None
6211 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
6212 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x31ae9e0 name:'' valid:0>, setuid = None
6213 __init__.py                199 DEBUG    moin does not support any language client accepts
6214 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
6215 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
6216 session.py                 303 DEBUG    get_session for sid None
6217 session.py                 318 DEBUG    get_session returns session <MoinSession be7a4eb49cdf7de21383cc30c1609438350af3b4 {}>
6218 __init__.py                481 DEBUG    session started for user None
6219 __init__.py                466 DEBUG    setup_suid returns None, None
6220 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
6221 __init__.py                199 DEBUG    moin does not support any language client accepts
6222 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
6223 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
6224 session.py                 303 DEBUG    get_session for sid None
6225 session.py                 318 DEBUG    get_session returns session <MoinSession 508b18cef6e46f887552bad4f1d3a06bb408fc23 {}>
6226 __init__.py                481 DEBUG    session started for user None
6227 __init__.py                466 DEBUG    setup_suid returns None, None
6228 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
6229 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x31ae128 name:'' valid:0>, setuid = None
6230 __init__.py                199 DEBUG    moin does not support any language client accepts
6231 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
6232 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
6233 session.py                 303 DEBUG    get_session for sid None
6234 session.py                 318 DEBUG    get_session returns session <MoinSession da77f1f30408161de59aaecc78de3f711ba8fe1b {}>
6235 __init__.py                481 DEBUG    session started for user None
6236 __init__.py                466 DEBUG    setup_suid returns None, None
6237 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
6238 ------------------------------- Captured stderr --------------------------------
6239 2010-08-14 11:48:11,980 DEBUG MoinMoin:199 moin does not support any language client accepts
6240 2010-08-14 11:48:11,981 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
6241 2010-08-14 11:48:11,981 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
6242 2010-08-14 11:48:11,982 DEBUG MoinMoin.web.session:303 get_session for sid None
6243 2010-08-14 11:48:11,983 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 986c44bd649cde59b332750bab8ef67931ea9387 {}>
6244 2010-08-14 11:48:11,993 DEBUG MoinMoin.auth:481 session started for user None
6245 2010-08-14 11:48:11,994 DEBUG MoinMoin.auth:466 setup_suid returns None, None
6246 2010-08-14 11:48:11,995 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
6247 2010-08-14 11:48:12,006 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x31ae9e0 name:'' valid:0>, setuid = None
6248 2010-08-14 11:48:12,008 DEBUG MoinMoin:199 moin does not support any language client accepts
6249 2010-08-14 11:48:12,009 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
6250 2010-08-14 11:48:12,010 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
6251 2010-08-14 11:48:12,010 DEBUG MoinMoin.web.session:303 get_session for sid None
6252 2010-08-14 11:48:12,011 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession be7a4eb49cdf7de21383cc30c1609438350af3b4 {}>
6253 2010-08-14 11:48:12,022 DEBUG MoinMoin.auth:481 session started for user None
6254 2010-08-14 11:48:12,023 DEBUG MoinMoin.auth:466 setup_suid returns None, None
6255 2010-08-14 11:48:12,023 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
6256 2010-08-14 11:48:12,043 DEBUG MoinMoin:199 moin does not support any language client accepts
6257 2010-08-14 11:48:12,044 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
6258 2010-08-14 11:48:12,044 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
6259 2010-08-14 11:48:12,045 DEBUG MoinMoin.web.session:303 get_session for sid None
6260 2010-08-14 11:48:12,046 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 508b18cef6e46f887552bad4f1d3a06bb408fc23 {}>
6261 2010-08-14 11:48:12,227 DEBUG MoinMoin.auth:481 session started for user None
6262 2010-08-14 11:48:12,228 DEBUG MoinMoin.auth:466 setup_suid returns None, None
6263 2010-08-14 11:48:12,229 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
6264 2010-08-14 11:48:12,240 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x31ae128 name:'' valid:0>, setuid = None
6265 2010-08-14 11:48:12,242 DEBUG MoinMoin:199 moin does not support any language client accepts
6266 2010-08-14 11:48:12,242 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
6267 2010-08-14 11:48:12,243 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
6268 2010-08-14 11:48:12,244 DEBUG MoinMoin.web.session:303 get_session for sid None
6269 2010-08-14 11:48:12,244 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession da77f1f30408161de59aaecc78de3f711ba8fe1b {}>
6270 2010-08-14 11:48:12,256 DEBUG MoinMoin.auth:481 session started for user None
6271 2010-08-14 11:48:12,257 DEBUG MoinMoin.auth:466 setup_suid returns None, None
6272 2010-08-14 11:48:12,258 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
6273 _____________________ TestConfigDictsBackend.test_contains _____________________
6274 
6275 self = <MoinMoin.datastruct.backends._tests.test_config_dicts.TestConfigDictsBackend object at 0x4b52850>
6276 
6277     def test_contains(self):
6278 >       dicts = self.request.dicts
6279 E       AttributeError: 'TestRequest' object has no attribute 'dicts'
6280 
6281 MoinMoin/datastruct/backends/_tests/__init__.py:161: AttributeError
6282 --------------------------------- Captured log ---------------------------------
6283 __init__.py                199 DEBUG    moin does not support any language client accepts
6284 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
6285 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
6286 session.py                 303 DEBUG    get_session for sid None
6287 session.py                 318 DEBUG    get_session returns session <MoinSession 9caea2dcaa7fb2cf1bf521d569976b9fee5eae7d {}>
6288 __init__.py                481 DEBUG    session started for user None
6289 __init__.py                466 DEBUG    setup_suid returns None, None
6290 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
6291 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x466b680 name:'' valid:0>, setuid = None
6292 __init__.py                199 DEBUG    moin does not support any language client accepts
6293 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
6294 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
6295 session.py                 303 DEBUG    get_session for sid None
6296 session.py                 318 DEBUG    get_session returns session <MoinSession cacdf362d2efd72e87ab1b4cae3b497f9af3733c {}>
6297 __init__.py                481 DEBUG    session started for user None
6298 __init__.py                466 DEBUG    setup_suid returns None, None
6299 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
6300 ------------------------------- Captured stderr --------------------------------
6301 2010-08-14 11:48:12,278 DEBUG MoinMoin:199 moin does not support any language client accepts
6302 2010-08-14 11:48:12,279 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
6303 2010-08-14 11:48:12,280 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
6304 2010-08-14 11:48:12,281 DEBUG MoinMoin.web.session:303 get_session for sid None
6305 2010-08-14 11:48:12,282 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 9caea2dcaa7fb2cf1bf521d569976b9fee5eae7d {}>
6306 2010-08-14 11:48:12,293 DEBUG MoinMoin.auth:481 session started for user None
6307 2010-08-14 11:48:12,294 DEBUG MoinMoin.auth:466 setup_suid returns None, None
6308 2010-08-14 11:48:12,296 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
6309 2010-08-14 11:48:12,307 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x466b680 name:'' valid:0>, setuid = None
6310 2010-08-14 11:48:12,309 DEBUG MoinMoin:199 moin does not support any language client accepts
6311 2010-08-14 11:48:12,310 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
6312 2010-08-14 11:48:12,310 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
6313 2010-08-14 11:48:12,311 DEBUG MoinMoin.web.session:303 get_session for sid None
6314 2010-08-14 11:48:12,312 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession cacdf362d2efd72e87ab1b4cae3b497f9af3733c {}>
6315 2010-08-14 11:48:12,323 DEBUG MoinMoin.auth:481 session started for user None
6316 2010-08-14 11:48:12,324 DEBUG MoinMoin.auth:466 setup_suid returns None, None
6317 2010-08-14 11:48:12,324 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
6318 ______________________ TestConfigDictsBackend.test_update ______________________
6319 
6320 self = <MoinMoin.datastruct.backends._tests.test_config_dicts.TestConfigDictsBackend object at 0x463e690>
6321 
6322     def test_update(self):
6323 >       dicts = self.request.dicts
6324 E       AttributeError: 'TestRequest' object has no attribute 'dicts'
6325 
6326 MoinMoin/datastruct/backends/_tests/__init__.py:169: AttributeError
6327 --------------------------------- Captured log ---------------------------------
6328 __init__.py                199 DEBUG    moin does not support any language client accepts
6329 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
6330 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
6331 session.py                 303 DEBUG    get_session for sid None
6332 session.py                 318 DEBUG    get_session returns session <MoinSession fcd1eed004b799b792e745f8931b0c4ee00e5c3b {}>
6333 __init__.py                481 DEBUG    session started for user None
6334 __init__.py                466 DEBUG    setup_suid returns None, None
6335 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
6336 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x5bccea8 name:'' valid:0>, setuid = None
6337 __init__.py                199 DEBUG    moin does not support any language client accepts
6338 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
6339 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
6340 session.py                 303 DEBUG    get_session for sid None
6341 session.py                 318 DEBUG    get_session returns session <MoinSession 3282a008272f5081698022a5beadca20eaea2fad {}>
6342 __init__.py                481 DEBUG    session started for user None
6343 __init__.py                466 DEBUG    setup_suid returns None, None
6344 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
6345 ------------------------------- Captured stderr --------------------------------
6346 2010-08-14 11:48:12,344 DEBUG MoinMoin:199 moin does not support any language client accepts
6347 2010-08-14 11:48:12,345 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
6348 2010-08-14 11:48:12,346 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
6349 2010-08-14 11:48:12,347 DEBUG MoinMoin.web.session:303 get_session for sid None
6350 2010-08-14 11:48:12,347 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession fcd1eed004b799b792e745f8931b0c4ee00e5c3b {}>
6351 2010-08-14 11:48:12,366 DEBUG MoinMoin.auth:481 session started for user None
6352 2010-08-14 11:48:12,367 DEBUG MoinMoin.auth:466 setup_suid returns None, None
6353 2010-08-14 11:48:12,368 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
6354 2010-08-14 11:48:12,379 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x5bccea8 name:'' valid:0>, setuid = None
6355 2010-08-14 11:48:12,381 DEBUG MoinMoin:199 moin does not support any language client accepts
6356 2010-08-14 11:48:12,382 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
6357 2010-08-14 11:48:12,382 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
6358 2010-08-14 11:48:12,383 DEBUG MoinMoin.web.session:303 get_session for sid None
6359 2010-08-14 11:48:12,384 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 3282a008272f5081698022a5beadca20eaea2fad {}>
6360 2010-08-14 11:48:12,394 DEBUG MoinMoin.auth:481 session started for user None
6361 2010-08-14 11:48:12,395 DEBUG MoinMoin.auth:466 setup_suid returns None, None
6362 2010-08-14 11:48:12,396 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
6363 _______________________ TestConfigDictsBackend.test_get ________________________
6364 
6365 self = <MoinMoin.datastruct.backends._tests.test_config_dicts.TestConfigDictsBackend object at 0x463e910>
6366 
6367     def test_get(self):
6368 >       dicts = self.request.dicts
6369 E       AttributeError: 'TestRequest' object has no attribute 'dicts'
6370 
6371 MoinMoin/datastruct/backends/_tests/__init__.py:177: AttributeError
6372 --------------------------------- Captured log ---------------------------------
6373 __init__.py                199 DEBUG    moin does not support any language client accepts
6374 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
6375 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
6376 session.py                 303 DEBUG    get_session for sid None
6377 session.py                 318 DEBUG    get_session returns session <MoinSession 27de67ec2aa3cee733a6d126ae11a5a2f7687c74 {}>
6378 __init__.py                481 DEBUG    session started for user None
6379 __init__.py                466 DEBUG    setup_suid returns None, None
6380 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
6381 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x57a0998 name:'' valid:0>, setuid = None
6382 __init__.py                199 DEBUG    moin does not support any language client accepts
6383 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
6384 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
6385 session.py                 303 DEBUG    get_session for sid None
6386 session.py                 318 DEBUG    get_session returns session <MoinSession 087867ab644add430af32dbce716e416b43474dc {}>
6387 __init__.py                481 DEBUG    session started for user None
6388 __init__.py                466 DEBUG    setup_suid returns None, None
6389 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
6390 ------------------------------- Captured stderr --------------------------------
6391 2010-08-14 11:48:12,417 DEBUG MoinMoin:199 moin does not support any language client accepts
6392 2010-08-14 11:48:12,418 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
6393 2010-08-14 11:48:12,418 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
6394 2010-08-14 11:48:12,419 DEBUG MoinMoin.web.session:303 get_session for sid None
6395 2010-08-14 11:48:12,420 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 27de67ec2aa3cee733a6d126ae11a5a2f7687c74 {}>
6396 2010-08-14 11:48:12,430 DEBUG MoinMoin.auth:481 session started for user None
6397 2010-08-14 11:48:12,431 DEBUG MoinMoin.auth:466 setup_suid returns None, None
6398 2010-08-14 11:48:12,432 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
6399 2010-08-14 11:48:12,445 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x57a0998 name:'' valid:0>, setuid = None
6400 2010-08-14 11:48:12,446 DEBUG MoinMoin:199 moin does not support any language client accepts
6401 2010-08-14 11:48:12,447 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
6402 2010-08-14 11:48:12,448 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
6403 2010-08-14 11:48:12,448 DEBUG MoinMoin.web.session:303 get_session for sid None
6404 2010-08-14 11:48:12,449 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 087867ab644add430af32dbce716e416b43474dc {}>
6405 2010-08-14 11:48:12,460 DEBUG MoinMoin.auth:481 session started for user None
6406 2010-08-14 11:48:12,461 DEBUG MoinMoin.auth:466 setup_suid returns None, None
6407 2010-08-14 11:48:12,462 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
6408 ____________________ TestConfigGroupsBackend.test_contains _____________________
6409 
6410 self = <MoinMoin.datastruct.backends._tests.test_config_groups.TestConfigGroupsBackend object at 0x464ae90>
6411 
6412     def test_contains(self):
6413         """
6414             Test group_wiki Backend and Group containment methods.
6415             """
6416 >       groups = self.request.groups
6417 E       AttributeError: 'TestRequest' object has no attribute 'groups'
6418 
6419 MoinMoin/datastruct/backends/_tests/__init__.py:45: AttributeError
6420 --------------------------------- Captured log ---------------------------------
6421 __init__.py                199 DEBUG    moin does not support any language client accepts
6422 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
6423 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
6424 session.py                 303 DEBUG    get_session for sid None
6425 session.py                 318 DEBUG    get_session returns session <MoinSession 0b140c251ef485a808a2add55c7bdda736c9aa5d {}>
6426 __init__.py                481 DEBUG    session started for user None
6427 __init__.py                466 DEBUG    setup_suid returns None, None
6428 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
6429 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x3e8f638 name:'' valid:0>, setuid = None
6430 __init__.py                199 DEBUG    moin does not support any language client accepts
6431 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
6432 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
6433 session.py                 303 DEBUG    get_session for sid None
6434 session.py                 318 DEBUG    get_session returns session <MoinSession 0d7710753e150513aec0dcd043b4d4a739e3fbb0 {}>
6435 __init__.py                481 DEBUG    session started for user None
6436 __init__.py                466 DEBUG    setup_suid returns None, None
6437 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
6438 __init__.py                199 DEBUG    moin does not support any language client accepts
6439 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
6440 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
6441 session.py                 303 DEBUG    get_session for sid None
6442 session.py                 318 DEBUG    get_session returns session <MoinSession 74a3558f88678845e24008915e5c6f71d9d5f9a2 {}>
6443 __init__.py                481 DEBUG    session started for user None
6444 __init__.py                466 DEBUG    setup_suid returns None, None
6445 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
6446 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x36a5320 name:'' valid:0>, setuid = None
6447 __init__.py                199 DEBUG    moin does not support any language client accepts
6448 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
6449 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
6450 session.py                 303 DEBUG    get_session for sid None
6451 session.py                 318 DEBUG    get_session returns session <MoinSession 32426b30b5017a736934a17a347593773029e475 {}>
6452 __init__.py                481 DEBUG    session started for user None
6453 __init__.py                466 DEBUG    setup_suid returns None, None
6454 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
6455 ------------------------------- Captured stderr --------------------------------
6456 2010-08-14 11:48:12,493 DEBUG MoinMoin:199 moin does not support any language client accepts
6457 2010-08-14 11:48:12,493 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
6458 2010-08-14 11:48:12,494 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
6459 2010-08-14 11:48:12,495 DEBUG MoinMoin.web.session:303 get_session for sid None
6460 2010-08-14 11:48:12,496 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 0b140c251ef485a808a2add55c7bdda736c9aa5d {}>
6461 2010-08-14 11:48:12,513 DEBUG MoinMoin.auth:481 session started for user None
6462 2010-08-14 11:48:12,514 DEBUG MoinMoin.auth:466 setup_suid returns None, None
6463 2010-08-14 11:48:12,515 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
6464 2010-08-14 11:48:12,526 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x3e8f638 name:'' valid:0>, setuid = None
6465 2010-08-14 11:48:12,529 DEBUG MoinMoin:199 moin does not support any language client accepts
6466 2010-08-14 11:48:12,529 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
6467 2010-08-14 11:48:12,530 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
6468 2010-08-14 11:48:12,531 DEBUG MoinMoin.web.session:303 get_session for sid None
6469 2010-08-14 11:48:12,531 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 0d7710753e150513aec0dcd043b4d4a739e3fbb0 {}>
6470 2010-08-14 11:48:12,542 DEBUG MoinMoin.auth:481 session started for user None
6471 2010-08-14 11:48:12,543 DEBUG MoinMoin.auth:466 setup_suid returns None, None
6472 2010-08-14 11:48:12,544 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
6473 2010-08-14 11:48:12,556 DEBUG MoinMoin:199 moin does not support any language client accepts
6474 2010-08-14 11:48:12,557 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
6475 2010-08-14 11:48:12,557 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
6476 2010-08-14 11:48:12,558 DEBUG MoinMoin.web.session:303 get_session for sid None
6477 2010-08-14 11:48:12,559 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 74a3558f88678845e24008915e5c6f71d9d5f9a2 {}>
6478 2010-08-14 11:48:12,570 DEBUG MoinMoin.auth:481 session started for user None
6479 2010-08-14 11:48:12,571 DEBUG MoinMoin.auth:466 setup_suid returns None, None
6480 2010-08-14 11:48:12,572 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
6481 2010-08-14 11:48:12,583 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x36a5320 name:'' valid:0>, setuid = None
6482 2010-08-14 11:48:12,585 DEBUG MoinMoin:199 moin does not support any language client accepts
6483 2010-08-14 11:48:12,586 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
6484 2010-08-14 11:48:12,586 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
6485 2010-08-14 11:48:12,587 DEBUG MoinMoin.web.session:303 get_session for sid None
6486 2010-08-14 11:48:12,588 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 32426b30b5017a736934a17a347593773029e475 {}>
6487 2010-08-14 11:48:12,599 DEBUG MoinMoin.auth:481 session started for user None
6488 2010-08-14 11:48:12,599 DEBUG MoinMoin.auth:466 setup_suid returns None, None
6489 2010-08-14 11:48:12,600 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
6490 _________________ TestConfigGroupsBackend.test_contains_group __________________
6491 
6492 self = <MoinMoin.datastruct.backends._tests.test_config_groups.TestConfigGroupsBackend object at 0x2f21350>
6493 
6494     def test_contains_group(self):
6495 >       groups = self.request.groups
6496 E       AttributeError: 'TestRequest' object has no attribute 'groups'
6497 
6498 MoinMoin/datastruct/backends/_tests/__init__.py:55: AttributeError
6499 --------------------------------- Captured log ---------------------------------
6500 __init__.py                199 DEBUG    moin does not support any language client accepts
6501 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
6502 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
6503 session.py                 303 DEBUG    get_session for sid None
6504 session.py                 318 DEBUG    get_session returns session <MoinSession 33779f86d97349e2074a56027ecbd02eae2479c3 {}>
6505 __init__.py                481 DEBUG    session started for user None
6506 __init__.py                466 DEBUG    setup_suid returns None, None
6507 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
6508 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x44b2bd8 name:'' valid:0>, setuid = None
6509 __init__.py                199 DEBUG    moin does not support any language client accepts
6510 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
6511 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
6512 session.py                 303 DEBUG    get_session for sid None
6513 session.py                 318 DEBUG    get_session returns session <MoinSession 73f04fb3c08c9de5344227dbc84156889f9ef2da {}>
6514 __init__.py                481 DEBUG    session started for user None
6515 __init__.py                466 DEBUG    setup_suid returns None, None
6516 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
6517 ------------------------------- Captured stderr --------------------------------
6518 2010-08-14 11:48:12,620 DEBUG MoinMoin:199 moin does not support any language client accepts
6519 2010-08-14 11:48:12,621 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
6520 2010-08-14 11:48:12,621 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
6521 2010-08-14 11:48:12,622 DEBUG MoinMoin.web.session:303 get_session for sid None
6522 2010-08-14 11:48:12,623 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 33779f86d97349e2074a56027ecbd02eae2479c3 {}>
6523 2010-08-14 11:48:12,641 DEBUG MoinMoin.auth:481 session started for user None
6524 2010-08-14 11:48:12,642 DEBUG MoinMoin.auth:466 setup_suid returns None, None
6525 2010-08-14 11:48:12,642 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
6526 2010-08-14 11:48:12,654 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x44b2bd8 name:'' valid:0>, setuid = None
6527 2010-08-14 11:48:12,656 DEBUG MoinMoin:199 moin does not support any language client accepts
6528 2010-08-14 11:48:12,657 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
6529 2010-08-14 11:48:12,657 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
6530 2010-08-14 11:48:12,658 DEBUG MoinMoin.web.session:303 get_session for sid None
6531 2010-08-14 11:48:12,659 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 73f04fb3c08c9de5344227dbc84156889f9ef2da {}>
6532 2010-08-14 11:48:12,669 DEBUG MoinMoin.auth:481 session started for user None
6533 2010-08-14 11:48:12,670 DEBUG MoinMoin.auth:466 setup_suid returns None, None
6534 2010-08-14 11:48:12,671 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
6535 ______________________ TestConfigGroupsBackend.test_iter _______________________
6536 
6537 self = <MoinMoin.datastruct.backends._tests.test_config_groups.TestConfigGroupsBackend object at 0x2f21f50>
6538 
6539     def test_iter(self):
6540 >       groups = self.request.groups
6541 E       AttributeError: 'TestRequest' object has no attribute 'groups'
6542 
6543 MoinMoin/datastruct/backends/_tests/__init__.py:61: AttributeError
6544 --------------------------------- Captured log ---------------------------------
6545 __init__.py                199 DEBUG    moin does not support any language client accepts
6546 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
6547 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
6548 session.py                 303 DEBUG    get_session for sid None
6549 session.py                 318 DEBUG    get_session returns session <MoinSession e4499d4dca287f1126e3f25a7b20ad14c1f1ca58 {}>
6550 __init__.py                481 DEBUG    session started for user None
6551 __init__.py                466 DEBUG    setup_suid returns None, None
6552 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
6553 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x308bb48 name:'' valid:0>, setuid = None
6554 __init__.py                199 DEBUG    moin does not support any language client accepts
6555 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
6556 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
6557 session.py                 303 DEBUG    get_session for sid None
6558 session.py                 318 DEBUG    get_session returns session <MoinSession 46b2c7433419bcf8b533a9a367c05539c4e70076 {}>
6559 __init__.py                481 DEBUG    session started for user None
6560 __init__.py                466 DEBUG    setup_suid returns None, None
6561 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
6562 ------------------------------- Captured stderr --------------------------------
6563 2010-08-14 11:48:12,691 DEBUG MoinMoin:199 moin does not support any language client accepts
6564 2010-08-14 11:48:12,692 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
6565 2010-08-14 11:48:12,692 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
6566 2010-08-14 11:48:12,693 DEBUG MoinMoin.web.session:303 get_session for sid None
6567 2010-08-14 11:48:12,694 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession e4499d4dca287f1126e3f25a7b20ad14c1f1ca58 {}>
6568 2010-08-14 11:48:12,705 DEBUG MoinMoin.auth:481 session started for user None
6569 2010-08-14 11:48:12,706 DEBUG MoinMoin.auth:466 setup_suid returns None, None
6570 2010-08-14 11:48:12,707 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
6571 2010-08-14 11:48:12,718 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x308bb48 name:'' valid:0>, setuid = None
6572 2010-08-14 11:48:12,720 DEBUG MoinMoin:199 moin does not support any language client accepts
6573 2010-08-14 11:48:12,721 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
6574 2010-08-14 11:48:12,721 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
6575 2010-08-14 11:48:12,722 DEBUG MoinMoin.web.session:303 get_session for sid None
6576 2010-08-14 11:48:12,723 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 46b2c7433419bcf8b533a9a367c05539c4e70076 {}>
6577 2010-08-14 11:48:12,733 DEBUG MoinMoin.auth:481 session started for user None
6578 2010-08-14 11:48:12,734 DEBUG MoinMoin.auth:466 setup_suid returns None, None
6579 2010-08-14 11:48:12,735 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
6580 _______________________ TestConfigGroupsBackend.test_get _______________________
6581 
6582 self = <MoinMoin.datastruct.backends._tests.test_config_groups.TestConfigGroupsBackend object at 0x4cb91d0>
6583 
6584     def test_get(self):
6585 >       groups = self.request.groups
6586 E       AttributeError: 'TestRequest' object has no attribute 'groups'
6587 
6588 MoinMoin/datastruct/backends/_tests/__init__.py:70: AttributeError
6589 --------------------------------- Captured log ---------------------------------
6590 __init__.py                199 DEBUG    moin does not support any language client accepts
6591 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
6592 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
6593 session.py                 303 DEBUG    get_session for sid None
6594 session.py                 318 DEBUG    get_session returns session <MoinSession 281b33d548217376b2defd76ee8507272a998960 {}>
6595 __init__.py                481 DEBUG    session started for user None
6596 __init__.py                466 DEBUG    setup_suid returns None, None
6597 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
6598 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x4e36758 name:'' valid:0>, setuid = None
6599 __init__.py                199 DEBUG    moin does not support any language client accepts
6600 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
6601 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
6602 session.py                 303 DEBUG    get_session for sid None
6603 session.py                 318 DEBUG    get_session returns session <MoinSession e26a79860373f9dce80694e7f4e65a2637372d8c {}>
6604 __init__.py                481 DEBUG    session started for user None
6605 __init__.py                466 DEBUG    setup_suid returns None, None
6606 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
6607 ------------------------------- Captured stderr --------------------------------
6608 2010-08-14 11:48:12,754 DEBUG MoinMoin:199 moin does not support any language client accepts
6609 2010-08-14 11:48:12,755 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
6610 2010-08-14 11:48:12,756 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
6611 2010-08-14 11:48:12,757 DEBUG MoinMoin.web.session:303 get_session for sid None
6612 2010-08-14 11:48:12,757 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 281b33d548217376b2defd76ee8507272a998960 {}>
6613 2010-08-14 11:48:12,775 DEBUG MoinMoin.auth:481 session started for user None
6614 2010-08-14 11:48:12,776 DEBUG MoinMoin.auth:466 setup_suid returns None, None
6615 2010-08-14 11:48:12,777 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
6616 2010-08-14 11:48:12,788 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x4e36758 name:'' valid:0>, setuid = None
6617 2010-08-14 11:48:12,790 DEBUG MoinMoin:199 moin does not support any language client accepts
6618 2010-08-14 11:48:12,791 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
6619 2010-08-14 11:48:12,791 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
6620 2010-08-14 11:48:12,792 DEBUG MoinMoin.web.session:303 get_session for sid None
6621 2010-08-14 11:48:12,793 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession e26a79860373f9dce80694e7f4e65a2637372d8c {}>
6622 2010-08-14 11:48:12,805 DEBUG MoinMoin.auth:481 session started for user None
6623 2010-08-14 11:48:12,805 DEBUG MoinMoin.auth:466 setup_suid returns None, None
6624 2010-08-14 11:48:12,806 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
6625 _______________ TestConfigGroupsBackend.test_groups_with_member ________________
6626 
6627 self = <MoinMoin.datastruct.backends._tests.test_config_groups.TestConfigGroupsBackend object at 0x3313f90>
6628 
6629     def test_groups_with_member(self):
6630 >       groups = self.request.groups
6631 E       AttributeError: 'TestRequest' object has no attribute 'groups'
6632 
6633 MoinMoin/datastruct/backends/_tests/__init__.py:78: AttributeError
6634 --------------------------------- Captured log ---------------------------------
6635 __init__.py                199 DEBUG    moin does not support any language client accepts
6636 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
6637 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
6638 session.py                 303 DEBUG    get_session for sid None
6639 session.py                 318 DEBUG    get_session returns session <MoinSession 6e8340d69040a26e59a4a823c9bc97a1e41e30bf {}>
6640 __init__.py                481 DEBUG    session started for user None
6641 __init__.py                466 DEBUG    setup_suid returns None, None
6642 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
6643 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x49fa6c8 name:'' valid:0>, setuid = None
6644 __init__.py                199 DEBUG    moin does not support any language client accepts
6645 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
6646 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
6647 session.py                 303 DEBUG    get_session for sid None
6648 session.py                 318 DEBUG    get_session returns session <MoinSession 71b446513380234779f24179cce93bb4b635b016 {}>
6649 __init__.py                481 DEBUG    session started for user None
6650 __init__.py                466 DEBUG    setup_suid returns None, None
6651 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
6652 ------------------------------- Captured stderr --------------------------------
6653 2010-08-14 11:48:12,826 DEBUG MoinMoin:199 moin does not support any language client accepts
6654 2010-08-14 11:48:12,827 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
6655 2010-08-14 11:48:12,828 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
6656 2010-08-14 11:48:12,828 DEBUG MoinMoin.web.session:303 get_session for sid None
6657 2010-08-14 11:48:12,829 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 6e8340d69040a26e59a4a823c9bc97a1e41e30bf {}>
6658 2010-08-14 11:48:12,840 DEBUG MoinMoin.auth:481 session started for user None
6659 2010-08-14 11:48:12,841 DEBUG MoinMoin.auth:466 setup_suid returns None, None
6660 2010-08-14 11:48:12,842 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
6661 2010-08-14 11:48:12,853 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x49fa6c8 name:'' valid:0>, setuid = None
6662 2010-08-14 11:48:12,855 DEBUG MoinMoin:199 moin does not support any language client accepts
6663 2010-08-14 11:48:12,856 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
6664 2010-08-14 11:48:12,856 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
6665 2010-08-14 11:48:12,857 DEBUG MoinMoin.web.session:303 get_session for sid None
6666 2010-08-14 11:48:12,858 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 71b446513380234779f24179cce93bb4b635b016 {}>
6667 2010-08-14 11:48:12,869 DEBUG MoinMoin.auth:481 session started for user None
6668 2010-08-14 11:48:12,870 DEBUG MoinMoin.auth:466 setup_suid returns None, None
6669 2010-08-14 11:48:12,870 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
6670 ________________ TestConfigGroupsBackend.test_backend_acl_allow ________________
6671 
6672 self = <MoinMoin.datastruct.backends._tests.test_config_groups.TestConfigGroupsBackend object at 0x46218d0>
6673 
6674     def test_backend_acl_allow(self):
6675         """
6676             Test if the wiki group backend works with acl code.
6677             Check user which has rights.
6678             """
6679         request = self.request
6680     
6681         acl_rights = ["AdminGroup:admin,read,write"]
6682         acl = security.AccessControlList(request.cfg, acl_rights)
6683     
6684         for user in self.expanded_groups['AdminGroup']:
6685             for permission in ["read", "write", "admin"]:
6686 >               assert acl.may(request, u"Admin1", permission), '%s must have %s permission because he is member of the AdminGroup' % (user, permission)
6687 
6688 MoinMoin/datastruct/backends/_tests/__init__.py:98: 
6689 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
6690 
6691 self = <MoinMoin.security.AccessControlList instance at 0x462ec20>
6692 request = <TestRequest 0 bytes [200 OK]>, name = u'Admin1', dowhat = 'read'
6693 
6694     def may(self, request, name, dowhat):
6695         """ May <name> <dowhat>? Returns boolean answer.
6696     
6697                 Note: this just checks THIS ACL, the before/default/after ACL must
6698                       be handled elsewhere, if needed.
6699             """
6700 >       groups = request.groups
6701 E       AttributeError: 'TestRequest' object has no attribute 'groups'
6702 
6703 MoinMoin/security/__init__.py:234: AttributeError
6704 --------------------------------- Captured log ---------------------------------
6705 __init__.py                199 DEBUG    moin does not support any language client accepts
6706 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
6707 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
6708 session.py                 303 DEBUG    get_session for sid None
6709 session.py                 318 DEBUG    get_session returns session <MoinSession cca643e7c30087ba1ab2d3b89e6e2b9a547eafcc {}>
6710 __init__.py                481 DEBUG    session started for user None
6711 __init__.py                466 DEBUG    setup_suid returns None, None
6712 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
6713 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x4a06ea8 name:'' valid:0>, setuid = None
6714 __init__.py                199 DEBUG    moin does not support any language client accepts
6715 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
6716 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
6717 session.py                 303 DEBUG    get_session for sid None
6718 session.py                 318 DEBUG    get_session returns session <MoinSession 3572f7f2d814eb3c6e105ece2220f3ccb3ebf06a {}>
6719 __init__.py                481 DEBUG    session started for user None
6720 __init__.py                466 DEBUG    setup_suid returns None, None
6721 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
6722 ------------------------------- Captured stderr --------------------------------
6723 2010-08-14 11:48:12,890 DEBUG MoinMoin:199 moin does not support any language client accepts
6724 2010-08-14 11:48:12,891 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
6725 2010-08-14 11:48:12,892 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
6726 2010-08-14 11:48:12,892 DEBUG MoinMoin.web.session:303 get_session for sid None
6727 2010-08-14 11:48:12,893 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession cca643e7c30087ba1ab2d3b89e6e2b9a547eafcc {}>
6728 2010-08-14 11:48:12,910 DEBUG MoinMoin.auth:481 session started for user None
6729 2010-08-14 11:48:12,911 DEBUG MoinMoin.auth:466 setup_suid returns None, None
6730 2010-08-14 11:48:12,912 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
6731 2010-08-14 11:48:12,924 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x4a06ea8 name:'' valid:0>, setuid = None
6732 2010-08-14 11:48:12,926 DEBUG MoinMoin:199 moin does not support any language client accepts
6733 2010-08-14 11:48:12,926 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
6734 2010-08-14 11:48:12,927 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
6735 2010-08-14 11:48:12,928 DEBUG MoinMoin.web.session:303 get_session for sid None
6736 2010-08-14 11:48:12,929 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 3572f7f2d814eb3c6e105ece2220f3ccb3ebf06a {}>
6737 2010-08-14 11:48:12,939 DEBUG MoinMoin.auth:481 session started for user None
6738 2010-08-14 11:48:12,940 DEBUG MoinMoin.auth:466 setup_suid returns None, None
6739 2010-08-14 11:48:12,941 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
6740 ________________ TestConfigGroupsBackend.test_backend_acl_deny _________________
6741 
6742 self = <MoinMoin.datastruct.backends._tests.test_config_groups.TestConfigGroupsBackend object at 0x4cc9a50>
6743 
6744     def test_backend_acl_deny(self):
6745         """
6746             Test if the wiki group backend works with acl code.
6747             Check user which does not have rights.
6748             """
6749         request = self.request
6750     
6751         acl_rights = ["AdminGroup:read,write"]
6752         acl = security.AccessControlList(request.cfg, acl_rights)
6753     
6754 >       assert u"SomeUser" not in request.groups['AdminGroup']
6755 E       AttributeError: 'TestRequest' object has no attribute 'groups'
6756 
6757 MoinMoin/datastruct/backends/_tests/__init__.py:110: AttributeError
6758 --------------------------------- Captured log ---------------------------------
6759 __init__.py                199 DEBUG    moin does not support any language client accepts
6760 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
6761 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
6762 session.py                 303 DEBUG    get_session for sid None
6763 session.py                 318 DEBUG    get_session returns session <MoinSession 4ad76177618003e76a1ca56974407049c6702496 {}>
6764 __init__.py                481 DEBUG    session started for user None
6765 __init__.py                466 DEBUG    setup_suid returns None, None
6766 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
6767 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x580dab8 name:'' valid:0>, setuid = None
6768 __init__.py                199 DEBUG    moin does not support any language client accepts
6769 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
6770 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
6771 session.py                 303 DEBUG    get_session for sid None
6772 session.py                 318 DEBUG    get_session returns session <MoinSession 0d313f9bce331fdc211905793574a0e0dfa48ac2 {}>
6773 __init__.py                481 DEBUG    session started for user None
6774 __init__.py                466 DEBUG    setup_suid returns None, None
6775 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
6776 ------------------------------- Captured stderr --------------------------------
6777 2010-08-14 11:48:12,964 DEBUG MoinMoin:199 moin does not support any language client accepts
6778 2010-08-14 11:48:12,965 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
6779 2010-08-14 11:48:12,965 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
6780 2010-08-14 11:48:12,966 DEBUG MoinMoin.web.session:303 get_session for sid None
6781 2010-08-14 11:48:12,967 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 4ad76177618003e76a1ca56974407049c6702496 {}>
6782 2010-08-14 11:48:12,978 DEBUG MoinMoin.auth:481 session started for user None
6783 2010-08-14 11:48:12,979 DEBUG MoinMoin.auth:466 setup_suid returns None, None
6784 2010-08-14 11:48:12,979 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
6785 2010-08-14 11:48:12,991 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x580dab8 name:'' valid:0>, setuid = None
6786 2010-08-14 11:48:12,993 DEBUG MoinMoin:199 moin does not support any language client accepts
6787 2010-08-14 11:48:12,993 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
6788 2010-08-14 11:48:12,996 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
6789 2010-08-14 11:48:12,996 DEBUG MoinMoin.web.session:303 get_session for sid None
6790 2010-08-14 11:48:12,997 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 0d313f9bce331fdc211905793574a0e0dfa48ac2 {}>
6791 2010-08-14 11:48:13,009 DEBUG MoinMoin.auth:481 session started for user None
6792 2010-08-14 11:48:13,010 DEBUG MoinMoin.auth:466 setup_suid returns None, None
6793 2010-08-14 11:48:13,011 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
6794 ______________ TestConfigGroupsBackend.test_backend_acl_with_all _______________
6795 
6796 self = <MoinMoin.datastruct.backends._tests.test_config_groups.TestConfigGroupsBackend object at 0x5bfa810>
6797 
6798     def test_backend_acl_with_all(self):
6799         request = self.request
6800     
6801         acl_rights = ["EditorGroup:read,write,admin All:read"]
6802         acl = security.AccessControlList(request.cfg, acl_rights)
6803     
6804         for member in self.expanded_groups[u'EditorGroup']:
6805             for permission in ["read", "write", "admin"]:
6806 >               assert acl.may(request, member, permission)
6807 
6808 MoinMoin/datastruct/backends/_tests/__init__.py:125: 
6809 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
6810 
6811 self = <MoinMoin.security.AccessControlList instance at 0x5775638>
6812 request = <TestRequest 0 bytes [200 OK]>, name = u'Admin1', dowhat = 'read'
6813 
6814     def may(self, request, name, dowhat):
6815         """ May <name> <dowhat>? Returns boolean answer.
6816     
6817                 Note: this just checks THIS ACL, the before/default/after ACL must
6818                       be handled elsewhere, if needed.
6819             """
6820 >       groups = request.groups
6821 E       AttributeError: 'TestRequest' object has no attribute 'groups'
6822 
6823 MoinMoin/security/__init__.py:234: AttributeError
6824 --------------------------------- Captured log ---------------------------------
6825 __init__.py                199 DEBUG    moin does not support any language client accepts
6826 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
6827 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
6828 session.py                 303 DEBUG    get_session for sid None
6829 session.py                 318 DEBUG    get_session returns session <MoinSession 21c8f71b9f1425a23dc78fc28e05d898537c141b {}>
6830 __init__.py                481 DEBUG    session started for user None
6831 __init__.py                466 DEBUG    setup_suid returns None, None
6832 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
6833 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x5775368 name:'' valid:0>, setuid = None
6834 __init__.py                199 DEBUG    moin does not support any language client accepts
6835 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
6836 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
6837 session.py                 303 DEBUG    get_session for sid None
6838 session.py                 318 DEBUG    get_session returns session <MoinSession 672609f29d0f87b5a90a24aa533d306112cea30d {}>
6839 __init__.py                481 DEBUG    session started for user None
6840 __init__.py                466 DEBUG    setup_suid returns None, None
6841 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
6842 ------------------------------- Captured stderr --------------------------------
6843 2010-08-14 11:48:13,032 DEBUG MoinMoin:199 moin does not support any language client accepts
6844 2010-08-14 11:48:13,033 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
6845 2010-08-14 11:48:13,034 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
6846 2010-08-14 11:48:13,034 DEBUG MoinMoin.web.session:303 get_session for sid None
6847 2010-08-14 11:48:13,037 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 21c8f71b9f1425a23dc78fc28e05d898537c141b {}>
6848 2010-08-14 11:48:13,054 DEBUG MoinMoin.auth:481 session started for user None
6849 2010-08-14 11:48:13,055 DEBUG MoinMoin.auth:466 setup_suid returns None, None
6850 2010-08-14 11:48:13,056 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
6851 2010-08-14 11:48:13,069 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x5775368 name:'' valid:0>, setuid = None
6852 2010-08-14 11:48:13,071 DEBUG MoinMoin:199 moin does not support any language client accepts
6853 2010-08-14 11:48:13,072 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
6854 2010-08-14 11:48:13,073 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
6855 2010-08-14 11:48:13,073 DEBUG MoinMoin.web.session:303 get_session for sid None
6856 2010-08-14 11:48:13,074 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 672609f29d0f87b5a90a24aa533d306112cea30d {}>
6857 2010-08-14 11:48:13,084 DEBUG MoinMoin.auth:481 session started for user None
6858 2010-08-14 11:48:13,085 DEBUG MoinMoin.auth:466 setup_suid returns None, None
6859 2010-08-14 11:48:13,086 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
6860 _________ TestConfigGroupsBackend.test_backend_acl_not_existing_group __________
6861 
6862 self = <MoinMoin.datastruct.backends._tests.test_config_groups.TestConfigGroupsBackend object at 0x31cb5d0>
6863 
6864     def test_backend_acl_not_existing_group(self):
6865         request = self.request
6866 >       assert u'NotExistingGroup' not in request.groups
6867 E       AttributeError: 'TestRequest' object has no attribute 'groups'
6868 
6869 MoinMoin/datastruct/backends/_tests/__init__.py:133: AttributeError
6870 --------------------------------- Captured log ---------------------------------
6871 __init__.py                199 DEBUG    moin does not support any language client accepts
6872 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
6873 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
6874 session.py                 303 DEBUG    get_session for sid None
6875 session.py                 318 DEBUG    get_session returns session <MoinSession 62728f73625526d54ac65e345aad4eccdc92b775 {}>
6876 __init__.py                481 DEBUG    session started for user None
6877 __init__.py                466 DEBUG    setup_suid returns None, None
6878 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
6879 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x4cc5d40 name:'' valid:0>, setuid = None
6880 __init__.py                199 DEBUG    moin does not support any language client accepts
6881 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
6882 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
6883 session.py                 303 DEBUG    get_session for sid None
6884 session.py                 318 DEBUG    get_session returns session <MoinSession 0ca0d8ecbc6463f0f9a701736dda7eac9cf9db4a {}>
6885 __init__.py                481 DEBUG    session started for user None
6886 __init__.py                466 DEBUG    setup_suid returns None, None
6887 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
6888 ------------------------------- Captured stderr --------------------------------
6889 2010-08-14 11:48:13,109 DEBUG MoinMoin:199 moin does not support any language client accepts
6890 2010-08-14 11:48:13,110 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
6891 2010-08-14 11:48:13,110 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
6892 2010-08-14 11:48:13,111 DEBUG MoinMoin.web.session:303 get_session for sid None
6893 2010-08-14 11:48:13,112 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 62728f73625526d54ac65e345aad4eccdc92b775 {}>
6894 2010-08-14 11:48:13,122 DEBUG MoinMoin.auth:481 session started for user None
6895 2010-08-14 11:48:13,123 DEBUG MoinMoin.auth:466 setup_suid returns None, None
6896 2010-08-14 11:48:13,124 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
6897 2010-08-14 11:48:13,135 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x4cc5d40 name:'' valid:0>, setuid = None
6898 2010-08-14 11:48:13,137 DEBUG MoinMoin:199 moin does not support any language client accepts
6899 2010-08-14 11:48:13,138 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
6900 2010-08-14 11:48:13,138 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
6901 2010-08-14 11:48:13,139 DEBUG MoinMoin.web.session:303 get_session for sid None
6902 2010-08-14 11:48:13,140 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 0ca0d8ecbc6463f0f9a701736dda7eac9cf9db4a {}>
6903 2010-08-14 11:48:13,152 DEBUG MoinMoin.auth:481 session started for user None
6904 2010-08-14 11:48:13,152 DEBUG MoinMoin.auth:466 setup_suid returns None, None
6905 2010-08-14 11:48:13,153 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
6906 ______________________ TestLazyConfigGroups.test_contains ______________________
6907 
6908 self = <MoinMoin.datastruct.backends._tests.test_lazy_config_groups.TestLazyConfigGroups object at 0x5adcc90>
6909 
6910     def test_contains(self):
6911         """
6912             Test group_wiki Backend and Group containment methods.
6913             """
6914 >       groups = self.request.groups
6915 E       AttributeError: 'TestRequest' object has no attribute 'groups'
6916 
6917 MoinMoin/datastruct/backends/_tests/__init__.py:45: AttributeError
6918 --------------------------------- Captured log ---------------------------------
6919 __init__.py                199 DEBUG    moin does not support any language client accepts
6920 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
6921 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
6922 session.py                 303 DEBUG    get_session for sid None
6923 session.py                 318 DEBUG    get_session returns session <MoinSession acadacd93d6e0fa9b9f87c09f31cbfe77e71a1d3 {}>
6924 __init__.py                481 DEBUG    session started for user None
6925 __init__.py                466 DEBUG    setup_suid returns None, None
6926 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
6927 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x5bbbd88 name:'' valid:0>, setuid = None
6928 __init__.py                199 DEBUG    moin does not support any language client accepts
6929 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
6930 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
6931 session.py                 303 DEBUG    get_session for sid None
6932 session.py                 318 DEBUG    get_session returns session <MoinSession b0367301dd1c1be051c7c4ef2b6e20c1d282280a {}>
6933 __init__.py                481 DEBUG    session started for user None
6934 __init__.py                466 DEBUG    setup_suid returns None, None
6935 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
6936 __init__.py                199 DEBUG    moin does not support any language client accepts
6937 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
6938 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
6939 session.py                 303 DEBUG    get_session for sid None
6940 session.py                 318 DEBUG    get_session returns session <MoinSession e6ec63fdf9c13af37080957826f6c5ae968f22c0 {}>
6941 __init__.py                481 DEBUG    session started for user None
6942 __init__.py                466 DEBUG    setup_suid returns None, None
6943 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
6944 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x37f39e0 name:'' valid:0>, setuid = None
6945 __init__.py                199 DEBUG    moin does not support any language client accepts
6946 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
6947 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
6948 session.py                 303 DEBUG    get_session for sid None
6949 session.py                 318 DEBUG    get_session returns session <MoinSession 698eb9f074bdd093a614a042c7b112fbf4625e38 {}>
6950 __init__.py                481 DEBUG    session started for user None
6951 __init__.py                466 DEBUG    setup_suid returns None, None
6952 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
6953 ------------------------------- Captured stderr --------------------------------
6954 2010-08-14 11:48:13,185 DEBUG MoinMoin:199 moin does not support any language client accepts
6955 2010-08-14 11:48:13,186 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
6956 2010-08-14 11:48:13,186 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
6957 2010-08-14 11:48:13,187 DEBUG MoinMoin.web.session:303 get_session for sid None
6958 2010-08-14 11:48:13,188 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession acadacd93d6e0fa9b9f87c09f31cbfe77e71a1d3 {}>
6959 2010-08-14 11:48:13,205 DEBUG MoinMoin.auth:481 session started for user None
6960 2010-08-14 11:48:13,206 DEBUG MoinMoin.auth:466 setup_suid returns None, None
6961 2010-08-14 11:48:13,207 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
6962 2010-08-14 11:48:13,218 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x5bbbd88 name:'' valid:0>, setuid = None
6963 2010-08-14 11:48:13,220 DEBUG MoinMoin:199 moin does not support any language client accepts
6964 2010-08-14 11:48:13,221 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
6965 2010-08-14 11:48:13,221 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
6966 2010-08-14 11:48:13,222 DEBUG MoinMoin.web.session:303 get_session for sid None
6967 2010-08-14 11:48:13,223 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession b0367301dd1c1be051c7c4ef2b6e20c1d282280a {}>
6968 2010-08-14 11:48:13,234 DEBUG MoinMoin.auth:481 session started for user None
6969 2010-08-14 11:48:13,235 DEBUG MoinMoin.auth:466 setup_suid returns None, None
6970 2010-08-14 11:48:13,236 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
6971 2010-08-14 11:48:13,247 DEBUG MoinMoin:199 moin does not support any language client accepts
6972 2010-08-14 11:48:13,248 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
6973 2010-08-14 11:48:13,248 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
6974 2010-08-14 11:48:13,249 DEBUG MoinMoin.web.session:303 get_session for sid None
6975 2010-08-14 11:48:13,250 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession e6ec63fdf9c13af37080957826f6c5ae968f22c0 {}>
6976 2010-08-14 11:48:13,261 DEBUG MoinMoin.auth:481 session started for user None
6977 2010-08-14 11:48:13,262 DEBUG MoinMoin.auth:466 setup_suid returns None, None
6978 2010-08-14 11:48:13,263 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
6979 2010-08-14 11:48:13,274 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x37f39e0 name:'' valid:0>, setuid = None
6980 2010-08-14 11:48:13,275 DEBUG MoinMoin:199 moin does not support any language client accepts
6981 2010-08-14 11:48:13,276 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
6982 2010-08-14 11:48:13,277 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
6983 2010-08-14 11:48:13,277 DEBUG MoinMoin.web.session:303 get_session for sid None
6984 2010-08-14 11:48:13,278 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 698eb9f074bdd093a614a042c7b112fbf4625e38 {}>
6985 2010-08-14 11:48:13,291 DEBUG MoinMoin.auth:481 session started for user None
6986 2010-08-14 11:48:13,291 DEBUG MoinMoin.auth:466 setup_suid returns None, None
6987 2010-08-14 11:48:13,292 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
6988 ________________________ TestLazyConfigGroups.test_iter ________________________
6989 
6990 self = <MoinMoin.datastruct.backends._tests.test_lazy_config_groups.TestLazyConfigGroups object at 0x5b23d10>
6991 
6992     def test_iter(self):
6993 >       groups = self.request.groups
6994 E       AttributeError: 'TestRequest' object has no attribute 'groups'
6995 
6996 MoinMoin/datastruct/backends/_tests/__init__.py:61: AttributeError
6997 --------------------------------- Captured log ---------------------------------
6998 __init__.py                199 DEBUG    moin does not support any language client accepts
6999 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
7000 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
7001 session.py                 303 DEBUG    get_session for sid None
7002 session.py                 318 DEBUG    get_session returns session <MoinSession ddedccc8a88148f0c1bae05eaa18b55ff3f9cd2d {}>
7003 __init__.py                481 DEBUG    session started for user None
7004 __init__.py                466 DEBUG    setup_suid returns None, None
7005 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
7006 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x56adb90 name:'' valid:0>, setuid = None
7007 __init__.py                199 DEBUG    moin does not support any language client accepts
7008 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
7009 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
7010 session.py                 303 DEBUG    get_session for sid None
7011 session.py                 318 DEBUG    get_session returns session <MoinSession 67c7674e7b08fdf6db950cfcf382edc69443ccab {}>
7012 __init__.py                481 DEBUG    session started for user None
7013 __init__.py                466 DEBUG    setup_suid returns None, None
7014 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
7015 ------------------------------- Captured stderr --------------------------------
7016 2010-08-14 11:48:13,312 DEBUG MoinMoin:199 moin does not support any language client accepts
7017 2010-08-14 11:48:13,313 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
7018 2010-08-14 11:48:13,313 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
7019 2010-08-14 11:48:13,314 DEBUG MoinMoin.web.session:303 get_session for sid None
7020 2010-08-14 11:48:13,315 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession ddedccc8a88148f0c1bae05eaa18b55ff3f9cd2d {}>
7021 2010-08-14 11:48:13,331 DEBUG MoinMoin.auth:481 session started for user None
7022 2010-08-14 11:48:13,332 DEBUG MoinMoin.auth:466 setup_suid returns None, None
7023 2010-08-14 11:48:13,333 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
7024 2010-08-14 11:48:13,344 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x56adb90 name:'' valid:0>, setuid = None
7025 2010-08-14 11:48:13,346 DEBUG MoinMoin:199 moin does not support any language client accepts
7026 2010-08-14 11:48:13,347 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
7027 2010-08-14 11:48:13,348 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
7028 2010-08-14 11:48:13,348 DEBUG MoinMoin.web.session:303 get_session for sid None
7029 2010-08-14 11:48:13,349 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 67c7674e7b08fdf6db950cfcf382edc69443ccab {}>
7030 2010-08-14 11:48:13,359 DEBUG MoinMoin.auth:481 session started for user None
7031 2010-08-14 11:48:13,360 DEBUG MoinMoin.auth:466 setup_suid returns None, None
7032 2010-08-14 11:48:13,361 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
7033 ________________________ TestLazyConfigGroups.test_get _________________________
7034 
7035 self = <MoinMoin.datastruct.backends._tests.test_lazy_config_groups.TestLazyConfigGroups object at 0x6097190>
7036 
7037     def test_get(self):
7038 >       groups = self.request.groups
7039 E       AttributeError: 'TestRequest' object has no attribute 'groups'
7040 
7041 MoinMoin/datastruct/backends/_tests/__init__.py:70: AttributeError
7042 --------------------------------- Captured log ---------------------------------
7043 __init__.py                199 DEBUG    moin does not support any language client accepts
7044 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
7045 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
7046 session.py                 303 DEBUG    get_session for sid None
7047 session.py                 318 DEBUG    get_session returns session <MoinSession 6762c9e7d09bbf27eceeaea8303fb11712ad753e {}>
7048 __init__.py                481 DEBUG    session started for user None
7049 __init__.py                466 DEBUG    setup_suid returns None, None
7050 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
7051 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x609cea8 name:'' valid:0>, setuid = None
7052 __init__.py                199 DEBUG    moin does not support any language client accepts
7053 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
7054 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
7055 session.py                 303 DEBUG    get_session for sid None
7056 session.py                 318 DEBUG    get_session returns session <MoinSession b39738803cc3638f1082e36776109dd0ecb4f4c3 {}>
7057 __init__.py                481 DEBUG    session started for user None
7058 __init__.py                466 DEBUG    setup_suid returns None, None
7059 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
7060 ------------------------------- Captured stderr --------------------------------
7061 2010-08-14 11:48:13,381 DEBUG MoinMoin:199 moin does not support any language client accepts
7062 2010-08-14 11:48:13,382 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
7063 2010-08-14 11:48:13,383 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
7064 2010-08-14 11:48:13,383 DEBUG MoinMoin.web.session:303 get_session for sid None
7065 2010-08-14 11:48:13,384 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 6762c9e7d09bbf27eceeaea8303fb11712ad753e {}>
7066 2010-08-14 11:48:13,396 DEBUG MoinMoin.auth:481 session started for user None
7067 2010-08-14 11:48:13,397 DEBUG MoinMoin.auth:466 setup_suid returns None, None
7068 2010-08-14 11:48:13,398 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
7069 2010-08-14 11:48:13,411 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x609cea8 name:'' valid:0>, setuid = None
7070 2010-08-14 11:48:13,413 DEBUG MoinMoin:199 moin does not support any language client accepts
7071 2010-08-14 11:48:13,413 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
7072 2010-08-14 11:48:13,414 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
7073 2010-08-14 11:48:13,415 DEBUG MoinMoin.web.session:303 get_session for sid None
7074 2010-08-14 11:48:13,416 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession b39738803cc3638f1082e36776109dd0ecb4f4c3 {}>
7075 2010-08-14 11:48:13,426 DEBUG MoinMoin.auth:481 session started for user None
7076 2010-08-14 11:48:13,427 DEBUG MoinMoin.auth:466 setup_suid returns None, None
7077 2010-08-14 11:48:13,428 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
7078 _________________ TestLazyConfigGroups.test_groups_with_member _________________
7079 
7080 self = <MoinMoin.datastruct.backends._tests.test_lazy_config_groups.TestLazyConfigGroups object at 0x609ffd0>
7081 
7082     def test_groups_with_member(self):
7083 >       groups = self.request.groups
7084 E       AttributeError: 'TestRequest' object has no attribute 'groups'
7085 
7086 MoinMoin/datastruct/backends/_tests/__init__.py:78: AttributeError
7087 --------------------------------- Captured log ---------------------------------
7088 __init__.py                199 DEBUG    moin does not support any language client accepts
7089 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
7090 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
7091 session.py                 303 DEBUG    get_session for sid None
7092 session.py                 318 DEBUG    get_session returns session <MoinSession ed58918feaeb1f96d8fc253b659fd6bd2f9566e7 {}>
7093 __init__.py                481 DEBUG    session started for user None
7094 __init__.py                466 DEBUG    setup_suid returns None, None
7095 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
7096 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x60a1b90 name:'' valid:0>, setuid = None
7097 __init__.py                199 DEBUG    moin does not support any language client accepts
7098 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
7099 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
7100 session.py                 303 DEBUG    get_session for sid None
7101 session.py                 318 DEBUG    get_session returns session <MoinSession 573557c8ecb2f3c4b58e891eb48cf29d5fb83121 {}>
7102 __init__.py                481 DEBUG    session started for user None
7103 __init__.py                466 DEBUG    setup_suid returns None, None
7104 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
7105 ------------------------------- Captured stderr --------------------------------
7106 2010-08-14 11:48:13,448 DEBUG MoinMoin:199 moin does not support any language client accepts
7107 2010-08-14 11:48:13,449 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
7108 2010-08-14 11:48:13,450 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
7109 2010-08-14 11:48:13,450 DEBUG MoinMoin.web.session:303 get_session for sid None
7110 2010-08-14 11:48:13,451 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession ed58918feaeb1f96d8fc253b659fd6bd2f9566e7 {}>
7111 2010-08-14 11:48:13,468 DEBUG MoinMoin.auth:481 session started for user None
7112 2010-08-14 11:48:13,469 DEBUG MoinMoin.auth:466 setup_suid returns None, None
7113 2010-08-14 11:48:13,470 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
7114 2010-08-14 11:48:13,482 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x60a1b90 name:'' valid:0>, setuid = None
7115 2010-08-14 11:48:13,483 DEBUG MoinMoin:199 moin does not support any language client accepts
7116 2010-08-14 11:48:13,486 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
7117 2010-08-14 11:48:13,486 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
7118 2010-08-14 11:48:13,487 DEBUG MoinMoin.web.session:303 get_session for sid None
7119 2010-08-14 11:48:13,488 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 573557c8ecb2f3c4b58e891eb48cf29d5fb83121 {}>
7120 2010-08-14 11:48:13,498 DEBUG MoinMoin.auth:481 session started for user None
7121 2010-08-14 11:48:13,499 DEBUG MoinMoin.auth:466 setup_suid returns None, None
7122 2010-08-14 11:48:13,500 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
7123 _________________ TestLazyConfigGroups.test_backend_acl_allow __________________
7124 
7125 self = <MoinMoin.datastruct.backends._tests.test_lazy_config_groups.TestLazyConfigGroups object at 0x632ac90>
7126 
7127     def test_backend_acl_allow(self):
7128         """
7129             Test if the wiki group backend works with acl code.
7130             Check user which has rights.
7131             """
7132         request = self.request
7133     
7134         acl_rights = ["AdminGroup:admin,read,write"]
7135         acl = security.AccessControlList(request.cfg, acl_rights)
7136     
7137         for user in self.expanded_groups['AdminGroup']:
7138             for permission in ["read", "write", "admin"]:
7139 >               assert acl.may(request, u"Admin1", permission), '%s must have %s permission because he is member of the AdminGroup' % (user, permission)
7140 
7141 MoinMoin/datastruct/backends/_tests/__init__.py:98: 
7142 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
7143 
7144 self = <MoinMoin.security.AccessControlList instance at 0x633a5a8>
7145 request = <TestRequest 0 bytes [200 OK]>, name = u'Admin1', dowhat = 'read'
7146 
7147     def may(self, request, name, dowhat):
7148         """ May <name> <dowhat>? Returns boolean answer.
7149     
7150                 Note: this just checks THIS ACL, the before/default/after ACL must
7151                       be handled elsewhere, if needed.
7152             """
7153 >       groups = request.groups
7154 E       AttributeError: 'TestRequest' object has no attribute 'groups'
7155 
7156 MoinMoin/security/__init__.py:234: AttributeError
7157 --------------------------------- Captured log ---------------------------------
7158 __init__.py                199 DEBUG    moin does not support any language client accepts
7159 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
7160 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
7161 session.py                 303 DEBUG    get_session for sid None
7162 session.py                 318 DEBUG    get_session returns session <MoinSession f25cc60283b79b03304bbeacd032433eb951862b {}>
7163 __init__.py                481 DEBUG    session started for user None
7164 __init__.py                466 DEBUG    setup_suid returns None, None
7165 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
7166 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x60a2128 name:'' valid:0>, setuid = None
7167 __init__.py                199 DEBUG    moin does not support any language client accepts
7168 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
7169 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
7170 session.py                 303 DEBUG    get_session for sid None
7171 session.py                 318 DEBUG    get_session returns session <MoinSession 5174049bda7d55a681ee999b8563637fefb0c376 {}>
7172 __init__.py                481 DEBUG    session started for user None
7173 __init__.py                466 DEBUG    setup_suid returns None, None
7174 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
7175 ------------------------------- Captured stderr --------------------------------
7176 2010-08-14 11:48:13,521 DEBUG MoinMoin:199 moin does not support any language client accepts
7177 2010-08-14 11:48:13,522 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
7178 2010-08-14 11:48:13,522 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
7179 2010-08-14 11:48:13,523 DEBUG MoinMoin.web.session:303 get_session for sid None
7180 2010-08-14 11:48:13,524 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession f25cc60283b79b03304bbeacd032433eb951862b {}>
7181 2010-08-14 11:48:13,535 DEBUG MoinMoin.auth:481 session started for user None
7182 2010-08-14 11:48:13,536 DEBUG MoinMoin.auth:466 setup_suid returns None, None
7183 2010-08-14 11:48:13,536 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
7184 2010-08-14 11:48:13,549 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x60a2128 name:'' valid:0>, setuid = None
7185 2010-08-14 11:48:13,550 DEBUG MoinMoin:199 moin does not support any language client accepts
7186 2010-08-14 11:48:13,551 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
7187 2010-08-14 11:48:13,552 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
7188 2010-08-14 11:48:13,552 DEBUG MoinMoin.web.session:303 get_session for sid None
7189 2010-08-14 11:48:13,553 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 5174049bda7d55a681ee999b8563637fefb0c376 {}>
7190 2010-08-14 11:48:13,564 DEBUG MoinMoin.auth:481 session started for user None
7191 2010-08-14 11:48:13,566 DEBUG MoinMoin.auth:466 setup_suid returns None, None
7192 2010-08-14 11:48:13,567 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
7193 __________________ TestLazyConfigGroups.test_backend_acl_deny __________________
7194 
7195 self = <MoinMoin.datastruct.backends._tests.test_lazy_config_groups.TestLazyConfigGroups object at 0x6338410>
7196 
7197     def test_backend_acl_deny(self):
7198         """
7199             Test if the wiki group backend works with acl code.
7200             Check user which does not have rights.
7201             """
7202         request = self.request
7203     
7204         acl_rights = ["AdminGroup:read,write"]
7205         acl = security.AccessControlList(request.cfg, acl_rights)
7206     
7207 >       assert u"SomeUser" not in request.groups['AdminGroup']
7208 E       AttributeError: 'TestRequest' object has no attribute 'groups'
7209 
7210 MoinMoin/datastruct/backends/_tests/__init__.py:110: AttributeError
7211 --------------------------------- Captured log ---------------------------------
7212 __init__.py                199 DEBUG    moin does not support any language client accepts
7213 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
7214 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
7215 session.py                 303 DEBUG    get_session for sid None
7216 session.py                 318 DEBUG    get_session returns session <MoinSession 2013042a6612e0c6cd2053ba409fb678f13496f0 {}>
7217 __init__.py                481 DEBUG    session started for user None
7218 __init__.py                466 DEBUG    setup_suid returns None, None
7219 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
7220 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x64ce248 name:'' valid:0>, setuid = None
7221 __init__.py                199 DEBUG    moin does not support any language client accepts
7222 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
7223 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
7224 session.py                 303 DEBUG    get_session for sid None
7225 session.py                 318 DEBUG    get_session returns session <MoinSession 7563fe1aa1b350ca2dba90cbbb063b75ceb0f662 {}>
7226 __init__.py                481 DEBUG    session started for user None
7227 __init__.py                466 DEBUG    setup_suid returns None, None
7228 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
7229 ------------------------------- Captured stderr --------------------------------
7230 2010-08-14 11:48:13,590 DEBUG MoinMoin:199 moin does not support any language client accepts
7231 2010-08-14 11:48:13,591 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
7232 2010-08-14 11:48:13,591 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
7233 2010-08-14 11:48:13,592 DEBUG MoinMoin.web.session:303 get_session for sid None
7234 2010-08-14 11:48:13,593 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 2013042a6612e0c6cd2053ba409fb678f13496f0 {}>
7235 2010-08-14 11:48:13,609 DEBUG MoinMoin.auth:481 session started for user None
7236 2010-08-14 11:48:13,610 DEBUG MoinMoin.auth:466 setup_suid returns None, None
7237 2010-08-14 11:48:13,611 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
7238 2010-08-14 11:48:13,623 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x64ce248 name:'' valid:0>, setuid = None
7239 2010-08-14 11:48:13,625 DEBUG MoinMoin:199 moin does not support any language client accepts
7240 2010-08-14 11:48:13,626 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
7241 2010-08-14 11:48:13,626 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
7242 2010-08-14 11:48:13,627 DEBUG MoinMoin.web.session:303 get_session for sid None
7243 2010-08-14 11:48:13,628 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 7563fe1aa1b350ca2dba90cbbb063b75ceb0f662 {}>
7244 2010-08-14 11:48:13,639 DEBUG MoinMoin.auth:481 session started for user None
7245 2010-08-14 11:48:13,640 DEBUG MoinMoin.auth:466 setup_suid returns None, None
7246 2010-08-14 11:48:13,641 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
7247 ________________ TestLazyConfigGroups.test_backend_acl_with_all ________________
7248 
7249 self = <MoinMoin.datastruct.backends._tests.test_lazy_config_groups.TestLazyConfigGroups object at 0x63387d0>
7250 
7251     def test_backend_acl_with_all(self):
7252         request = self.request
7253     
7254         acl_rights = ["EditorGroup:read,write,admin All:read"]
7255         acl = security.AccessControlList(request.cfg, acl_rights)
7256     
7257         for member in self.expanded_groups[u'EditorGroup']:
7258             for permission in ["read", "write", "admin"]:
7259 >               assert acl.may(request, member, permission)
7260 
7261 MoinMoin/datastruct/backends/_tests/__init__.py:125: 
7262 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
7263 
7264 self = <MoinMoin.security.AccessControlList instance at 0x6752248>
7265 request = <TestRequest 0 bytes [200 OK]>, name = u'John', dowhat = 'read'
7266 
7267     def may(self, request, name, dowhat):
7268         """ May <name> <dowhat>? Returns boolean answer.
7269     
7270                 Note: this just checks THIS ACL, the before/default/after ACL must
7271                       be handled elsewhere, if needed.
7272             """
7273 >       groups = request.groups
7274 E       AttributeError: 'TestRequest' object has no attribute 'groups'
7275 
7276 MoinMoin/security/__init__.py:234: AttributeError
7277 --------------------------------- Captured log ---------------------------------
7278 __init__.py                199 DEBUG    moin does not support any language client accepts
7279 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
7280 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
7281 session.py                 303 DEBUG    get_session for sid None
7282 session.py                 318 DEBUG    get_session returns session <MoinSession 9a4d049263136d2ef54d4dbd858f085ee312d321 {}>
7283 __init__.py                481 DEBUG    session started for user None
7284 __init__.py                466 DEBUG    setup_suid returns None, None
7285 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
7286 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x6641368 name:'' valid:0>, setuid = None
7287 __init__.py                199 DEBUG    moin does not support any language client accepts
7288 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
7289 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
7290 session.py                 303 DEBUG    get_session for sid None
7291 session.py                 318 DEBUG    get_session returns session <MoinSession 3f5b93a57109ec4a78964a279ad74489835c1dba {}>
7292 __init__.py                481 DEBUG    session started for user None
7293 __init__.py                466 DEBUG    setup_suid returns None, None
7294 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
7295 ------------------------------- Captured stderr --------------------------------
7296 2010-08-14 11:48:13,662 DEBUG MoinMoin:199 moin does not support any language client accepts
7297 2010-08-14 11:48:13,662 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
7298 2010-08-14 11:48:13,663 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
7299 2010-08-14 11:48:13,664 DEBUG MoinMoin.web.session:303 get_session for sid None
7300 2010-08-14 11:48:13,664 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 9a4d049263136d2ef54d4dbd858f085ee312d321 {}>
7301 2010-08-14 11:48:13,676 DEBUG MoinMoin.auth:481 session started for user None
7302 2010-08-14 11:48:13,677 DEBUG MoinMoin.auth:466 setup_suid returns None, None
7303 2010-08-14 11:48:13,678 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
7304 2010-08-14 11:48:13,690 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x6641368 name:'' valid:0>, setuid = None
7305 2010-08-14 11:48:13,692 DEBUG MoinMoin:199 moin does not support any language client accepts
7306 2010-08-14 11:48:13,692 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
7307 2010-08-14 11:48:13,693 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
7308 2010-08-14 11:48:13,694 DEBUG MoinMoin.web.session:303 get_session for sid None
7309 2010-08-14 11:48:13,695 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 3f5b93a57109ec4a78964a279ad74489835c1dba {}>
7310 2010-08-14 11:48:13,706 DEBUG MoinMoin.auth:481 session started for user None
7311 2010-08-14 11:48:13,707 DEBUG MoinMoin.auth:466 setup_suid returns None, None
7312 2010-08-14 11:48:13,708 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
7313 ___________ TestLazyConfigGroups.test_backend_acl_not_existing_group ___________
7314 
7315 self = <MoinMoin.datastruct.backends._tests.test_lazy_config_groups.TestLazyConfigGroups object at 0x6770ed0>
7316 
7317     def test_backend_acl_not_existing_group(self):
7318         request = self.request
7319 >       assert u'NotExistingGroup' not in request.groups
7320 E       AttributeError: 'TestRequest' object has no attribute 'groups'
7321 
7322 MoinMoin/datastruct/backends/_tests/__init__.py:133: AttributeError
7323 --------------------------------- Captured log ---------------------------------
7324 __init__.py                199 DEBUG    moin does not support any language client accepts
7325 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
7326 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
7327 session.py                 303 DEBUG    get_session for sid None
7328 session.py                 318 DEBUG    get_session returns session <MoinSession 58aefa4ec49c5f6fae6f68baf2b256246d745a5e {}>
7329 __init__.py                481 DEBUG    session started for user None
7330 __init__.py                466 DEBUG    setup_suid returns None, None
7331 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
7332 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x68a2c68 name:'' valid:0>, setuid = None
7333 __init__.py                199 DEBUG    moin does not support any language client accepts
7334 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
7335 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
7336 session.py                 303 DEBUG    get_session for sid None
7337 session.py                 318 DEBUG    get_session returns session <MoinSession dc13e70490a0e1c518ca40d72bbe464f478a4294 {}>
7338 __init__.py                481 DEBUG    session started for user None
7339 __init__.py                466 DEBUG    setup_suid returns None, None
7340 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
7341 ------------------------------- Captured stderr --------------------------------
7342 2010-08-14 11:48:13,734 DEBUG MoinMoin:199 moin does not support any language client accepts
7343 2010-08-14 11:48:13,735 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
7344 2010-08-14 11:48:13,735 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
7345 2010-08-14 11:48:13,736 DEBUG MoinMoin.web.session:303 get_session for sid None
7346 2010-08-14 11:48:13,737 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 58aefa4ec49c5f6fae6f68baf2b256246d745a5e {}>
7347 2010-08-14 11:48:13,753 DEBUG MoinMoin.auth:481 session started for user None
7348 2010-08-14 11:48:13,754 DEBUG MoinMoin.auth:466 setup_suid returns None, None
7349 2010-08-14 11:48:13,755 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
7350 2010-08-14 11:48:13,972 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x68a2c68 name:'' valid:0>, setuid = None
7351 2010-08-14 11:48:13,973 DEBUG MoinMoin:199 moin does not support any language client accepts
7352 2010-08-14 11:48:13,974 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
7353 2010-08-14 11:48:13,975 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
7354 2010-08-14 11:48:13,976 DEBUG MoinMoin.web.session:303 get_session for sid None
7355 2010-08-14 11:48:13,976 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession dc13e70490a0e1c518ca40d72bbe464f478a4294 {}>
7356 2010-08-14 11:48:13,988 DEBUG MoinMoin.auth:481 session started for user None
7357 2010-08-14 11:48:13,989 DEBUG MoinMoin.auth:466 setup_suid returns None, None
7358 2010-08-14 11:48:13,990 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
7359 ________________ TestCompositeAndLazyConfigGroups.test_contains ________________
7360 
7361 self = <MoinMoin.datastruct.backends._tests.test_lazy_config_groups.TestCompositeAndLazyConfigGroups object at 0x6209990>
7362 
7363     def test_contains(self):
7364         """
7365             Test group_wiki Backend and Group containment methods.
7366             """
7367 >       groups = self.request.groups
7368 E       AttributeError: 'TestRequest' object has no attribute 'groups'
7369 
7370 MoinMoin/datastruct/backends/_tests/__init__.py:45: AttributeError
7371 --------------------------------- Captured log ---------------------------------
7372 __init__.py                199 DEBUG    moin does not support any language client accepts
7373 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
7374 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
7375 session.py                 303 DEBUG    get_session for sid None
7376 session.py                 318 DEBUG    get_session returns session <MoinSession a85d19f48b76ff706154f929ebd7108472ec3eb8 {}>
7377 __init__.py                481 DEBUG    session started for user None
7378 __init__.py                466 DEBUG    setup_suid returns None, None
7379 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
7380 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x61fa518 name:'' valid:0>, setuid = None
7381 __init__.py                199 DEBUG    moin does not support any language client accepts
7382 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
7383 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
7384 session.py                 303 DEBUG    get_session for sid None
7385 session.py                 318 DEBUG    get_session returns session <MoinSession 3c89f3d53d45ebd517b2988670d3d71de535187e {}>
7386 __init__.py                481 DEBUG    session started for user None
7387 __init__.py                466 DEBUG    setup_suid returns None, None
7388 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
7389 __init__.py                199 DEBUG    moin does not support any language client accepts
7390 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
7391 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
7392 session.py                 303 DEBUG    get_session for sid None
7393 session.py                 318 DEBUG    get_session returns session <MoinSession 11988c7255512fdc77011a834882b657a89de1b5 {}>
7394 __init__.py                481 DEBUG    session started for user None
7395 __init__.py                466 DEBUG    setup_suid returns None, None
7396 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
7397 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x5ca1170 name:'' valid:0>, setuid = None
7398 __init__.py                199 DEBUG    moin does not support any language client accepts
7399 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
7400 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
7401 session.py                 303 DEBUG    get_session for sid None
7402 session.py                 318 DEBUG    get_session returns session <MoinSession 1980236a8d88bf0833364ae8dff24c18f0798436 {}>
7403 __init__.py                481 DEBUG    session started for user None
7404 __init__.py                466 DEBUG    setup_suid returns None, None
7405 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
7406 ------------------------------- Captured stderr --------------------------------
7407 2010-08-14 11:48:14,079 DEBUG MoinMoin:199 moin does not support any language client accepts
7408 2010-08-14 11:48:14,080 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
7409 2010-08-14 11:48:14,080 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
7410 2010-08-14 11:48:14,081 DEBUG MoinMoin.web.session:303 get_session for sid None
7411 2010-08-14 11:48:14,082 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession a85d19f48b76ff706154f929ebd7108472ec3eb8 {}>
7412 2010-08-14 11:48:14,093 DEBUG MoinMoin.auth:481 session started for user None
7413 2010-08-14 11:48:14,094 DEBUG MoinMoin.auth:466 setup_suid returns None, None
7414 2010-08-14 11:48:14,095 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
7415 2010-08-14 11:48:14,113 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x61fa518 name:'' valid:0>, setuid = None
7416 2010-08-14 11:48:14,115 DEBUG MoinMoin:199 moin does not support any language client accepts
7417 2010-08-14 11:48:14,116 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
7418 2010-08-14 11:48:14,117 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
7419 2010-08-14 11:48:14,117 DEBUG MoinMoin.web.session:303 get_session for sid None
7420 2010-08-14 11:48:14,118 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 3c89f3d53d45ebd517b2988670d3d71de535187e {}>
7421 2010-08-14 11:48:14,129 DEBUG MoinMoin.auth:481 session started for user None
7422 2010-08-14 11:48:14,130 DEBUG MoinMoin.auth:466 setup_suid returns None, None
7423 2010-08-14 11:48:14,130 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
7424 2010-08-14 11:48:14,143 DEBUG MoinMoin:199 moin does not support any language client accepts
7425 2010-08-14 11:48:14,144 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
7426 2010-08-14 11:48:14,144 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
7427 2010-08-14 11:48:14,145 DEBUG MoinMoin.web.session:303 get_session for sid None
7428 2010-08-14 11:48:14,146 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 11988c7255512fdc77011a834882b657a89de1b5 {}>
7429 2010-08-14 11:48:14,156 DEBUG MoinMoin.auth:481 session started for user None
7430 2010-08-14 11:48:14,157 DEBUG MoinMoin.auth:466 setup_suid returns None, None
7431 2010-08-14 11:48:14,158 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
7432 2010-08-14 11:48:14,170 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x5ca1170 name:'' valid:0>, setuid = None
7433 2010-08-14 11:48:14,172 DEBUG MoinMoin:199 moin does not support any language client accepts
7434 2010-08-14 11:48:14,173 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
7435 2010-08-14 11:48:14,173 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
7436 2010-08-14 11:48:14,174 DEBUG MoinMoin.web.session:303 get_session for sid None
7437 2010-08-14 11:48:14,175 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 1980236a8d88bf0833364ae8dff24c18f0798436 {}>
7438 2010-08-14 11:48:14,185 DEBUG MoinMoin.auth:481 session started for user None
7439 2010-08-14 11:48:14,186 DEBUG MoinMoin.auth:466 setup_suid returns None, None
7440 2010-08-14 11:48:14,187 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
7441 _____________ TestCompositeAndLazyConfigGroups.test_contains_group _____________
7442 
7443 self = <MoinMoin.datastruct.backends._tests.test_lazy_config_groups.TestCompositeAndLazyConfigGroups object at 0x5759d90>
7444 
7445     def test_contains_group(self):
7446 >       groups = self.request.groups
7447 E       AttributeError: 'TestRequest' object has no attribute 'groups'
7448 
7449 MoinMoin/datastruct/backends/_tests/__init__.py:55: AttributeError
7450 --------------------------------- Captured log ---------------------------------
7451 __init__.py                199 DEBUG    moin does not support any language client accepts
7452 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
7453 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
7454 session.py                 303 DEBUG    get_session for sid None
7455 session.py                 318 DEBUG    get_session returns session <MoinSession 9997939624c8af17d1ec8d76e9155370529180e0 {}>
7456 __init__.py                481 DEBUG    session started for user None
7457 __init__.py                466 DEBUG    setup_suid returns None, None
7458 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
7459 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x571c5a8 name:'' valid:0>, setuid = None
7460 __init__.py                199 DEBUG    moin does not support any language client accepts
7461 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
7462 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
7463 session.py                 303 DEBUG    get_session for sid None
7464 session.py                 318 DEBUG    get_session returns session <MoinSession f92ac98f11a3d46267f5cd6db4803b54169f7ea3 {}>
7465 __init__.py                481 DEBUG    session started for user None
7466 __init__.py                466 DEBUG    setup_suid returns None, None
7467 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
7468 ------------------------------- Captured stderr --------------------------------
7469 2010-08-14 11:48:14,208 DEBUG MoinMoin:199 moin does not support any language client accepts
7470 2010-08-14 11:48:14,208 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
7471 2010-08-14 11:48:14,209 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
7472 2010-08-14 11:48:14,210 DEBUG MoinMoin.web.session:303 get_session for sid None
7473 2010-08-14 11:48:14,211 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 9997939624c8af17d1ec8d76e9155370529180e0 {}>
7474 2010-08-14 11:48:14,221 DEBUG MoinMoin.auth:481 session started for user None
7475 2010-08-14 11:48:14,222 DEBUG MoinMoin.auth:466 setup_suid returns None, None
7476 2010-08-14 11:48:14,223 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
7477 2010-08-14 11:48:14,241 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x571c5a8 name:'' valid:0>, setuid = None
7478 2010-08-14 11:48:14,243 DEBUG MoinMoin:199 moin does not support any language client accepts
7479 2010-08-14 11:48:14,244 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
7480 2010-08-14 11:48:14,245 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
7481 2010-08-14 11:48:14,245 DEBUG MoinMoin.web.session:303 get_session for sid None
7482 2010-08-14 11:48:14,246 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession f92ac98f11a3d46267f5cd6db4803b54169f7ea3 {}>
7483 2010-08-14 11:48:14,257 DEBUG MoinMoin.auth:481 session started for user None
7484 2010-08-14 11:48:14,258 DEBUG MoinMoin.auth:466 setup_suid returns None, None
7485 2010-08-14 11:48:14,258 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
7486 __________________ TestCompositeAndLazyConfigGroups.test_iter __________________
7487 
7488 self = <MoinMoin.datastruct.backends._tests.test_lazy_config_groups.TestCompositeAndLazyConfigGroups object at 0x5bde4d0>
7489 
7490     def test_iter(self):
7491 >       groups = self.request.groups
7492 E       AttributeError: 'TestRequest' object has no attribute 'groups'
7493 
7494 MoinMoin/datastruct/backends/_tests/__init__.py:61: AttributeError
7495 --------------------------------- Captured log ---------------------------------
7496 __init__.py                199 DEBUG    moin does not support any language client accepts
7497 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
7498 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
7499 session.py                 303 DEBUG    get_session for sid None
7500 session.py                 318 DEBUG    get_session returns session <MoinSession 5bc5b4a685a9c05aa62491c58ff172895ee35aa9 {}>
7501 __init__.py                481 DEBUG    session started for user None
7502 __init__.py                466 DEBUG    setup_suid returns None, None
7503 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
7504 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x5789d88 name:'' valid:0>, setuid = None
7505 __init__.py                199 DEBUG    moin does not support any language client accepts
7506 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
7507 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
7508 session.py                 303 DEBUG    get_session for sid None
7509 session.py                 318 DEBUG    get_session returns session <MoinSession 7e961c0c02ec997a0c914d29fc84488cc83c49fb {}>
7510 __init__.py                481 DEBUG    session started for user None
7511 __init__.py                466 DEBUG    setup_suid returns None, None
7512 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
7513 ------------------------------- Captured stderr --------------------------------
7514 2010-08-14 11:48:14,281 DEBUG MoinMoin:199 moin does not support any language client accepts
7515 2010-08-14 11:48:14,282 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
7516 2010-08-14 11:48:14,282 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
7517 2010-08-14 11:48:14,283 DEBUG MoinMoin.web.session:303 get_session for sid None
7518 2010-08-14 11:48:14,284 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 5bc5b4a685a9c05aa62491c58ff172895ee35aa9 {}>
7519 2010-08-14 11:48:14,294 DEBUG MoinMoin.auth:481 session started for user None
7520 2010-08-14 11:48:14,295 DEBUG MoinMoin.auth:466 setup_suid returns None, None
7521 2010-08-14 11:48:14,296 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
7522 2010-08-14 11:48:14,308 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x5789d88 name:'' valid:0>, setuid = None
7523 2010-08-14 11:48:14,310 DEBUG MoinMoin:199 moin does not support any language client accepts
7524 2010-08-14 11:48:14,311 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
7525 2010-08-14 11:48:14,311 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
7526 2010-08-14 11:48:14,312 DEBUG MoinMoin.web.session:303 get_session for sid None
7527 2010-08-14 11:48:14,313 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 7e961c0c02ec997a0c914d29fc84488cc83c49fb {}>
7528 2010-08-14 11:48:14,323 DEBUG MoinMoin.auth:481 session started for user None
7529 2010-08-14 11:48:14,324 DEBUG MoinMoin.auth:466 setup_suid returns None, None
7530 2010-08-14 11:48:14,325 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
7531 __________________ TestCompositeAndLazyConfigGroups.test_get ___________________
7532 
7533 self = <MoinMoin.datastruct.backends._tests.test_lazy_config_groups.TestCompositeAndLazyConfigGroups object at 0x3952b10>
7534 
7535     def test_get(self):
7536 >       groups = self.request.groups
7537 E       AttributeError: 'TestRequest' object has no attribute 'groups'
7538 
7539 MoinMoin/datastruct/backends/_tests/__init__.py:70: AttributeError
7540 --------------------------------- Captured log ---------------------------------
7541 __init__.py                199 DEBUG    moin does not support any language client accepts
7542 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
7543 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
7544 session.py                 303 DEBUG    get_session for sid None
7545 session.py                 318 DEBUG    get_session returns session <MoinSession 4db98b908c661157e12cdd1eea4f6dfa5e67b317 {}>
7546 __init__.py                481 DEBUG    session started for user None
7547 __init__.py                466 DEBUG    setup_suid returns None, None
7548 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
7549 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x5af0710 name:'' valid:0>, setuid = None
7550 __init__.py                199 DEBUG    moin does not support any language client accepts
7551 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
7552 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
7553 session.py                 303 DEBUG    get_session for sid None
7554 session.py                 318 DEBUG    get_session returns session <MoinSession 40e5abeb2d0bd061bf0cf1bbc75a97d06e42017e {}>
7555 __init__.py                481 DEBUG    session started for user None
7556 __init__.py                466 DEBUG    setup_suid returns None, None
7557 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
7558 ------------------------------- Captured stderr --------------------------------
7559 2010-08-14 11:48:14,345 DEBUG MoinMoin:199 moin does not support any language client accepts
7560 2010-08-14 11:48:14,346 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
7561 2010-08-14 11:48:14,347 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
7562 2010-08-14 11:48:14,347 DEBUG MoinMoin.web.session:303 get_session for sid None
7563 2010-08-14 11:48:14,348 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 4db98b908c661157e12cdd1eea4f6dfa5e67b317 {}>
7564 2010-08-14 11:48:14,359 DEBUG MoinMoin.auth:481 session started for user None
7565 2010-08-14 11:48:14,360 DEBUG MoinMoin.auth:466 setup_suid returns None, None
7566 2010-08-14 11:48:14,361 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
7567 2010-08-14 11:48:14,378 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x5af0710 name:'' valid:0>, setuid = None
7568 2010-08-14 11:48:14,380 DEBUG MoinMoin:199 moin does not support any language client accepts
7569 2010-08-14 11:48:14,381 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
7570 2010-08-14 11:48:14,381 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
7571 2010-08-14 11:48:14,382 DEBUG MoinMoin.web.session:303 get_session for sid None
7572 2010-08-14 11:48:14,383 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 40e5abeb2d0bd061bf0cf1bbc75a97d06e42017e {}>
7573 2010-08-14 11:48:14,394 DEBUG MoinMoin.auth:481 session started for user None
7574 2010-08-14 11:48:14,395 DEBUG MoinMoin.auth:466 setup_suid returns None, None
7575 2010-08-14 11:48:14,396 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
7576 ___________ TestCompositeAndLazyConfigGroups.test_groups_with_member ___________
7577 
7578 self = <MoinMoin.datastruct.backends._tests.test_lazy_config_groups.TestCompositeAndLazyConfigGroups object at 0x31c02d0>
7579 
7580     def test_groups_with_member(self):
7581 >       groups = self.request.groups
7582 E       AttributeError: 'TestRequest' object has no attribute 'groups'
7583 
7584 MoinMoin/datastruct/backends/_tests/__init__.py:78: AttributeError
7585 --------------------------------- Captured log ---------------------------------
7586 __init__.py                199 DEBUG    moin does not support any language client accepts
7587 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
7588 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
7589 session.py                 303 DEBUG    get_session for sid None
7590 session.py                 318 DEBUG    get_session returns session <MoinSession 2d644443ced2c132ccff46e66b9b4ce1941e2479 {}>
7591 __init__.py                481 DEBUG    session started for user None
7592 __init__.py                466 DEBUG    setup_suid returns None, None
7593 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
7594 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x467da28 name:'' valid:0>, setuid = None
7595 __init__.py                199 DEBUG    moin does not support any language client accepts
7596 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
7597 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
7598 session.py                 303 DEBUG    get_session for sid None
7599 session.py                 318 DEBUG    get_session returns session <MoinSession 2c69d9bf8acb201133840e7c6c0db71399bc0cd8 {}>
7600 __init__.py                481 DEBUG    session started for user None
7601 __init__.py                466 DEBUG    setup_suid returns None, None
7602 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
7603 ------------------------------- Captured stderr --------------------------------
7604 2010-08-14 11:48:14,416 DEBUG MoinMoin:199 moin does not support any language client accepts
7605 2010-08-14 11:48:14,417 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
7606 2010-08-14 11:48:14,418 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
7607 2010-08-14 11:48:14,419 DEBUG MoinMoin.web.session:303 get_session for sid None
7608 2010-08-14 11:48:14,419 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 2d644443ced2c132ccff46e66b9b4ce1941e2479 {}>
7609 2010-08-14 11:48:14,430 DEBUG MoinMoin.auth:481 session started for user None
7610 2010-08-14 11:48:14,431 DEBUG MoinMoin.auth:466 setup_suid returns None, None
7611 2010-08-14 11:48:14,431 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
7612 2010-08-14 11:48:14,443 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x467da28 name:'' valid:0>, setuid = None
7613 2010-08-14 11:48:14,445 DEBUG MoinMoin:199 moin does not support any language client accepts
7614 2010-08-14 11:48:14,446 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
7615 2010-08-14 11:48:14,446 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
7616 2010-08-14 11:48:14,447 DEBUG MoinMoin.web.session:303 get_session for sid None
7617 2010-08-14 11:48:14,448 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 2c69d9bf8acb201133840e7c6c0db71399bc0cd8 {}>
7618 2010-08-14 11:48:14,458 DEBUG MoinMoin.auth:481 session started for user None
7619 2010-08-14 11:48:14,459 DEBUG MoinMoin.auth:466 setup_suid returns None, None
7620 2010-08-14 11:48:14,460 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
7621 ___________ TestCompositeAndLazyConfigGroups.test_backend_acl_allow ____________
7622 
7623 self = <MoinMoin.datastruct.backends._tests.test_lazy_config_groups.TestCompositeAndLazyConfigGroups object at 0x5802ed0>
7624 
7625     def test_backend_acl_allow(self):
7626         """
7627             Test if the wiki group backend works with acl code.
7628             Check user which has rights.
7629             """
7630         request = self.request
7631     
7632         acl_rights = ["AdminGroup:admin,read,write"]
7633         acl = security.AccessControlList(request.cfg, acl_rights)
7634     
7635         for user in self.expanded_groups['AdminGroup']:
7636             for permission in ["read", "write", "admin"]:
7637 >               assert acl.may(request, u"Admin1", permission), '%s must have %s permission because he is member of the AdminGroup' % (user, permission)
7638 
7639 MoinMoin/datastruct/backends/_tests/__init__.py:98: 
7640 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
7641 
7642 self = <MoinMoin.security.AccessControlList instance at 0x44a5560>
7643 request = <TestRequest 0 bytes [200 OK]>, name = u'Admin1', dowhat = 'read'
7644 
7645     def may(self, request, name, dowhat):
7646         """ May <name> <dowhat>? Returns boolean answer.
7647     
7648                 Note: this just checks THIS ACL, the before/default/after ACL must
7649                       be handled elsewhere, if needed.
7650             """
7651 >       groups = request.groups
7652 E       AttributeError: 'TestRequest' object has no attribute 'groups'
7653 
7654 MoinMoin/security/__init__.py:234: AttributeError
7655 --------------------------------- Captured log ---------------------------------
7656 __init__.py                199 DEBUG    moin does not support any language client accepts
7657 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
7658 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
7659 session.py                 303 DEBUG    get_session for sid None
7660 session.py                 318 DEBUG    get_session returns session <MoinSession 9bb936eee51745bd19a51272b121f3ad097657af {}>
7661 __init__.py                481 DEBUG    session started for user None
7662 __init__.py                466 DEBUG    setup_suid returns None, None
7663 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
7664 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x3d30518 name:'' valid:0>, setuid = None
7665 __init__.py                199 DEBUG    moin does not support any language client accepts
7666 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
7667 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
7668 session.py                 303 DEBUG    get_session for sid None
7669 session.py                 318 DEBUG    get_session returns session <MoinSession 6c9866a383d25baaad29a21c41ba4e26fc2dc2fa {}>
7670 __init__.py                481 DEBUG    session started for user None
7671 __init__.py                466 DEBUG    setup_suid returns None, None
7672 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
7673 ------------------------------- Captured stderr --------------------------------
7674 2010-08-14 11:48:14,480 DEBUG MoinMoin:199 moin does not support any language client accepts
7675 2010-08-14 11:48:14,481 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
7676 2010-08-14 11:48:14,481 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
7677 2010-08-14 11:48:14,482 DEBUG MoinMoin.web.session:303 get_session for sid None
7678 2010-08-14 11:48:14,483 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 9bb936eee51745bd19a51272b121f3ad097657af {}>
7679 2010-08-14 11:48:14,494 DEBUG MoinMoin.auth:481 session started for user None
7680 2010-08-14 11:48:14,496 DEBUG MoinMoin.auth:466 setup_suid returns None, None
7681 2010-08-14 11:48:14,497 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
7682 2010-08-14 11:48:14,514 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x3d30518 name:'' valid:0>, setuid = None
7683 2010-08-14 11:48:14,516 DEBUG MoinMoin:199 moin does not support any language client accepts
7684 2010-08-14 11:48:14,517 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
7685 2010-08-14 11:48:14,518 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
7686 2010-08-14 11:48:14,518 DEBUG MoinMoin.web.session:303 get_session for sid None
7687 2010-08-14 11:48:14,519 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 6c9866a383d25baaad29a21c41ba4e26fc2dc2fa {}>
7688 2010-08-14 11:48:14,530 DEBUG MoinMoin.auth:481 session started for user None
7689 2010-08-14 11:48:14,531 DEBUG MoinMoin.auth:466 setup_suid returns None, None
7690 2010-08-14 11:48:14,531 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
7691 ____________ TestCompositeAndLazyConfigGroups.test_backend_acl_deny ____________
7692 
7693 self = <MoinMoin.datastruct.backends._tests.test_lazy_config_groups.TestCompositeAndLazyConfigGroups object at 0x44d8590>
7694 
7695     def test_backend_acl_deny(self):
7696         """
7697             Test if the wiki group backend works with acl code.
7698             Check user which does not have rights.
7699             """
7700         request = self.request
7701     
7702         acl_rights = ["AdminGroup:read,write"]
7703         acl = security.AccessControlList(request.cfg, acl_rights)
7704     
7705 >       assert u"SomeUser" not in request.groups['AdminGroup']
7706 E       AttributeError: 'TestRequest' object has no attribute 'groups'
7707 
7708 MoinMoin/datastruct/backends/_tests/__init__.py:110: AttributeError
7709 --------------------------------- Captured log ---------------------------------
7710 __init__.py                199 DEBUG    moin does not support any language client accepts
7711 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
7712 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
7713 session.py                 303 DEBUG    get_session for sid None
7714 session.py                 318 DEBUG    get_session returns session <MoinSession 9b3227547a28bbc838ef684ef13cfec67ac636c1 {}>
7715 __init__.py                481 DEBUG    session started for user None
7716 __init__.py                466 DEBUG    setup_suid returns None, None
7717 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
7718 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x474d170 name:'' valid:0>, setuid = None
7719 __init__.py                199 DEBUG    moin does not support any language client accepts
7720 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
7721 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
7722 session.py                 303 DEBUG    get_session for sid None
7723 session.py                 318 DEBUG    get_session returns session <MoinSession 7e0071f9bc4306f9d5254dc5aa48b377619b71aa {}>
7724 __init__.py                481 DEBUG    session started for user None
7725 __init__.py                466 DEBUG    setup_suid returns None, None
7726 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
7727 ------------------------------- Captured stderr --------------------------------
7728 2010-08-14 11:48:14,554 DEBUG MoinMoin:199 moin does not support any language client accepts
7729 2010-08-14 11:48:14,555 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
7730 2010-08-14 11:48:14,556 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
7731 2010-08-14 11:48:14,557 DEBUG MoinMoin.web.session:303 get_session for sid None
7732 2010-08-14 11:48:14,557 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 9b3227547a28bbc838ef684ef13cfec67ac636c1 {}>
7733 2010-08-14 11:48:14,568 DEBUG MoinMoin.auth:481 session started for user None
7734 2010-08-14 11:48:14,569 DEBUG MoinMoin.auth:466 setup_suid returns None, None
7735 2010-08-14 11:48:14,569 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
7736 2010-08-14 11:48:14,582 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x474d170 name:'' valid:0>, setuid = None
7737 2010-08-14 11:48:14,584 DEBUG MoinMoin:199 moin does not support any language client accepts
7738 2010-08-14 11:48:14,584 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
7739 2010-08-14 11:48:14,585 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
7740 2010-08-14 11:48:14,586 DEBUG MoinMoin.web.session:303 get_session for sid None
7741 2010-08-14 11:48:14,586 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 7e0071f9bc4306f9d5254dc5aa48b377619b71aa {}>
7742 2010-08-14 11:48:14,597 DEBUG MoinMoin.auth:481 session started for user None
7743 2010-08-14 11:48:14,598 DEBUG MoinMoin.auth:466 setup_suid returns None, None
7744 2010-08-14 11:48:14,599 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
7745 __________ TestCompositeAndLazyConfigGroups.test_backend_acl_with_all __________
7746 
7747 self = <MoinMoin.datastruct.backends._tests.test_lazy_config_groups.TestCompositeAndLazyConfigGroups object at 0x4cd3210>
7748 
7749     def test_backend_acl_with_all(self):
7750         request = self.request
7751     
7752         acl_rights = ["EditorGroup:read,write,admin All:read"]
7753         acl = security.AccessControlList(request.cfg, acl_rights)
7754     
7755         for member in self.expanded_groups[u'EditorGroup']:
7756             for permission in ["read", "write", "admin"]:
7757 >               assert acl.may(request, member, permission)
7758 
7759 MoinMoin/datastruct/backends/_tests/__init__.py:125: 
7760 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
7761 
7762 self = <MoinMoin.security.AccessControlList instance at 0x3075248>
7763 request = <TestRequest 0 bytes [200 OK]>, name = u'Admin1', dowhat = 'read'
7764 
7765     def may(self, request, name, dowhat):
7766         """ May <name> <dowhat>? Returns boolean answer.
7767     
7768                 Note: this just checks THIS ACL, the before/default/after ACL must
7769                       be handled elsewhere, if needed.
7770             """
7771 >       groups = request.groups
7772 E       AttributeError: 'TestRequest' object has no attribute 'groups'
7773 
7774 MoinMoin/security/__init__.py:234: AttributeError
7775 --------------------------------- Captured log ---------------------------------
7776 __init__.py                199 DEBUG    moin does not support any language client accepts
7777 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
7778 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
7779 session.py                 303 DEBUG    get_session for sid None
7780 session.py                 318 DEBUG    get_session returns session <MoinSession 8b8d9af92fadb0d8eec0c8536d2a8804efae8897 {}>
7781 __init__.py                481 DEBUG    session started for user None
7782 __init__.py                466 DEBUG    setup_suid returns None, None
7783 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
7784 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x474d7a0 name:'' valid:0>, setuid = None
7785 __init__.py                199 DEBUG    moin does not support any language client accepts
7786 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
7787 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
7788 session.py                 303 DEBUG    get_session for sid None
7789 session.py                 318 DEBUG    get_session returns session <MoinSession 3f355cd8e11258f07ca8e98204c70699250f435e {}>
7790 __init__.py                481 DEBUG    session started for user None
7791 __init__.py                466 DEBUG    setup_suid returns None, None
7792 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
7793 ------------------------------- Captured stderr --------------------------------
7794 2010-08-14 11:48:14,620 DEBUG MoinMoin:199 moin does not support any language client accepts
7795 2010-08-14 11:48:14,621 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
7796 2010-08-14 11:48:14,621 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
7797 2010-08-14 11:48:14,622 DEBUG MoinMoin.web.session:303 get_session for sid None
7798 2010-08-14 11:48:14,623 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 8b8d9af92fadb0d8eec0c8536d2a8804efae8897 {}>
7799 2010-08-14 11:48:14,633 DEBUG MoinMoin.auth:481 session started for user None
7800 2010-08-14 11:48:14,634 DEBUG MoinMoin.auth:466 setup_suid returns None, None
7801 2010-08-14 11:48:14,635 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
7802 2010-08-14 11:48:14,653 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x474d7a0 name:'' valid:0>, setuid = None
7803 2010-08-14 11:48:14,655 DEBUG MoinMoin:199 moin does not support any language client accepts
7804 2010-08-14 11:48:14,656 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
7805 2010-08-14 11:48:14,656 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
7806 2010-08-14 11:48:14,657 DEBUG MoinMoin.web.session:303 get_session for sid None
7807 2010-08-14 11:48:14,658 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 3f355cd8e11258f07ca8e98204c70699250f435e {}>
7808 2010-08-14 11:48:14,668 DEBUG MoinMoin.auth:481 session started for user None
7809 2010-08-14 11:48:14,669 DEBUG MoinMoin.auth:466 setup_suid returns None, None
7810 2010-08-14 11:48:14,670 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
7811 _____ TestCompositeAndLazyConfigGroups.test_backend_acl_not_existing_group _____
7812 
7813 self = <MoinMoin.datastruct.backends._tests.test_lazy_config_groups.TestCompositeAndLazyConfigGroups object at 0x4cd1dd0>
7814 
7815     def test_backend_acl_not_existing_group(self):
7816         request = self.request
7817 >       assert u'NotExistingGroup' not in request.groups
7818 E       AttributeError: 'TestRequest' object has no attribute 'groups'
7819 
7820 MoinMoin/datastruct/backends/_tests/__init__.py:133: AttributeError
7821 --------------------------------- Captured log ---------------------------------
7822 __init__.py                199 DEBUG    moin does not support any language client accepts
7823 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
7824 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
7825 session.py                 303 DEBUG    get_session for sid None
7826 session.py                 318 DEBUG    get_session returns session <MoinSession 16645cadba0c1565d421404809aad1dbd96a5026 {}>
7827 __init__.py                481 DEBUG    session started for user None
7828 __init__.py                466 DEBUG    setup_suid returns None, None
7829 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
7830 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x3fd2368 name:'' valid:0>, setuid = None
7831 __init__.py                199 DEBUG    moin does not support any language client accepts
7832 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
7833 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
7834 session.py                 303 DEBUG    get_session for sid None
7835 session.py                 318 DEBUG    get_session returns session <MoinSession 421ab7eb7a6b16c5ae9137a7cc076fb7689cd6f9 {}>
7836 __init__.py                481 DEBUG    session started for user None
7837 __init__.py                466 DEBUG    setup_suid returns None, None
7838 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
7839 ------------------------------- Captured stderr --------------------------------
7840 2010-08-14 11:48:14,693 DEBUG MoinMoin:199 moin does not support any language client accepts
7841 2010-08-14 11:48:14,694 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
7842 2010-08-14 11:48:14,694 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
7843 2010-08-14 11:48:14,695 DEBUG MoinMoin.web.session:303 get_session for sid None
7844 2010-08-14 11:48:14,696 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 16645cadba0c1565d421404809aad1dbd96a5026 {}>
7845 2010-08-14 11:48:14,706 DEBUG MoinMoin.auth:481 session started for user None
7846 2010-08-14 11:48:14,707 DEBUG MoinMoin.auth:466 setup_suid returns None, None
7847 2010-08-14 11:48:14,708 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
7848 2010-08-14 11:48:14,720 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x3fd2368 name:'' valid:0>, setuid = None
7849 2010-08-14 11:48:14,721 DEBUG MoinMoin:199 moin does not support any language client accepts
7850 2010-08-14 11:48:14,722 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
7851 2010-08-14 11:48:14,723 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
7852 2010-08-14 11:48:14,723 DEBUG MoinMoin.web.session:303 get_session for sid None
7853 2010-08-14 11:48:14,724 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 421ab7eb7a6b16c5ae9137a7cc076fb7689cd6f9 {}>
7854 2010-08-14 11:48:14,735 DEBUG MoinMoin.auth:481 session started for user None
7855 2010-08-14 11:48:14,736 DEBUG MoinMoin.auth:466 setup_suid returns None, None
7856 2010-08-14 11:48:14,737 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
7857 ___________________________ TestItem.testNonExistent ___________________________
7858 
7859 self = <test_Item.TestItem instance at 0x5b085a8>
7860 
7861     def testNonExistent(self):
7862 >       item = Item.create(self.request, 'DoesNotExist')
7863 
7864 MoinMoin/items/_tests/test_Item.py:19: 
7865 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
7866 
7867 cls = <class 'MoinMoin.items.Item'>, request = <TestRequest 0 bytes [200 OK]>
7868 name = 'DoesNotExist', mimetype = 'application/x-nonexistent', rev_no = -1
7869 item = None
7870 
7871     @classmethod
7872     def create(cls, request, name=u'', mimetype=None, rev_no=None, item=None):
7873         if rev_no is None:
7874             rev_no = -1
7875         if mimetype is None:
7876             mimetype = 'application/x-nonexistent'
7877     
7878         try:
7879             if item is None:
7880 >               item = request.storage.get_item(name)
7881 E               AttributeError: 'TestRequest' object has no attribute 'storage'
7882 
7883 MoinMoin/items/__init__.py:110: AttributeError
7884 --------------------------------- Captured log ---------------------------------
7885 __init__.py                199 DEBUG    moin does not support any language client accepts
7886 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
7887 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
7888 session.py                 303 DEBUG    get_session for sid None
7889 session.py                 318 DEBUG    get_session returns session <MoinSession cebb53623d05c81d58f648d402261fbb3428b771 {}>
7890 __init__.py                481 DEBUG    session started for user None
7891 __init__.py                466 DEBUG    setup_suid returns None, None
7892 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
7893 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x4b887a0 name:'' valid:0>, setuid = None
7894 __init__.py                199 DEBUG    moin does not support any language client accepts
7895 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
7896 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
7897 session.py                 303 DEBUG    get_session for sid None
7898 session.py                 318 DEBUG    get_session returns session <MoinSession eae7f453220a4bd4d82f9f213d79ff7465792ce5 {}>
7899 __init__.py                481 DEBUG    session started for user None
7900 __init__.py                466 DEBUG    setup_suid returns None, None
7901 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
7902 __init__.py                199 DEBUG    moin does not support any language client accepts
7903 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
7904 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
7905 session.py                 303 DEBUG    get_session for sid None
7906 session.py                 318 DEBUG    get_session returns session <MoinSession a407ef37eb8f9d7f4c7520f4239e7374484ed2a2 {}>
7907 __init__.py                481 DEBUG    session started for user None
7908 __init__.py                466 DEBUG    setup_suid returns None, None
7909 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
7910 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x3931f38 name:'' valid:0>, setuid = None
7911 __init__.py                199 DEBUG    moin does not support any language client accepts
7912 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
7913 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
7914 session.py                 303 DEBUG    get_session for sid None
7915 session.py                 318 DEBUG    get_session returns session <MoinSession 1d97753015422495fbe40b0abd580c94c918ad13 {}>
7916 __init__.py                481 DEBUG    session started for user None
7917 __init__.py                466 DEBUG    setup_suid returns None, None
7918 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
7919 ------------------------------- Captured stderr --------------------------------
7920 2010-08-14 11:48:16,002 DEBUG MoinMoin:199 moin does not support any language client accepts
7921 2010-08-14 11:48:16,003 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
7922 2010-08-14 11:48:16,004 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
7923 2010-08-14 11:48:16,004 DEBUG MoinMoin.web.session:303 get_session for sid None
7924 2010-08-14 11:48:16,005 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession cebb53623d05c81d58f648d402261fbb3428b771 {}>
7925 2010-08-14 11:48:16,017 DEBUG MoinMoin.auth:481 session started for user None
7926 2010-08-14 11:48:16,018 DEBUG MoinMoin.auth:466 setup_suid returns None, None
7927 2010-08-14 11:48:16,019 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
7928 2010-08-14 11:48:16,031 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x4b887a0 name:'' valid:0>, setuid = None
7929 2010-08-14 11:48:16,033 DEBUG MoinMoin:199 moin does not support any language client accepts
7930 2010-08-14 11:48:16,034 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
7931 2010-08-14 11:48:16,035 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
7932 2010-08-14 11:48:16,036 DEBUG MoinMoin.web.session:303 get_session for sid None
7933 2010-08-14 11:48:16,037 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession eae7f453220a4bd4d82f9f213d79ff7465792ce5 {}>
7934 2010-08-14 11:48:16,047 DEBUG MoinMoin.auth:481 session started for user None
7935 2010-08-14 11:48:16,048 DEBUG MoinMoin.auth:466 setup_suid returns None, None
7936 2010-08-14 11:48:16,049 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
7937 2010-08-14 11:48:16,062 DEBUG MoinMoin:199 moin does not support any language client accepts
7938 2010-08-14 11:48:16,063 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
7939 2010-08-14 11:48:16,064 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
7940 2010-08-14 11:48:16,065 DEBUG MoinMoin.web.session:303 get_session for sid None
7941 2010-08-14 11:48:16,066 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession a407ef37eb8f9d7f4c7520f4239e7374484ed2a2 {}>
7942 2010-08-14 11:48:16,076 DEBUG MoinMoin.auth:481 session started for user None
7943 2010-08-14 11:48:16,077 DEBUG MoinMoin.auth:466 setup_suid returns None, None
7944 2010-08-14 11:48:16,078 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
7945 2010-08-14 11:48:16,090 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x3931f38 name:'' valid:0>, setuid = None
7946 2010-08-14 11:48:16,092 DEBUG MoinMoin:199 moin does not support any language client accepts
7947 2010-08-14 11:48:16,093 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
7948 2010-08-14 11:48:16,094 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
7949 2010-08-14 11:48:16,095 DEBUG MoinMoin.web.session:303 get_session for sid None
7950 2010-08-14 11:48:16,096 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 1d97753015422495fbe40b0abd580c94c918ad13 {}>
7951 2010-08-14 11:48:16,114 DEBUG MoinMoin.auth:481 session started for user None
7952 2010-08-14 11:48:16,116 DEBUG MoinMoin.auth:466 setup_suid returns None, None
7953 2010-08-14 11:48:16,117 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
7954 ___________________________ TestItem.testClassFinder ___________________________
7955 
7956 self = <test_Item.TestItem instance at 0x55b1c68>
7957 
7958     def testClassFinder(self):
7959         for mimetype, ExpectedClass in [
7960                 ('application/x-foobar', Binary),
7961                 ('text/plain', Text),
7962                 ('image/tiff', Image),
7963                 ('image/png', TransformableBitmapImage),
7964             ]:
7965 >           item = Item.create(self.request, 'foo', mimetype=mimetype)
7966 
7967 MoinMoin/items/_tests/test_Item.py:32: 
7968 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
7969 
7970 cls = <class 'MoinMoin.items.Item'>, request = <TestRequest 0 bytes [200 OK]>
7971 name = 'foo', mimetype = 'application/x-foobar', rev_no = -1, item = None
7972 
7973     @classmethod
7974     def create(cls, request, name=u'', mimetype=None, rev_no=None, item=None):
7975         if rev_no is None:
7976             rev_no = -1
7977         if mimetype is None:
7978             mimetype = 'application/x-nonexistent'
7979     
7980         try:
7981             if item is None:
7982 >               item = request.storage.get_item(name)
7983 E               AttributeError: 'TestRequest' object has no attribute 'storage'
7984 
7985 MoinMoin/items/__init__.py:110: AttributeError
7986 --------------------------------- Captured log ---------------------------------
7987 __init__.py                199 DEBUG    moin does not support any language client accepts
7988 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
7989 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
7990 session.py                 303 DEBUG    get_session for sid None
7991 session.py                 318 DEBUG    get_session returns session <MoinSession 9a77f5913b2f377724594a6925b593c08ac5cb1e {}>
7992 __init__.py                481 DEBUG    session started for user None
7993 __init__.py                466 DEBUG    setup_suid returns None, None
7994 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
7995 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x4cbe128 name:'' valid:0>, setuid = None
7996 __init__.py                199 DEBUG    moin does not support any language client accepts
7997 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
7998 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
7999 session.py                 303 DEBUG    get_session for sid None
8000 session.py                 318 DEBUG    get_session returns session <MoinSession d7d74f0b77bf267611b7dbafcef0cc669a4488b0 {}>
8001 __init__.py                481 DEBUG    session started for user None
8002 __init__.py                466 DEBUG    setup_suid returns None, None
8003 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
8004 ------------------------------- Captured stderr --------------------------------
8005 2010-08-14 11:48:16,143 DEBUG MoinMoin:199 moin does not support any language client accepts
8006 2010-08-14 11:48:16,145 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
8007 2010-08-14 11:48:16,146 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
8008 2010-08-14 11:48:16,147 DEBUG MoinMoin.web.session:303 get_session for sid None
8009 2010-08-14 11:48:16,148 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 9a77f5913b2f377724594a6925b593c08ac5cb1e {}>
8010 2010-08-14 11:48:16,158 DEBUG MoinMoin.auth:481 session started for user None
8011 2010-08-14 11:48:16,159 DEBUG MoinMoin.auth:466 setup_suid returns None, None
8012 2010-08-14 11:48:16,160 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
8013 2010-08-14 11:48:16,172 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x4cbe128 name:'' valid:0>, setuid = None
8014 2010-08-14 11:48:16,174 DEBUG MoinMoin:199 moin does not support any language client accepts
8015 2010-08-14 11:48:16,175 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
8016 2010-08-14 11:48:16,176 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
8017 2010-08-14 11:48:16,177 DEBUG MoinMoin.web.session:303 get_session for sid None
8018 2010-08-14 11:48:16,178 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession d7d74f0b77bf267611b7dbafcef0cc669a4488b0 {}>
8019 2010-08-14 11:48:16,189 DEBUG MoinMoin.auth:481 session started for user None
8020 2010-08-14 11:48:16,190 DEBUG MoinMoin.auth:466 setup_suid returns None, None
8021 2010-08-14 11:48:16,191 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
8022 ______________________________ TestItem.testCRUD _______________________________
8023 
8024 self = <test_Item.TestItem instance at 0x5248950>
8025 
8026     def testCRUD(self):
8027         name = u'NewItem'
8028         mimetype = 'text/plain'
8029         data = 'foobar'
8030         meta = dict(foo='bar')
8031         comment = u'saved it'
8032 >       become_trusted(self.request)
8033 
8034 MoinMoin/items/_tests/test_Item.py:41: 
8035 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
8036 
8037 request = <TestRequest 0 bytes [200 OK]>, username = u'TrustedUser'
8038 
8039     def become_trusted(request, username=u"TrustedUser"):
8040         """ modify request.user to make the user valid and trusted, so it is in acl group Trusted """
8041 >       become_valid(request, username)
8042 
8043 MoinMoin/_tests/__init__.py:37: 
8044 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
8045 
8046 request = <TestRequest 0 bytes [200 OK]>, username = u'TrustedUser'
8047 
8048     def become_valid(request, username=u"ValidUser"):
8049         """ modify request.user to make the user valid.
8050             Note that a valid user will only be in ACL special group "Known", if
8051             we have a user profile for this user as the ACL system will check if
8052             there is a userid for this username.
8053             Thus, for testing purposes (e.g. if you need delete rights), it is
8054             easier to use become_trusted().
8055         """
8056 >       request.user.name = username
8057 E       AttributeError: 'TestRequest' object has no attribute 'user'
8058 
8059 MoinMoin/_tests/__init__.py:30: AttributeError
8060 --------------------------------- Captured log ---------------------------------
8061 __init__.py                199 DEBUG    moin does not support any language client accepts
8062 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
8063 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
8064 session.py                 303 DEBUG    get_session for sid None
8065 session.py                 318 DEBUG    get_session returns session <MoinSession 0df0bf999ad959773f0094de811309581d620c19 {}>
8066 __init__.py                481 DEBUG    session started for user None
8067 __init__.py                466 DEBUG    setup_suid returns None, None
8068 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
8069 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x544bf80 name:'' valid:0>, setuid = None
8070 __init__.py                199 DEBUG    moin does not support any language client accepts
8071 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
8072 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
8073 session.py                 303 DEBUG    get_session for sid None
8074 session.py                 318 DEBUG    get_session returns session <MoinSession 8e279fd9d6fb2e17862440da514f67a8a02f7259 {}>
8075 __init__.py                481 DEBUG    session started for user None
8076 __init__.py                466 DEBUG    setup_suid returns None, None
8077 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
8078 ------------------------------- Captured stderr --------------------------------
8079 2010-08-14 11:48:16,214 DEBUG MoinMoin:199 moin does not support any language client accepts
8080 2010-08-14 11:48:16,215 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
8081 2010-08-14 11:48:16,216 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
8082 2010-08-14 11:48:16,217 DEBUG MoinMoin.web.session:303 get_session for sid None
8083 2010-08-14 11:48:16,218 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 0df0bf999ad959773f0094de811309581d620c19 {}>
8084 2010-08-14 11:48:16,229 DEBUG MoinMoin.auth:481 session started for user None
8085 2010-08-14 11:48:16,230 DEBUG MoinMoin.auth:466 setup_suid returns None, None
8086 2010-08-14 11:48:16,231 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
8087 2010-08-14 11:48:16,244 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x544bf80 name:'' valid:0>, setuid = None
8088 2010-08-14 11:48:16,246 DEBUG MoinMoin:199 moin does not support any language client accepts
8089 2010-08-14 11:48:16,247 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
8090 2010-08-14 11:48:16,248 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
8091 2010-08-14 11:48:16,248 DEBUG MoinMoin.web.session:303 get_session for sid None
8092 2010-08-14 11:48:16,249 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 8e279fd9d6fb2e17862440da514f67a8a02f7259 {}>
8093 2010-08-14 11:48:16,269 DEBUG MoinMoin.auth:481 session started for user None
8094 2010-08-14 11:48:16,270 DEBUG MoinMoin.auth:466 setup_suid returns None, None
8095 2010-08-14 11:48:16,271 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
8096 ______________________________ TestItem.testIndex ______________________________
8097 
8098 self = <test_Item.TestItem instance at 0x2cd36c8>
8099 
8100     def testIndex(self):
8101         # create a toplevel and some sub-items
8102         basename = u'Foo'
8103         for name in ['', '/ab', '/cd/ef', '/gh', '/ij/kl', ]:
8104 >           item = Item.create(self.request, basename + name)
8105 
8106 MoinMoin/items/_tests/test_Item.py:85: 
8107 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
8108 
8109 cls = <class 'MoinMoin.items.Item'>, request = <TestRequest 0 bytes [200 OK]>
8110 name = u'Foo', mimetype = 'application/x-nonexistent', rev_no = -1, item = None
8111 
8112     @classmethod
8113     def create(cls, request, name=u'', mimetype=None, rev_no=None, item=None):
8114         if rev_no is None:
8115             rev_no = -1
8116         if mimetype is None:
8117             mimetype = 'application/x-nonexistent'
8118     
8119         try:
8120             if item is None:
8121 >               item = request.storage.get_item(name)
8122 E               AttributeError: 'TestRequest' object has no attribute 'storage'
8123 
8124 MoinMoin/items/__init__.py:110: AttributeError
8125 --------------------------------- Captured log ---------------------------------
8126 __init__.py                199 DEBUG    moin does not support any language client accepts
8127 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
8128 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
8129 session.py                 303 DEBUG    get_session for sid None
8130 session.py                 318 DEBUG    get_session returns session <MoinSession 7d437c6c172361227a02dfe8b0c09f1624f3b803 {}>
8131 __init__.py                481 DEBUG    session started for user None
8132 __init__.py                466 DEBUG    setup_suid returns None, None
8133 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
8134 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x5362638 name:'' valid:0>, setuid = None
8135 __init__.py                199 DEBUG    moin does not support any language client accepts
8136 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
8137 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
8138 session.py                 303 DEBUG    get_session for sid None
8139 session.py                 318 DEBUG    get_session returns session <MoinSession c36b9c2c96c4ac2e0ddfa071e279a413909ed646 {}>
8140 __init__.py                481 DEBUG    session started for user None
8141 __init__.py                466 DEBUG    setup_suid returns None, None
8142 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
8143 ------------------------------- Captured stderr --------------------------------
8144 2010-08-14 11:48:16,293 DEBUG MoinMoin:199 moin does not support any language client accepts
8145 2010-08-14 11:48:16,294 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
8146 2010-08-14 11:48:16,295 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
8147 2010-08-14 11:48:16,296 DEBUG MoinMoin.web.session:303 get_session for sid None
8148 2010-08-14 11:48:16,297 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 7d437c6c172361227a02dfe8b0c09f1624f3b803 {}>
8149 2010-08-14 11:48:16,308 DEBUG MoinMoin.auth:481 session started for user None
8150 2010-08-14 11:48:16,309 DEBUG MoinMoin.auth:466 setup_suid returns None, None
8151 2010-08-14 11:48:16,310 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
8152 2010-08-14 11:48:16,322 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x5362638 name:'' valid:0>, setuid = None
8153 2010-08-14 11:48:16,324 DEBUG MoinMoin:199 moin does not support any language client accepts
8154 2010-08-14 11:48:16,325 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
8155 2010-08-14 11:48:16,329 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
8156 2010-08-14 11:48:16,330 DEBUG MoinMoin.web.session:303 get_session for sid None
8157 2010-08-14 11:48:16,331 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession c36b9c2c96c4ac2e0ddfa071e279a413909ed646 {}>
8158 2010-08-14 11:48:16,341 DEBUG MoinMoin.auth:481 session started for user None
8159 2010-08-14 11:48:16,342 DEBUG MoinMoin.auth:466 setup_suid returns None, None
8160 2010-08-14 11:48:16,343 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
8161 ___________________ TestTarItems.testCreateContainerRevision ___________________
8162 
8163 self = <test_Item.TestTarItems instance at 0x3947ab8>
8164 
8165     def testCreateContainerRevision(self):
8166         """
8167             creates a container and tests the content saved to the container
8168             """
8169         request = self.request
8170         item_name = u'ContainerItem1'
8171 >       item = Item.create(request, item_name, mimetype='application/x-tar')
8172 
8173 MoinMoin/items/_tests/test_Item.py:112: 
8174 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
8175 
8176 cls = <class 'MoinMoin.items.Item'>, request = <TestRequest 0 bytes [200 OK]>
8177 name = u'ContainerItem1', mimetype = 'application/x-tar', rev_no = -1
8178 item = None
8179 
8180     @classmethod
8181     def create(cls, request, name=u'', mimetype=None, rev_no=None, item=None):
8182         if rev_no is None:
8183             rev_no = -1
8184         if mimetype is None:
8185             mimetype = 'application/x-nonexistent'
8186     
8187         try:
8188             if item is None:
8189 >               item = request.storage.get_item(name)
8190 E               AttributeError: 'TestRequest' object has no attribute 'storage'
8191 
8192 MoinMoin/items/__init__.py:110: AttributeError
8193 --------------------------------- Captured log ---------------------------------
8194 __init__.py                199 DEBUG    moin does not support any language client accepts
8195 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
8196 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
8197 session.py                 303 DEBUG    get_session for sid None
8198 session.py                 318 DEBUG    get_session returns session <MoinSession b96510fe063cb47268b5dd368d9abb4fef587903 {}>
8199 __init__.py                481 DEBUG    session started for user None
8200 __init__.py                466 DEBUG    setup_suid returns None, None
8201 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
8202 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x41e7320 name:'' valid:0>, setuid = None
8203 __init__.py                199 DEBUG    moin does not support any language client accepts
8204 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
8205 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
8206 session.py                 303 DEBUG    get_session for sid None
8207 session.py                 318 DEBUG    get_session returns session <MoinSession b7a961b3839cba90512dd52979dc706be3392097 {}>
8208 __init__.py                481 DEBUG    session started for user None
8209 __init__.py                466 DEBUG    setup_suid returns None, None
8210 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
8211 __init__.py                199 DEBUG    moin does not support any language client accepts
8212 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
8213 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
8214 session.py                 303 DEBUG    get_session for sid None
8215 session.py                 318 DEBUG    get_session returns session <MoinSession 6556a56fbb9f53011953af4d54297a50618b79ff {}>
8216 __init__.py                481 DEBUG    session started for user None
8217 __init__.py                466 DEBUG    setup_suid returns None, None
8218 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
8219 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x4e38b00 name:'' valid:0>, setuid = None
8220 __init__.py                199 DEBUG    moin does not support any language client accepts
8221 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
8222 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
8223 session.py                 303 DEBUG    get_session for sid None
8224 session.py                 318 DEBUG    get_session returns session <MoinSession 67f6864728451917080511f23c6ae8a3a72a9fbf {}>
8225 __init__.py                481 DEBUG    session started for user None
8226 __init__.py                466 DEBUG    setup_suid returns None, None
8227 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
8228 ------------------------------- Captured stderr --------------------------------
8229 2010-08-14 11:48:16,392 DEBUG MoinMoin:199 moin does not support any language client accepts
8230 2010-08-14 11:48:16,393 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
8231 2010-08-14 11:48:16,394 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
8232 2010-08-14 11:48:16,395 DEBUG MoinMoin.web.session:303 get_session for sid None
8233 2010-08-14 11:48:16,396 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession b96510fe063cb47268b5dd368d9abb4fef587903 {}>
8234 2010-08-14 11:48:16,407 DEBUG MoinMoin.auth:481 session started for user None
8235 2010-08-14 11:48:16,408 DEBUG MoinMoin.auth:466 setup_suid returns None, None
8236 2010-08-14 11:48:16,409 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
8237 2010-08-14 11:48:16,422 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x41e7320 name:'' valid:0>, setuid = None
8238 2010-08-14 11:48:16,424 DEBUG MoinMoin:199 moin does not support any language client accepts
8239 2010-08-14 11:48:16,425 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
8240 2010-08-14 11:48:16,425 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
8241 2010-08-14 11:48:16,426 DEBUG MoinMoin.web.session:303 get_session for sid None
8242 2010-08-14 11:48:16,427 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession b7a961b3839cba90512dd52979dc706be3392097 {}>
8243 2010-08-14 11:48:16,438 DEBUG MoinMoin.auth:481 session started for user None
8244 2010-08-14 11:48:16,439 DEBUG MoinMoin.auth:466 setup_suid returns None, None
8245 2010-08-14 11:48:16,440 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
8246 2010-08-14 11:48:16,460 DEBUG MoinMoin:199 moin does not support any language client accepts
8247 2010-08-14 11:48:16,461 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
8248 2010-08-14 11:48:16,462 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
8249 2010-08-14 11:48:16,463 DEBUG MoinMoin.web.session:303 get_session for sid None
8250 2010-08-14 11:48:16,464 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 6556a56fbb9f53011953af4d54297a50618b79ff {}>
8251 2010-08-14 11:48:16,475 DEBUG MoinMoin.auth:481 session started for user None
8252 2010-08-14 11:48:16,476 DEBUG MoinMoin.auth:466 setup_suid returns None, None
8253 2010-08-14 11:48:16,477 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
8254 2010-08-14 11:48:16,488 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x4e38b00 name:'' valid:0>, setuid = None
8255 2010-08-14 11:48:16,490 DEBUG MoinMoin:199 moin does not support any language client accepts
8256 2010-08-14 11:48:16,491 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
8257 2010-08-14 11:48:16,492 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
8258 2010-08-14 11:48:16,493 DEBUG MoinMoin.web.session:303 get_session for sid None
8259 2010-08-14 11:48:16,494 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 67f6864728451917080511f23c6ae8a3a72a9fbf {}>
8260 2010-08-14 11:48:16,506 DEBUG MoinMoin.auth:481 session started for user None
8261 2010-08-14 11:48:16,507 DEBUG MoinMoin.auth:466 setup_suid returns None, None
8262 2010-08-14 11:48:16,508 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
8263 _______________________ TestTarItems.testRevisionUpdate ________________________
8264 
8265 self = <test_Item.TestTarItems instance at 0x41b5200>
8266 
8267     def testRevisionUpdate(self):
8268         """
8269             creates two revisions of a container item
8270             """
8271         request = self.request
8272         item_name = u'ContainerItem2'
8273 >       item = Item.create(request, item_name, mimetype='application/x-tar')
8274 
8275 MoinMoin/items/_tests/test_Item.py:130: 
8276 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
8277 
8278 cls = <class 'MoinMoin.items.Item'>, request = <TestRequest 0 bytes [200 OK]>
8279 name = u'ContainerItem2', mimetype = 'application/x-tar', rev_no = -1
8280 item = None
8281 
8282     @classmethod
8283     def create(cls, request, name=u'', mimetype=None, rev_no=None, item=None):
8284         if rev_no is None:
8285             rev_no = -1
8286         if mimetype is None:
8287             mimetype = 'application/x-nonexistent'
8288     
8289         try:
8290             if item is None:
8291 >               item = request.storage.get_item(name)
8292 E               AttributeError: 'TestRequest' object has no attribute 'storage'
8293 
8294 MoinMoin/items/__init__.py:110: AttributeError
8295 --------------------------------- Captured log ---------------------------------
8296 __init__.py                199 DEBUG    moin does not support any language client accepts
8297 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
8298 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
8299 session.py                 303 DEBUG    get_session for sid None
8300 session.py                 318 DEBUG    get_session returns session <MoinSession 13b7124c4be50d319b3c9e1d2bdb31db5398b399 {}>
8301 __init__.py                481 DEBUG    session started for user None
8302 __init__.py                466 DEBUG    setup_suid returns None, None
8303 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
8304 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x4645ef0 name:'' valid:0>, setuid = None
8305 __init__.py                199 DEBUG    moin does not support any language client accepts
8306 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
8307 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
8308 session.py                 303 DEBUG    get_session for sid None
8309 session.py                 318 DEBUG    get_session returns session <MoinSession 4310c0f44936a7fba339dd086bd54130b66dd165 {}>
8310 __init__.py                481 DEBUG    session started for user None
8311 __init__.py                466 DEBUG    setup_suid returns None, None
8312 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
8313 ------------------------------- Captured stderr --------------------------------
8314 2010-08-14 11:48:16,531 DEBUG MoinMoin:199 moin does not support any language client accepts
8315 2010-08-14 11:48:16,532 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
8316 2010-08-14 11:48:16,532 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
8317 2010-08-14 11:48:16,533 DEBUG MoinMoin.web.session:303 get_session for sid None
8318 2010-08-14 11:48:16,534 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 13b7124c4be50d319b3c9e1d2bdb31db5398b399 {}>
8319 2010-08-14 11:48:16,546 DEBUG MoinMoin.auth:481 session started for user None
8320 2010-08-14 11:48:16,547 DEBUG MoinMoin.auth:466 setup_suid returns None, None
8321 2010-08-14 11:48:16,548 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
8322 2010-08-14 11:48:16,560 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x4645ef0 name:'' valid:0>, setuid = None
8323 2010-08-14 11:48:16,561 DEBUG MoinMoin:199 moin does not support any language client accepts
8324 2010-08-14 11:48:16,562 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
8325 2010-08-14 11:48:16,563 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
8326 2010-08-14 11:48:16,564 DEBUG MoinMoin.web.session:303 get_session for sid None
8327 2010-08-14 11:48:16,565 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 4310c0f44936a7fba339dd086bd54130b66dd165 {}>
8328 2010-08-14 11:48:16,576 DEBUG MoinMoin.auth:481 session started for user None
8329 2010-08-14 11:48:16,577 DEBUG MoinMoin.auth:466 setup_suid returns None, None
8330 2010-08-14 11:48:16,578 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
8331 _____________________ TestSerializeRev.test_serialize_rev ______________________
8332 
8333 self = <MoinMoin.storage._tests.test_serialization.TestSerializeRev object at 0x3c00c90>
8334 
8335     def test_serialize_rev(self):
8336         params = (u'foo1', 0, dict(m1=u"m1"), 'bar1')
8337 >       item = update_item(self.request, *params)
8338 
8339 MoinMoin/storage/_tests/test_serialization.py:45: 
8340 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
8341 
8342 request = <TestRequest 0 bytes [200 OK]>, name = u'foo1', revno = 0
8343 meta = {'m1': u'm1'}, data = 'bar1'
8344 
8345     def update_item(request, name, revno, meta, data):
8346 >       become_trusted(request)
8347 
8348 MoinMoin/storage/_tests/test_serialization.py:24: 
8349 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
8350 
8351 request = <TestRequest 0 bytes [200 OK]>, username = u'TrustedUser'
8352 
8353     def become_trusted(request, username=u"TrustedUser"):
8354         """ modify request.user to make the user valid and trusted, so it is in acl group Trusted """
8355 >       become_valid(request, username)
8356 
8357 MoinMoin/_tests/__init__.py:37: 
8358 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
8359 
8360 request = <TestRequest 0 bytes [200 OK]>, username = u'TrustedUser'
8361 
8362     def become_valid(request, username=u"ValidUser"):
8363         """ modify request.user to make the user valid.
8364             Note that a valid user will only be in ACL special group "Known", if
8365             we have a user profile for this user as the ACL system will check if
8366             there is a userid for this username.
8367             Thus, for testing purposes (e.g. if you need delete rights), it is
8368             easier to use become_trusted().
8369         """
8370 >       request.user.name = username
8371 E       AttributeError: 'TestRequest' object has no attribute 'user'
8372 
8373 MoinMoin/_tests/__init__.py:30: AttributeError
8374 --------------------------------- Captured log ---------------------------------
8375 __init__.py                199 DEBUG    moin does not support any language client accepts
8376 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
8377 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
8378 session.py                 303 DEBUG    get_session for sid None
8379 session.py                 318 DEBUG    get_session returns session <MoinSession dc115be82c7f449eac55abb15e1bdd0e0b0b8b01 {}>
8380 __init__.py                481 DEBUG    session started for user None
8381 __init__.py                466 DEBUG    setup_suid returns None, None
8382 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
8383 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x57f8518 name:'' valid:0>, setuid = None
8384 __init__.py                199 DEBUG    moin does not support any language client accepts
8385 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
8386 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
8387 session.py                 303 DEBUG    get_session for sid None
8388 session.py                 318 DEBUG    get_session returns session <MoinSession 014fecaf891dfa55633c00d9ae6f23b9c112c34a {}>
8389 __init__.py                481 DEBUG    session started for user None
8390 __init__.py                466 DEBUG    setup_suid returns None, None
8391 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
8392 __init__.py                199 DEBUG    moin does not support any language client accepts
8393 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
8394 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
8395 session.py                 303 DEBUG    get_session for sid None
8396 session.py                 318 DEBUG    get_session returns session <MoinSession ac8b5a983e3e102b1374b774756a9c90b7029b72 {}>
8397 __init__.py                481 DEBUG    session started for user None
8398 __init__.py                466 DEBUG    setup_suid returns None, None
8399 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
8400 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x5ce4830 name:'' valid:0>, setuid = None
8401 __init__.py                199 DEBUG    moin does not support any language client accepts
8402 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
8403 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
8404 session.py                 303 DEBUG    get_session for sid None
8405 session.py                 318 DEBUG    get_session returns session <MoinSession e2ed804ea464492f1696cb3ebf8bf32042253e17 {}>
8406 __init__.py                481 DEBUG    session started for user None
8407 __init__.py                466 DEBUG    setup_suid returns None, None
8408 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
8409 ------------------------------- Captured stderr --------------------------------
8410 2010-08-14 11:48:42,159 DEBUG MoinMoin:199 moin does not support any language client accepts
8411 2010-08-14 11:48:42,160 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
8412 2010-08-14 11:48:42,161 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
8413 2010-08-14 11:48:42,162 DEBUG MoinMoin.web.session:303 get_session for sid None
8414 2010-08-14 11:48:42,163 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession dc115be82c7f449eac55abb15e1bdd0e0b0b8b01 {}>
8415 2010-08-14 11:48:42,176 DEBUG MoinMoin.auth:481 session started for user None
8416 2010-08-14 11:48:42,177 DEBUG MoinMoin.auth:466 setup_suid returns None, None
8417 2010-08-14 11:48:42,178 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
8418 2010-08-14 11:48:42,190 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x57f8518 name:'' valid:0>, setuid = None
8419 2010-08-14 11:48:42,192 DEBUG MoinMoin:199 moin does not support any language client accepts
8420 2010-08-14 11:48:42,193 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
8421 2010-08-14 11:48:42,194 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
8422 2010-08-14 11:48:42,195 DEBUG MoinMoin.web.session:303 get_session for sid None
8423 2010-08-14 11:48:42,196 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 014fecaf891dfa55633c00d9ae6f23b9c112c34a {}>
8424 2010-08-14 11:48:42,207 DEBUG MoinMoin.auth:481 session started for user None
8425 2010-08-14 11:48:42,208 DEBUG MoinMoin.auth:466 setup_suid returns None, None
8426 2010-08-14 11:48:42,209 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
8427 2010-08-14 11:48:42,221 DEBUG MoinMoin:199 moin does not support any language client accepts
8428 2010-08-14 11:48:42,222 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
8429 2010-08-14 11:48:42,223 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
8430 2010-08-14 11:48:42,224 DEBUG MoinMoin.web.session:303 get_session for sid None
8431 2010-08-14 11:48:42,226 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession ac8b5a983e3e102b1374b774756a9c90b7029b72 {}>
8432 2010-08-14 11:48:42,237 DEBUG MoinMoin.auth:481 session started for user None
8433 2010-08-14 11:48:42,238 DEBUG MoinMoin.auth:466 setup_suid returns None, None
8434 2010-08-14 11:48:42,239 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
8435 2010-08-14 11:48:42,251 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x5ce4830 name:'' valid:0>, setuid = None
8436 2010-08-14 11:48:42,254 DEBUG MoinMoin:199 moin does not support any language client accepts
8437 2010-08-14 11:48:42,255 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
8438 2010-08-14 11:48:42,256 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
8439 2010-08-14 11:48:42,257 DEBUG MoinMoin.web.session:303 get_session for sid None
8440 2010-08-14 11:48:42,258 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession e2ed804ea464492f1696cb3ebf8bf32042253e17 {}>
8441 2010-08-14 11:48:42,278 DEBUG MoinMoin.auth:481 session started for user None
8442 2010-08-14 11:48:42,279 DEBUG MoinMoin.auth:466 setup_suid returns None, None
8443 2010-08-14 11:48:42,280 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
8444 ____________________ TestSerializeItem.test_serialize_item _____________________
8445 
8446 self = <MoinMoin.storage._tests.test_serialization.TestSerializeItem object at 0x3c00090>
8447 
8448     def test_serialize_item(self):
8449         testparams = [
8450             (u'foo2', 0, dict(m1=u"m1r0"), 'bar2'),
8451             (u'foo2', 1, dict(m1=u"m1r1"), 'baz2'),
8452         ]
8453         for params in testparams:
8454 >           item = update_item(self.request, *params)
8455 
8456 MoinMoin/storage/_tests/test_serialization.py:69: 
8457 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
8458 
8459 request = <TestRequest 0 bytes [200 OK]>, name = u'foo2', revno = 0
8460 meta = {'m1': u'm1r0'}, data = 'bar2'
8461 
8462     def update_item(request, name, revno, meta, data):
8463 >       become_trusted(request)
8464 
8465 MoinMoin/storage/_tests/test_serialization.py:24: 
8466 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
8467 
8468 request = <TestRequest 0 bytes [200 OK]>, username = u'TrustedUser'
8469 
8470     def become_trusted(request, username=u"TrustedUser"):
8471         """ modify request.user to make the user valid and trusted, so it is in acl group Trusted """
8472 >       become_valid(request, username)
8473 
8474 MoinMoin/_tests/__init__.py:37: 
8475 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
8476 
8477 request = <TestRequest 0 bytes [200 OK]>, username = u'TrustedUser'
8478 
8479     def become_valid(request, username=u"ValidUser"):
8480         """ modify request.user to make the user valid.
8481             Note that a valid user will only be in ACL special group "Known", if
8482             we have a user profile for this user as the ACL system will check if
8483             there is a userid for this username.
8484             Thus, for testing purposes (e.g. if you need delete rights), it is
8485             easier to use become_trusted().
8486         """
8487 >       request.user.name = username
8488 E       AttributeError: 'TestRequest' object has no attribute 'user'
8489 
8490 MoinMoin/_tests/__init__.py:30: AttributeError
8491 --------------------------------- Captured log ---------------------------------
8492 __init__.py                199 DEBUG    moin does not support any language client accepts
8493 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
8494 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
8495 session.py                 303 DEBUG    get_session for sid None
8496 session.py                 318 DEBUG    get_session returns session <MoinSession 2a2a4770b896edf68a3af931150ae2fc40561366 {}>
8497 __init__.py                481 DEBUG    session started for user None
8498 __init__.py                466 DEBUG    setup_suid returns None, None
8499 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
8500 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x5cafef0 name:'' valid:0>, setuid = None
8501 __init__.py                199 DEBUG    moin does not support any language client accepts
8502 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
8503 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
8504 session.py                 303 DEBUG    get_session for sid None
8505 session.py                 318 DEBUG    get_session returns session <MoinSession ca00a12c8367a6de920f0b8196dabfc9d0a19dc8 {}>
8506 __init__.py                481 DEBUG    session started for user None
8507 __init__.py                466 DEBUG    setup_suid returns None, None
8508 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
8509 __init__.py                199 DEBUG    moin does not support any language client accepts
8510 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
8511 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
8512 session.py                 303 DEBUG    get_session for sid None
8513 session.py                 318 DEBUG    get_session returns session <MoinSession 0173a2e4ce1fd4ca3a7007876ce0834e5ffac76a {}>
8514 __init__.py                481 DEBUG    session started for user None
8515 __init__.py                466 DEBUG    setup_suid returns None, None
8516 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
8517 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x3c01b48 name:'' valid:0>, setuid = None
8518 __init__.py                199 DEBUG    moin does not support any language client accepts
8519 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
8520 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
8521 session.py                 303 DEBUG    get_session for sid None
8522 session.py                 318 DEBUG    get_session returns session <MoinSession dc8d5bb10b87401c0aa63c72c6c9bd7e76363258 {}>
8523 __init__.py                481 DEBUG    session started for user None
8524 __init__.py                466 DEBUG    setup_suid returns None, None
8525 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
8526 ------------------------------- Captured stderr --------------------------------
8527 2010-08-14 11:48:42,309 DEBUG MoinMoin:199 moin does not support any language client accepts
8528 2010-08-14 11:48:42,310 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
8529 2010-08-14 11:48:42,311 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
8530 2010-08-14 11:48:42,312 DEBUG MoinMoin.web.session:303 get_session for sid None
8531 2010-08-14 11:48:42,313 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 2a2a4770b896edf68a3af931150ae2fc40561366 {}>
8532 2010-08-14 11:48:42,325 DEBUG MoinMoin.auth:481 session started for user None
8533 2010-08-14 11:48:42,326 DEBUG MoinMoin.auth:466 setup_suid returns None, None
8534 2010-08-14 11:48:42,327 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
8535 2010-08-14 11:48:42,339 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x5cafef0 name:'' valid:0>, setuid = None
8536 2010-08-14 11:48:42,341 DEBUG MoinMoin:199 moin does not support any language client accepts
8537 2010-08-14 11:48:42,342 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
8538 2010-08-14 11:48:42,343 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
8539 2010-08-14 11:48:42,344 DEBUG MoinMoin.web.session:303 get_session for sid None
8540 2010-08-14 11:48:42,345 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession ca00a12c8367a6de920f0b8196dabfc9d0a19dc8 {}>
8541 2010-08-14 11:48:42,356 DEBUG MoinMoin.auth:481 session started for user None
8542 2010-08-14 11:48:42,357 DEBUG MoinMoin.auth:466 setup_suid returns None, None
8543 2010-08-14 11:48:42,358 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
8544 2010-08-14 11:48:42,371 DEBUG MoinMoin:199 moin does not support any language client accepts
8545 2010-08-14 11:48:42,372 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
8546 2010-08-14 11:48:42,373 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
8547 2010-08-14 11:48:42,374 DEBUG MoinMoin.web.session:303 get_session for sid None
8548 2010-08-14 11:48:42,375 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 0173a2e4ce1fd4ca3a7007876ce0834e5ffac76a {}>
8549 2010-08-14 11:48:42,386 DEBUG MoinMoin.auth:481 session started for user None
8550 2010-08-14 11:48:42,387 DEBUG MoinMoin.auth:466 setup_suid returns None, None
8551 2010-08-14 11:48:42,388 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
8552 2010-08-14 11:48:42,400 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x3c01b48 name:'' valid:0>, setuid = None
8553 2010-08-14 11:48:42,402 DEBUG MoinMoin:199 moin does not support any language client accepts
8554 2010-08-14 11:48:42,403 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
8555 2010-08-14 11:48:42,403 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
8556 2010-08-14 11:48:42,404 DEBUG MoinMoin.web.session:303 get_session for sid None
8557 2010-08-14 11:48:42,405 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession dc8d5bb10b87401c0aa63c72c6c9bd7e76363258 {}>
8558 2010-08-14 11:48:42,417 DEBUG MoinMoin.auth:481 session started for user None
8559 2010-08-14 11:48:42,418 DEBUG MoinMoin.auth:466 setup_suid returns None, None
8560 2010-08-14 11:48:42,419 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
8561 _________________ TestSerializeBackend.test_serialize_backend __________________
8562 
8563 self = <MoinMoin.storage._tests.test_serialization.TestSerializeBackend object at 0x5bb9e90>
8564 
8565     def test_serialize_backend(self):
8566         testparams = [
8567             (u'foo3', 0, dict(m1=u"m1r0foo3"), 'bar1'),
8568             (u'foo4', 0, dict(m1=u"m1r0foo4"), 'bar2'),
8569             (u'foo4', 1, dict(m1=u"m1r1foo4"), 'baz2'),
8570         ]
8571         for params in testparams:
8572 >           update_item(self.request, *params)
8573 
8574 MoinMoin/storage/_tests/test_serialization.py:104: 
8575 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
8576 
8577 request = <TestRequest 0 bytes [200 OK]>, name = u'foo3', revno = 0
8578 meta = {'m1': u'm1r0foo3'}, data = 'bar1'
8579 
8580     def update_item(request, name, revno, meta, data):
8581 >       become_trusted(request)
8582 
8583 MoinMoin/storage/_tests/test_serialization.py:24: 
8584 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
8585 
8586 request = <TestRequest 0 bytes [200 OK]>, username = u'TrustedUser'
8587 
8588     def become_trusted(request, username=u"TrustedUser"):
8589         """ modify request.user to make the user valid and trusted, so it is in acl group Trusted """
8590 >       become_valid(request, username)
8591 
8592 MoinMoin/_tests/__init__.py:37: 
8593 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
8594 
8595 request = <TestRequest 0 bytes [200 OK]>, username = u'TrustedUser'
8596 
8597     def become_valid(request, username=u"ValidUser"):
8598         """ modify request.user to make the user valid.
8599             Note that a valid user will only be in ACL special group "Known", if
8600             we have a user profile for this user as the ACL system will check if
8601             there is a userid for this username.
8602             Thus, for testing purposes (e.g. if you need delete rights), it is
8603             easier to use become_trusted().
8604         """
8605 >       request.user.name = username
8606 E       AttributeError: 'TestRequest' object has no attribute 'user'
8607 
8608 MoinMoin/_tests/__init__.py:30: AttributeError
8609 --------------------------------- Captured log ---------------------------------
8610 __init__.py                199 DEBUG    moin does not support any language client accepts
8611 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
8612 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
8613 session.py                 303 DEBUG    get_session for sid None
8614 session.py                 318 DEBUG    get_session returns session <MoinSession 7a7121ef4eac41084afc5bc9809ec558be4748ce {}>
8615 __init__.py                481 DEBUG    session started for user None
8616 __init__.py                466 DEBUG    setup_suid returns None, None
8617 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
8618 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x461d8c0 name:'' valid:0>, setuid = None
8619 __init__.py                199 DEBUG    moin does not support any language client accepts
8620 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
8621 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
8622 session.py                 303 DEBUG    get_session for sid None
8623 session.py                 318 DEBUG    get_session returns session <MoinSession 495680570b84a466b1b7478ace119f94f98effda {}>
8624 __init__.py                481 DEBUG    session started for user None
8625 __init__.py                466 DEBUG    setup_suid returns None, None
8626 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
8627 __init__.py                199 DEBUG    moin does not support any language client accepts
8628 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
8629 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
8630 session.py                 303 DEBUG    get_session for sid None
8631 session.py                 318 DEBUG    get_session returns session <MoinSession 165154ea56ba101eb8964d740dffd0cb40cde518 {}>
8632 __init__.py                481 DEBUG    session started for user None
8633 __init__.py                466 DEBUG    setup_suid returns None, None
8634 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
8635 session.py                 337 DEBUG    finalize userobj = <MoinMoin.user.User at 0x56a6f80 name:'' valid:0>, setuid = None
8636 __init__.py                199 DEBUG    moin does not support any language client accepts
8637 __init__.py                203 DEBUG    fall back to cfg.language_default ('en')
8638 __init__.py                207 DEBUG    setup_i18n_preauth returns 'en'
8639 session.py                 303 DEBUG    get_session for sid None
8640 session.py                 318 DEBUG    get_session returns session <MoinSession 47ab4b602c661268f7246b850fc7c05b5c267eb0 {}>
8641 __init__.py                481 DEBUG    session started for user None
8642 __init__.py                466 DEBUG    setup_suid returns None, None
8643 __init__.py                214 DEBUG    setup_i18n_postauth returns 'en'
8644 ------------------------------- Captured stderr --------------------------------
8645 2010-08-14 11:48:42,455 DEBUG MoinMoin:199 moin does not support any language client accepts
8646 2010-08-14 11:48:42,456 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
8647 2010-08-14 11:48:42,457 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
8648 2010-08-14 11:48:42,458 DEBUG MoinMoin.web.session:303 get_session for sid None
8649 2010-08-14 11:48:42,458 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 7a7121ef4eac41084afc5bc9809ec558be4748ce {}>
8650 2010-08-14 11:48:42,470 DEBUG MoinMoin.auth:481 session started for user None
8651 2010-08-14 11:48:42,471 DEBUG MoinMoin.auth:466 setup_suid returns None, None
8652 2010-08-14 11:48:42,472 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
8653 2010-08-14 11:48:42,484 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x461d8c0 name:'' valid:0>, setuid = None
8654 2010-08-14 11:48:42,487 DEBUG MoinMoin:199 moin does not support any language client accepts
8655 2010-08-14 11:48:42,488 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
8656 2010-08-14 11:48:42,488 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
8657 2010-08-14 11:48:42,489 DEBUG MoinMoin.web.session:303 get_session for sid None
8658 2010-08-14 11:48:42,490 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 495680570b84a466b1b7478ace119f94f98effda {}>
8659 2010-08-14 11:48:42,501 DEBUG MoinMoin.auth:481 session started for user None
8660 2010-08-14 11:48:42,502 DEBUG MoinMoin.auth:466 setup_suid returns None, None
8661 2010-08-14 11:48:42,503 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
8662 2010-08-14 11:48:42,516 DEBUG MoinMoin:199 moin does not support any language client accepts
8663 2010-08-14 11:48:42,517 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
8664 2010-08-14 11:48:42,518 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
8665 2010-08-14 11:48:42,518 DEBUG MoinMoin.web.session:303 get_session for sid None
8666 2010-08-14 11:48:42,519 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 165154ea56ba101eb8964d740dffd0cb40cde518 {}>
8667 2010-08-14 11:48:42,530 DEBUG MoinMoin.auth:481 session started for user None
8668 2010-08-14 11:48:42,531 DEBUG MoinMoin.auth:466 setup_suid returns None, None
8669 2010-08-14 11:48:42,532 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
8670 2010-08-14 11:48:42,544 DEBUG MoinMoin.web.session:337 finalize userobj = <MoinMoin.user.User at 0x56a6f80 name:'' valid:0>, setuid = None
8671 2010-08-14 11:48:42,546 DEBUG MoinMoin:199 moin does not support any language client accepts
8672 2010-08-14 11:48:42,547 DEBUG MoinMoin:203 fall back to cfg.language_default ('en')
8673 2010-08-14 11:48:42,548 DEBUG MoinMoin:207 setup_i18n_preauth returns 'en'
8674 2010-08-14 11:48:42,549 DEBUG MoinMoin.web.session:303 get_session for sid None
8675 2010-08-14 11:48:42,550 DEBUG MoinMoin.web.session:318 get_session returns session <MoinSession 47ab4b602c661268f7246b850fc7c05b5c267eb0 {}>
8676 2010-08-14 11:48:42,561 DEBUG MoinMoin.auth:481 session started for user None
8677 2010-08-14 11:48:42,562 DEBUG MoinMoin.auth:466 setup_suid returns None, None
8678 2010-08-14 11:48:42,563 DEBUG MoinMoin:214 setup_i18n_postauth returns 'en'
8679 ======== 114 failed, 1444 passed, 17 skipped, 49 error in 85.64 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.