mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-05 19:03:30 -05:00
More linting
This commit is contained in:
@@ -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"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user