def test(self): c = blueox.Context("test") c.start() blueox.clear_contexts() assert_equal(blueox.current_context(), None)
def test(self): c = blueox.Context('test') c.start() blueox.clear_contexts() assert_equal(blueox.current_context(), None)
def test(self): # Non-writable context shouldn't show up. current_c = blueox.current_context() assert not current_c