Example #1
0
 def test_restore(self):
     hijack()
     restore()
     self.verify_orig()
Example #2
0
 def test_restore(self):
     from twiggy.logging_compat import hijack, restore
     hijack()
     restore()
     self.verify_orig()
Example #3
0
 def test_hijack(self):
     self.verify_orig()
     hijack()
     self.verify_comp()
Example #4
0
 def test_hijack(self):
     from twiggy.logging_compat import hijack
     self.verify_orig()
     hijack()
     self.verify_comp()