mirror of
https://github.com/jazzband/django-categories.git
synced 2026-03-16 22:30:24 +00:00
fix duplicate slugs in tests
This commit is contained in:
parent
5f3eba8f1c
commit
2c1130c9b8
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue