asp.net-mvc-3 – Url.Action没有给出预期的结果.不需要的路线值仍然存在

asp.net-mvc-3 – Url.Action没有给出预期的结果.不需要的路线值仍然存在

我有一个MVC3应用程序与几个路线.其中两个定义如下: routes.MapRoute( null, System/{name}, // URL with parameters new { controller = Systems, action = Index } // Parameter defaults);routes.MapRoute( null, C

python – 单元测试(烧瓶 – 静止)GET API调用时获得500内部服务器错误

python – 单元测试(烧瓶 – 静止)GET API调用时获得500内部服务器错误

我已经从我的烧瓶式API模块中单独测试了所有方法.现在我想通过实际进行API调用来测试get方法.我期待这个测试的错误400.我的资源类class Response(Resource): @marshal_with(response_params_get_responses_on_job) def get(self, filter_name