def test_eval_in_ns(self):
    self.view.run_command('tutkain_evaluate', {'code': '(reset)', 'ns': 'foo.bar'})
    self.assertEquals(input('(reset)\n'), self.get_print())
    self.eval_context(ns=edn.Symbol('foo.bar'))
    self.assertEquals('(reset)\n', self.server.recv())
    self.server.send('nil')
    self.assertEquals(ret('nil\n'), self.get_print())
def test_eval_in_ns(self):
    self.view.run_command('tutkain_evaluate', {'code': '(reset)', 'ns': 'foo.bar'})
    self.assertEquals(input('(reset)\n'), self.get_print())
    self.eval_context(ns=edn.Symbol('foo.bar'))
    self.assertEquals('(reset)\n', self.server.recv())
    self.server.send('nil')
    self.assertEquals(ret('nil\n'), self.get_print())