diff -r 31ed9dd946d1 -r ea32e964fbf8 test/unittest_entity.py --- a/test/unittest_entity.py Thu Jul 04 09:26:59 2013 +0200 +++ b/test/unittest_entity.py Tue Jul 30 20:31:57 2013 +0200 @@ -643,8 +643,10 @@ e.cw_attr_cache['data_format'] = 'text/html' e.cw_attr_cache['data_encoding'] = 'ascii' e._cw.transaction_data = {} # XXX req should be a session - self.assertEqual(e.cw_adapt_to('IFTIndexable').get_words(), - {'C': ['an', 'html', 'file', 'du', 'html', 'some', 'data']}) + words = e.cw_adapt_to('IFTIndexable').get_words() + words['C'].sort() + self.assertEqual({'C': sorted(['an', 'html', 'file', 'du', 'html', 'some', 'data'])}, + words) def test_nonregr_relation_cache(self):