def test_toHtml_sets_html_as_returnType(self): """ check toHtml sets html as returnType""" request = Request().toHtml() self.assertTrue(request.get_return_type() == 'html')
def test_toJson_sets_json_as_returnType(self): """ check toJson sets json as returnType""" request = Request().toJson() self.assertTrue(request.get_return_type() == 'json')