summaryrefslogtreecommitdiff
path: root/ishtar_common/tests.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@proxience.com>2015-01-26 12:35:29 +0100
committerÉtienne Loks <etienne.loks@proxience.com>2015-01-26 12:35:29 +0100
commitde9121af10193688965a53f23f33af2a8baebd2f (patch)
tree5a2c1eeb4abbd069023c5122d5dd06a027a6082e /ishtar_common/tests.py
parent8423e87196dc9a368fb7750f07f5d2e1f49c85de (diff)
downloadIshtar-de9121af10193688965a53f23f33af2a8baebd2f.tar.bz2
Ishtar-de9121af10193688965a53f23f33af2a8baebd2f.zip
GeneralType keys: fix management of changed label
Diffstat (limited to 'ishtar_common/tests.py')
-rw-r--r--ishtar_common/tests.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/ishtar_common/tests.py b/ishtar_common/tests.py
index b22d27169..06d0ca3ec 100644
--- a/ishtar_common/tests.py
+++ b/ishtar_common/tests.py
@@ -123,6 +123,7 @@ class ImportKeyTest(TestCase):
# modification
label_3 = "Yop"
ot_2.label = label_3
+ ot_2.txt_idx = slugify(label_3)
ot_2.save()
# old label not referenced anymore
self.assertEqual(models.ItemKey.objects.filter(object_id=ot_2.pk,