def test_parameterized(self):
    self.set_view_content('{:a 1} {:b 2}')
    self.set_selections((0, 0), (7, 7))
    self.view.run_command('tutkain_evaluate', {'code': "((requiring-resolve 'clojure.data/diff) $0 $1)"})
    self.assertEquals(input("((requiring-resolve 'clojure.data/diff) {:a 1} {:b 2})\n"), self.get_print())
    self.eval_context()
    self.assertEquals("((requiring-resolve 'clojure.data/diff) {:a 1} {:b 2})\n", self.server.recv())
    self.server.send('({:a 1} {:b 2} nil)')
    self.assertEquals(ret('({:a 1} {:b 2} nil)\n'), self.get_print())
def test_parameterized(self):
    self.set_view_content('{:a 1} {:b 2}')
    self.set_selections((0, 0), (7, 7))
    self.view.run_command('tutkain_evaluate', {'code': "((requiring-resolve 'clojure.data/diff) $0 $1)"})
    self.assertEquals(input("((requiring-resolve 'clojure.data/diff) {:a 1} {:b 2})\n"), self.get_print())
    self.eval_context()
    self.assertEquals("((requiring-resolve 'clojure.data/diff) {:a 1} {:b 2})\n", self.server.recv())
    self.server.send('({:a 1} {:b 2} nil)')
    self.assertEquals(ret('({:a 1} {:b 2} nil)\n'), self.get_print())