Ejemplo n.º 1
0
    def test_toHtml_sets_html_as_returnType(self):
        """ check toHtml sets html as returnType"""

        request = Request().toHtml()
        self.assertTrue(request.get_return_type() == 'html')
Ejemplo n.º 2
0
    def test_toHtml_sets_html_as_returnType(self):
        """ check toHtml sets html as returnType"""

        request = Request().toHtml()
        self.assertTrue(request.get_return_type() == 'html')
Ejemplo n.º 3
0
 def test_toJson_sets_json_as_returnType(self):
     """ check toJson sets json as returnType"""
     request = Request().toJson()
     self.assertTrue(request.get_return_type() == 'json')
Ejemplo n.º 4
0
 def test_toJson_sets_json_as_returnType(self):
     """ check toJson sets json as returnType"""
     request = Request().toJson()
     self.assertTrue(request.get_return_type() == 'json')