--- 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())
--- a/flake8-ok-files.txt Thu Apr 19 12:47:48 2018 +0200
+++ b/flake8-ok-files.txt Thu Apr 19 15:55:33 2018 +0200
@@ -110,6 +110,7 @@
cubicweb/web/test/data/entities.py
cubicweb/web/test/unittest_application.py
cubicweb/web/test/unittest_http_headers.py
+cubicweb/web/test/unittest_propertysheet.py
cubicweb/web/test/unittest_uicfg.py
cubicweb/web/test/unittest_views_basetemplates.py
cubicweb/web/test/unittest_views_cwsources.py