cubicweb/web/test/unittest_propertysheet.py
branch3.26
changeset 12289 b86214011758
parent 12287 547bb96ea2a8
--- 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())