예제 #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')
예제 #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')
예제 #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')
예제 #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')