def testDebugOnOffMixed(self): self.failIf(pub.debugging) pub.Debugging('on') self.failUnless(pub.debugging) pub.Debugging('Off') self.failIf(pub.debugging)
def testDebugOnOffUpper(self): self.failIf(pub.debugging) pub.Debugging('on') self.failUnless(pub.debugging) pub.Debugging('OFF') self.failIf(pub.debugging)
def testDebugOnOffLower(self): self.failIf(pub.debugging) pub.Debugging('on') self.failUnless(pub.debugging) pub.Debugging('off') self.failIf(pub.debugging)
def testDebugOff(self): self.failIf(pub.debugging) pub.Debugging('off') self.failIf(pub.debugging)
def testDebugOnUpper(self): self.failIf(pub.debugging) pub.Debugging('ON') self.failUnless(pub.debugging)
def testDebugOn(self): self.failIf(pub.debugging) pub.Debugging() self.failUnless(pub.debugging)