diff --git a/src/backend/marsha/core/tests/views/test_site.py b/src/backend/marsha/core/tests/views/test_site.py index 9890994882..c5a13c2edc 100644 --- a/src/backend/marsha/core/tests/views/test_site.py +++ b/src/backend/marsha/core/tests/views/test_site.py @@ -48,6 +48,7 @@ def test_site_publicly_accessible(self): ) @override_switch("site", active=True) + @override_settings(BASE_STATIC_DIR="missing") def test_site_site_template_missing(self): """Test site with missing index file should return a 501.""" response = self.client.get("/")