示例#1
0
 def testDebugVerbose(self):
     s = 'test6'
     util.set_verbosity(util.VERBOSITY_DEBUG)
     util.debug(s)
     self.assertEqual(s, util._write_stream.getvalue())
示例#2
0
 def testDebug(self):
     s = 'test5'
     util.debug(s)
     self.assertEqual('', util._write_stream.getvalue())