diff -r a704babdc840 -r 2703116e4b21 web/test/unittest_views_basecontrollers.py --- a/web/test/unittest_views_basecontrollers.py Thu Oct 01 11:43:33 2015 +0200 +++ b/web/test/unittest_views_basecontrollers.py Thu Oct 01 11:50:09 2015 +0200 @@ -779,7 +779,7 @@ rset = self.john.as_rset() rset.req = req source = ctrl.publish() - self.assertTrue(source.startswith('
')) + self.assertTrue(source.startswith(b'
')) # def test_json_exec(self): # rql = 'Any T,N WHERE T is Tag, T name N' @@ -820,7 +820,7 @@ rset.req = req source = ctrl.publish() # maydel jscall - self.assertIn('ajaxBoxRemoveLinkedEntity', source) + self.assertIn(b'ajaxBoxRemoveLinkedEntity', source) def test_pending_insertion(self): with self.remote_calling('add_pending_inserts', [['12', 'tags', '13']]) as (_, req):