示例#1
0
 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'
示例#2
0
 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'