diff -r 2c582a242b66 -r b86214011758 cubicweb/web/test/unittest_propertysheet.py --- a/cubicweb/web/test/unittest_propertysheet.py Thu Apr 19 12:47:48 2018 +0200 +++ b/cubicweb/web/test/unittest_propertysheet.py Thu Apr 19 15:55:33 2018 +0200 @@ -40,13 +40,13 @@ self.assertEqual(ps['fontcolor'], 'black') # defined by sheet1, extended by sheet2 self.assertEqual(ps['stylesheets'], ['http://cwtest.com/cubicweb.css', - 'http://cwtest.com/mycube.css']) + 'http://cwtest.com/mycube.css']) # lazy string defined by sheet1 self.assertIsInstance(ps['lazy'], lazystr) self.assertEqual(str(ps['lazy']), '#FFFFFF') # test compilation self.assertEqual(ps.compile('a {bgcolor: %(bgcolor)s; size: 1%;}'), - 'a {bgcolor: #FFFFFF; size: 1%;}') + 'a {bgcolor: #FFFFFF; size: 1%;}') self.assertEqual(ps.process_resource(DATADIR, 'pouet.css'), self.cachedir) self.assertFalse(ps.need_reload()) @@ -54,7 +54,7 @@ self.assertTrue(ps.need_reload()) ps.reload() self.assertFalse(ps.need_reload()) - ps.process_resource(DATADIR, 'pouet.css') # put in cache + ps.process_resource(DATADIR, 'pouet.css') # put in cache os.utime(self.data('pouet.css'), None) self.assertFalse(ps.need_reload())