diff --git a/udata_front/tests/views/test_dataset.py b/udata_front/tests/views/test_dataset.py index 0ced97783..72c2cb0f7 100644 --- a/udata_front/tests/views/test_dataset.py +++ b/udata_front/tests/views/test_dataset.py @@ -154,7 +154,7 @@ def test_200_if_deleted_but_authorized(self): def test_no_index_on_empty(self): '''It should prevent crawlers from indexing empty datasets''' - dataset = DatasetFactory() + dataset = DatasetFactory(private=True) response = self.get(url_for('datasets.show', dataset=dataset)) self.assert200(response) self.assertIn(b'