def test_outermost(self):
    self.set_view_content('(map inc (range 10))')
    self.set_selections((0, 0))
    self.view.run_command('tutkain_evaluate', {'scope': 'outermost'})
    self.assertEquals(input('(map inc (range 10))\n'), self.get_print())
    self.assertEquals('(map inc (range 10))\n', self.server.recv())
    self.server.send('(1 2 3 4 5 6 7 8 9 10)')
    self.assertEquals(ret('(1 2 3 4 5 6 7 8 9 10)\n'), self.get_print())
def test_outermost(self):
    self.set_view_content('(map inc (range 10))')
    self.set_selections((0, 0))
    self.view.run_command('tutkain_evaluate', {'scope': 'outermost'})
    self.assertEquals(input('(map inc (range 10))\n'), self.get_print())
    self.assertEquals('(map inc (range 10))\n', self.server.recv())
    self.server.send('(1 2 3 4 5 6 7 8 9 10)')
    self.assertEquals(ret('(1 2 3 4 5 6 7 8 9 10)\n'), self.get_print())