Skip to content

Commit 2220016

Browse files
committed
fix duplicate slugs in tests
1 parent d1b5885 commit 2220016

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

categories/fixtures/musicgenres.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2292,7 +2292,7 @@
22922292
"name": "Country pop",
22932293
"parent": 142,
22942294
"level": 1,
2295-
"slug": "country-pop",
2295+
"slug": "country-pop_1",
22962296
"lft": 100,
22972297
"tree_id": 10,
22982298
"order": 1

categories/tests/test_category_import.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def testMixingTabsSpaces(self):
5858
Should raise an exception.
5959
"""
6060
string1 = ["cat1", " cat1-1", "\tcat1-2-FAIL!", ""]
61-
string2 = ["cat1", "\tcat1-1", " cat1-2-FAIL!", ""]
61+
string2 = ["cat1a", "\tcat1-1a", " cat1-2-FAIL!", ""]
6262
cmd = Command()
6363

6464
# raise Exception

0 commit comments

Comments
 (0)