예제 #1
0
파일: test_kn.py 프로젝트: bgnori/kn
class TestWthLibrary(unittest.TestCase):
    def setUp(self):
        self.ev = Evaluator({})
        self.ev.run("[define, f, [open, common.yaml]]")
        self.ev.run("[define, toload, [read, f]]")
        self.ev.run("[close, f]")
        self.ev.run("[eval, toload]")
예제 #2
0
파일: test_kn.py 프로젝트: bgnori/kn
 def setUp(self):
     self.ev = Evaluator({})
     self.ev.run("[define, f, [open, common.yaml]]")
     self.ev.run("[define, toload, [read, f]]")
     self.ev.run("[close, f]")
     self.ev.run("[eval, toload]")