def start(request): return { 'conversations': conversations_with_moderation(request.user), 'home_banner_fragment': fragment('home.banner', raises=False), 'how_it_works_fragment': fragment('home.how-it-works', raises=False), 'start_now_fragment': fragment('home.start-now', raises=False), 'social_media_icons': social_icons(), 'user': request.user, }
def start(request): return { 'conversations': conversations_with_moderation(request.user), 'how_it_works_fragment': fragment('home.how-it-works', raises=False), 'start_now_fragment': fragment('home.start-now', raises=False), 'social_media_icons': social_icons(), 'user': request.user, 'footer_content': { 'image': '/static/img/icons/facebook-blue.svg', 'first': { 'normal': 'Plataforma desenvolvida pelo', 'bold': 'Conanda/MDH/UnB' }, 'last': { 'normal': 'Para denunciar:', 'bold': 'Disque 100 e #HUMANIZAREDES' } }, }
def social(): return {'icons': social_icons()}
def test_social_route(self, db): response = routes.social() assert response == {'icons': social_icons()}