From 23519311cda9c9d952b297180a60f7b45a20a225 Mon Sep 17 00:00:00 2001 From: Chris Adams Date: Wed, 13 Nov 2024 11:11:01 +0100 Subject: [PATCH] Update the test too, duh --- apps/greencheck/tests/views/test_api_carbon_txt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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