Example #1
0
 def test_string(self):
     resource = ResourceTestClass(self.fake_request())
     self.check_html_ok(resource.string('some string'), texts=['some string'], content_type='text/html', encoding='utf-8')