示例#1
0
 def test_allow_requests_not_list(self):
     """Test to ensure calling allow_requests with value converts value
        to list"""
     self.assertEquals(None, controller.allow_requests("GET"))
 def test_allow_requests_not_list(self):
     """Test to ensure calling allow_requests with value converts value
        to list"""
     self.assertEquals(None, controller.allow_requests("GET"))
示例#3
0
 def test_allow_requests_blank(self):
     """Test to ensure calling allow_requests with no default values
        is handled correctly by returning None"""
     self.assertEquals(None, controller.allow_requests())
 def test_allow_requests_blank(self):
     """Test to ensure calling allow_requests with no default values 
        is handled correctly by returning None"""
     self.assertEquals(None, controller.allow_requests())