fix duplicate slugs in tests

This commit is contained in:
Petr Dlouhý 2020-03-13 15:50:14 +01:00
parent 5f3eba8f1c
commit 2c1130c9b8
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -58,7 +58,7 @@ class CategoryImportTest(TestCase):
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