cubicweb/server/test/unittest_migractions.py
changeset 11277 baed516c6f6e
parent 11273 c655e19cbc35
child 11291 7c565548fb09
--- a/cubicweb/server/test/unittest_migractions.py	Fri Jun 10 13:23:54 2016 +0200
+++ b/cubicweb/server/test/unittest_migractions.py	Fri Jun 10 16:45:20 2016 +0200
@@ -773,7 +773,8 @@
             self.assertEqual(len(bffss_dir_content), 1)
             john.cw_clear_all_caches()
             self.assertEqual(john.photo.getvalue(),
-                             osp.join(tempfile.tempdir, bffss_dir_content[0]))
+                             osp.join(tempfile.tempdir,
+                                      bffss_dir_content[0]).encode('utf8'))
             bob.cw_clear_all_caches()
             self.assertIsNone(bob.photo)
             bill.cw_clear_all_caches()