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_blank(self): """Test to ensure calling allow_requests with no default values is handled correctly by returning None""" self.assertEquals(None, controller.allow_requests())