def test_it_sets_response_content_type(self, pyramid_request): response = render.render_rss(request=pyramid_request, annotations=[], rss_url='', html_url='', title='', description='') assert response.content_type == 'application/rss+xml'
def test_it_sets_response_content_type(self, pyramid_request): response = render.render_rss( request=pyramid_request, annotations=[], rss_url='', html_url='', title='', description='') assert response.content_type == 'application/rss+xml'