diff --git a/apps/greencheck/tests/views/test_api_carbon_txt.py b/apps/greencheck/tests/views/test_api_carbon_txt.py index abf71536..609859a2 100644 --- a/apps/greencheck/tests/views/test_api_carbon_txt.py +++ b/apps/greencheck/tests/views/test_api_carbon_txt.py @@ -93,7 +93,7 @@ def test_carbon_txt_preview_behind_flag( """ Check that our preview is now behind a flag """ - with override_flag("carbon-txt-preview", active=active): + with override_flag("carbon_txt_preview", active=active): url_path = reverse("greenweb_admin:carbon_txt_preview") response = client.get(url_path, follow=True) assert response.status_code == status_code