I'm getting lots of lines like the following when running my functional
tests on my TurboGears 2.1.4 app.  Is there a way to silence this output
so I don't have to sift through it when interpreting what happened when
a test fails?  Additionally, all this output makes the tests run slower
since the terminal window has to display it all.  When the terminal is
maximized, the tests take 63 seconds:

Ran 30 tests in 63.357s

When the terminal window is smaller, they take 16 seconds:

Ran 30 tests in 16.462s

Authorization denied: Only for managers
no challenge required
-- repoze.who request ended (/work/add) --
-- repoze.who request started (/work/add) --
request classification: browser
identifier plugins registered
[<repoze.who.plugins.testutil.AuthenticationForgerPlugin object at
0x9d4c32c>, <FriendlyFormPlugin 164941452>, <AuthTktCookiePlugin 164938092>]
identifier plugins matched for classification "browser":
[<repoze.who.plugins.testutil.AuthenticationForgerPlugin object at
0x9d4c32c>, <FriendlyFormPlugin 164941452>, <AuthTktCookiePlugin 164938092>]
authenticator plugins registered
[<repoze.who.plugins.testutil.AuthenticationForgerPlugin object at
0x9d4c32c>]
authenticator plugins matched for classification "browser":
[<repoze.who.plugins.testutil.AuthenticationForgerPlugin object at
0x9d4c32c>]
User belongs to the following groups: (u'contractors',)
User has the following permissions: (u'contractor',)
Authorization denied: Only for managers
no challenge required
-- repoze.who request ended (/work/add) --
-- repoze.who request started (/work/add) --
request classification: browser
identifier plugins registered
[<repoze.who.plugins.testutil.AuthenticationForgerPlugin object at
0x9d4c32c>, <FriendlyFormPlugin 164941452>, <AuthTktCookiePlugin 164938092>]
identifier plugins matched for classification "browser":
[<repoze.who.plugins.testutil.AuthenticationForgerPlugin object at
0x9d4c32c>, <FriendlyFormPlugin 164941452>, <AuthTktCookiePlugin 164938092>]
no identities found, not authenticating
Authorization denied: Only for managers
challenge required
challengers registered:
[<repoze.who.plugins.testutil.AuthenticationForgerPlugin object at
0x9d4c32c>]
challengers matched for classification "browser":
[<repoze.who.plugins.testutil.AuthenticationForgerPlugin object at
0x9d4c32c>]
challenger plugin
<repoze.who.plugins.testutil.AuthenticationForgerPlugin object at
0x9d4c32c> "challenge" returned an app
executing challenge app
-- repoze.who request ended (/work/add) --

There are about 20 copies of each line above, and there are more lines
than that because the terminal window's buffer wasn't big enough to
contain them all.

Tim

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to turbogears@googlegroups.com.
To unsubscribe from this group, send email to 
turbogears+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en.

Reply via email to