예제 #1
0
    def test(self):
        c = blueox.Context("test")
        c.start()

        blueox.clear_contexts()

        assert_equal(blueox.current_context(), None)
예제 #2
0
    def test(self):
        c = blueox.Context('test')
        c.start()

        blueox.clear_contexts()

        assert_equal(blueox.current_context(), None)
예제 #3
0
 def test(self):
     # Non-writable context shouldn't show up.
     current_c = blueox.current_context()
     assert not current_c
예제 #4
0
 def test(self):
     # Non-writable context shouldn't show up.
     current_c = blueox.current_context()
     assert not current_c