--- a/web/test/unittest_webconfig.py Wed Apr 09 18:14:45 2014 +0200
+++ b/web/test/unittest_webconfig.py Thu Apr 10 10:59:08 2014 +0200
@@ -42,7 +42,7 @@
rname = self.config.uiprops['FILE_ICON'].replace(self.config.datadir_url, '')
self.assertIn('file', self.config.locate_resource(rname)[0].split(os.sep))
cubicwebcsspath = self.config.locate_resource('cubicweb.css')[0].split(os.sep)
- self.assertIn('web' in cubicwebcsspath or 'shared', cubicwebcsspath) # 'shared' if tests under apycot
+ self.assertTrue('web' in cubicwebcsspath or 'shared' in cubicwebcsspath) # 'shared' if tests under apycot
def test_sign_text(self):
signature = self.config.sign_text(u'hôp')