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