Skip to content

Commit 6350169

Browse files
committed
[MIG] shopinvader_product_url
1 parent ef6388d commit 6350169

4 files changed

Lines changed: 2 additions & 10 deletions

File tree

.pre-commit-config.yaml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,6 @@ exclude: |
1010
^shopinvader_product_description/|
1111
^shopinvader_product_sale_packaging/|
1212
^shopinvader_product_seo/|
13-
^shopinvader_product_url/|
14-
^shopinvader_product_template_multi_link_date_span/|
15-
^shopinvader_product_template_tags/|
16-
^shopinvader_product_variant_multi_link/|
17-
^shopinvader_product_variant_selector/|
18-
^shopinvader_product_video_link/|
1913
# END NOT INSTALLABLE ADDONS
2014
# Files and folders generated by bots, to avoid loops
2115
^setup/|/static/description/index\.html$|

requirements.txt

Whitespace-only changes.

shopinvader_product_url/__manifest__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,5 @@
1616
"shopinvader_base_url",
1717
"shopinvader_product",
1818
],
19-
"data": [],
20-
"demo": [],
2119
"installable": True,
2220
}

shopinvader_product_url/tests/test_url_in_schemas.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ def test_product_category(self):
6969
"test-parent-category/test-child-category/test-child-child-category",
7070
)
7171
self.assertEqual(category.redirect_url_key, [])
72-
# if we update the category name, the url_key should be updated whatever the level
73-
# and a redirect_url_key should be created
72+
# if we update the category name, the url_key should be updated
73+
# whatever the level and a redirect_url_key should be created
7474
self.parent_category.name = "parent"
7575
category = ProductCategory.from_product_category(self.child_child_category)
7676
self.assertEqual(

0 commit comments

Comments
 (0)