def test_get_city(self): assert Vkfunc.get_city('Тверь') == 141
def city(self, event, request): self.search_params['city'] = Vkfunc.get_city(request) return self.clarify_message(event)