def test_lookup(self):
    self.set_view_content('(rand)')
    for n in range(1, 5):
        self.set_selections((n, n))
        self.view.run_command('tutkain_show_information', {'selector': 'variable.function'})
        response = edn.read(self.server.backchannel.recv())
        self.assertEquals({edn.Keyword('op'): edn.Keyword('lookup'), edn.Keyword('ident'): 'rand', edn.Keyword('ns'): None, edn.Keyword('dialect'): edn.Keyword('clj'), edn.Keyword('id'): response.get(edn.Keyword('id'))}, response)
def test_lookup(self):
    self.set_view_content('(rand)')
    for n in range(1, 5):
        self.set_selections((n, n))
        self.view.run_command('tutkain_show_information', {'selector': 'variable.function'})
        response = edn.read(self.server.backchannel.recv())
        self.assertEquals({edn.Keyword('op'): edn.Keyword('lookup'), edn.Keyword('ident'): 'rand', edn.Keyword('ns'): None, edn.Keyword('dialect'): edn.Keyword('clj'), edn.Keyword('id'): response.get(edn.Keyword('id'))}, response)