예제 #1
0
 def test_mcontext(self):
     python = Python()
     eclipse = EclipseCCR(mcontext=AppContext(executable='test'))
     self.assertIsNone(python.get_context())
     self.assertIsNotNone(eclipse.get_context())
예제 #2
0
파일: mergerule.py 프로젝트: seekM/caster
 def test_mcontext(self):
     python = Python()
     eclipse = EclipseCCR(mcontext=AppContext(executable='test'))
     self.assertIsNone(python.get_context())
     self.assertIsNotNone(eclipse.get_context())