test/unittest_entity.py
changeset 8216 99ff746e8de8
parent 8161 6f4229eb8178
parent 8199 fb5c0e60a615
child 8307 8be58694f416
--- a/test/unittest_entity.py	Fri Feb 10 16:31:39 2012 +0100
+++ b/test/unittest_entity.py	Fri Feb 10 16:53:52 2012 +0100
@@ -146,6 +146,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)