test/unittest_entity.py
branchstable
changeset 8199 fb5c0e60a615
parent 7973 64639bc94e25
child 8216 99ff746e8de8
child 8286 8b0146e31baa
--- a/test/unittest_entity.py	Wed Feb 08 14:17:09 2012 +0100
+++ b/test/unittest_entity.py	Wed Feb 08 14:22:48 2012 +0100
@@ -143,6 +143,8 @@
         req = self.request()
         p1 = req.create_entity('Personne', nom=u'di')
         p2 = req.create_entity('Personne', nom=u'mascio')
+        t = req.create_entity('Tag', name=u't0', tags=[])
+        self.assertItemsEqual(t.tags, [])
         t = req.create_entity('Tag', name=u't1', tags=p1)
         self.assertItemsEqual(t.tags, [p1])
         t = req.create_entity('Tag', name=u't2', tags=p1.eid)