def test_it_sets_response_content_type(self, pyramid_request): response = render.render_atom(request=pyramid_request, annotations=[], atom_url='', html_url='', title='', subtitle='') assert response.content_type == 'application/atom+xml'