Skip to content

Commit cf24f77

Browse files
committed
fix duplicate slugs in tests
1 parent d58cea4 commit cf24f77

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
@@ -57,7 +57,7 @@ def testMixingTabsSpaces(self):
5757
Should raise an exception.
5858
"""
5959
string1 = ["cat1", " cat1-1", "\tcat1-2-FAIL!", ""]
60-
string2 = ["cat1", "\tcat1-1", " cat1-2-FAIL!", ""]
60+
string2 = ["cat1a", "\tcat1-1a", " cat1-2-FAIL!", ""]
6161
cmd = Command()
6262

6363
# raise Exception

0 commit comments

Comments
 (0)