Esempio n. 1
0
 def testDebugOnOffMixed(self):
     self.failIf(pub.debugging)
     pub.Debugging('on')
     self.failUnless(pub.debugging)
     pub.Debugging('Off')
     self.failIf(pub.debugging)        
Esempio n. 2
0
 def testDebugOnOffUpper(self):
     self.failIf(pub.debugging)
     pub.Debugging('on')
     self.failUnless(pub.debugging)
     pub.Debugging('OFF')
     self.failIf(pub.debugging)        
Esempio n. 3
0
 def testDebugOnOffLower(self):
     self.failIf(pub.debugging)
     pub.Debugging('on')
     self.failUnless(pub.debugging)
     pub.Debugging('off')
     self.failIf(pub.debugging)
Esempio n. 4
0
 def testDebugOff(self):
     self.failIf(pub.debugging)
     pub.Debugging('off')
     self.failIf(pub.debugging)
Esempio n. 5
0
 def testDebugOnUpper(self):
     self.failIf(pub.debugging)
     pub.Debugging('ON')
     self.failUnless(pub.debugging)
Esempio n. 6
0
 def testDebugOn(self):
     self.failIf(pub.debugging)
     pub.Debugging()
     self.failUnless(pub.debugging)