Skip to content

Commit

Permalink
fix duplicate slugs in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
PetrDlouhy committed Feb 24, 2022
1 parent c3f75a8 commit a228b08
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion categories/fixtures/musicgenres.json
Original file line number Diff line number Diff line change
Expand Up @@ -2292,7 +2292,7 @@
"name": "Country pop",
"parent": 142,
"level": 1,
"slug": "country-pop",
"slug": "country-pop_1",
"lft": 100,
"tree_id": 10,
"order": 1
Expand Down
2 changes: 1 addition & 1 deletion categories/tests/test_category_import.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def testMixingTabsSpaces(self):
Should raise an exception.
"""
string1 = ["cat1", " cat1-1", "\tcat1-2-FAIL!", ""]
string2 = ["cat1", "\tcat1-1", " cat1-2-FAIL!", ""]
string2 = ["cat1a", "\tcat1-1a", " cat1-2-FAIL!", ""]
cmd = Command()

# raise Exception
Expand Down

0 comments on commit a228b08

Please sign in to comment.