diff --git a/tests/test_dataviz.py b/tests/test_dataviz.py
index a985dd37..558505df 100644
--- a/tests/test_dataviz.py
+++ b/tests/test_dataviz.py
@@ -228,7 +228,7 @@ def test_chartng_cell_view(app, normal_user):
cell.chart_type = 'table'
cell.save()
resp = app.get('/')
- assert '
222 | ' in resp.body
+ assert '222 | ' in resp.text
def test_chartng_cell_manager(app, admin_user):
diff --git a/tests/test_gallery_cell.py b/tests/test_gallery_cell.py
index 463faf15..54143bc0 100644
--- a/tests/test_gallery_cell.py
+++ b/tests/test_gallery_cell.py
@@ -22,9 +22,9 @@ def test_adding_gallery_images(app, admin_user):
app.post(reverse('combo-gallery-image-add', kwargs={'gallery_pk': cell.id}), params={'image': ['foo'], 'title': 'white'}, status=403)
app = login(app)
- mgr = app.get(reverse('combo-manager-page-edit-cell', kwargs={'page_pk': page.id, 'cell_reference': cell.get_reference()}), status=200)
- assert '