Example #1
0
File: test_kn.py Project: 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]")
Example #2
0
File: test_kn.py Project: 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]")