def test_lookup_head(self):
    self.set_view_content('(map inc )')
    self.set_selections((9, 9))
    self.view.run_command('tutkain_show_information', {'selector': 'variable.function', 'seek_backward': True})
    response = edn.read(self.server.backchannel.recv())
    self.assertEquals({edn.Keyword('op'): edn.Keyword('lookup'), edn.Keyword('ident'): 'map', edn.Keyword('ns'): None, edn.Keyword('dialect'): edn.Keyword('clj'), edn.Keyword('id'): response.get(edn.Keyword('id'))}, response)
def test_lookup_head(self):
    self.set_view_content('(map inc )')
    self.set_selections((9, 9))
    self.view.run_command('tutkain_show_information', {'selector': 'variable.function', 'seek_backward': True})
    response = edn.read(self.server.backchannel.recv())
    self.assertEquals({edn.Keyword('op'): edn.Keyword('lookup'), edn.Keyword('ident'): 'map', edn.Keyword('ns'): None, edn.Keyword('dialect'): edn.Keyword('clj'), edn.Keyword('id'): response.get(edn.Keyword('id'))}, response)