More linting

This commit is contained in:
alexjanousekGSA
2024-10-25 11:35:56 -04:00
parent ccdf9f16d8
commit 96a8ccc64a

View File

@@ -118,9 +118,9 @@ def test_static_pages(client_request, mock_get_organization_by_domain, view, moc
if view == "rules_and_regulations":
pytest.skip("Skipping test for 'rules_and_regulations' due to missing PDF file.")
# Function to check if a view is feature-flagged and should return 404 when disabled
def is_feature_flagged(view):
feature_best_practices_enabled = (
os.getenv("FEATURE_BEST_PRACTICES_ENABLED", "false").lower() == "true"
)