web/test/unittest_facet.py
changeset 6417 d2361abe8505
parent 6380 63d5dbaef999
child 6435 71b2a3fe7ba1
--- a/web/test/unittest_facet.py	Fri Oct 08 11:11:09 2010 +0200
+++ b/web/test/unittest_facet.py	Fri Oct 08 11:11:31 2010 +0200
@@ -87,9 +87,9 @@
                           [str(guests), str(managers)])
         f._cw.create_entity('CWUser', login=u'hop', upassword='toto')
         self.assertEqual(f.vocabulary(),
-                          [(u'no relation', ''), (u'guests', guests), (u'managers', managers)])
+                          [(u'<no relation>', ''), (u'guests', guests), (u'managers', managers)])
         self.assertEqual(f.possible_values(),
-                          [str(guests), str(managers)])
+                          [str(guests), str(managers), ''])
         f._cw.form[f.__regid__] = ''
         f.add_rql_restrictions()
         self.assertEqual(f.rqlst.as_string(),