assertEqual (response.resolver_match.func, my_view) # class-based views need to be compared by name, as the functions # generated by as_view() won't be equal ...
確定! 回上一頁