def test_products_list_resolves_to_product_list_view(self):
"""Check if ProductList URL is matching correct view."""
product_list = resolve(self.product_list_url)
self.assertEqual(product_list.func.__name__, ProductsListView.__name__)
评论列表
文章目录