Package openid :: Package test :: Module support :: Class CatchLogs
[frames] | no frames]

Class CatchLogs

source code

object --+
         |
        CatchLogs
Known Subclasses:

Instance Methods
 
failUnlessLogEmpty(self) source code
 
failUnlessLogMatches(self, *prefixes)
Check that the log messages contained in self.messages have prefixes in *prefixes.
source code
 
gotLogMessage(self, message) source code
 
setUp(self) source code
 
tearDown(self) source code

Inherited from object: __delattr__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties

Inherited from object: __class__

Method Details

failUnlessLogMatches(self, *prefixes)

source code 

Check that the log messages contained in self.messages have prefixes in *prefixes. Raise AssertionError if not, or if the number of prefixes is different than the number of log messages.