mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-09 00:43:11 -04:00
fix testing
This commit is contained in:
@@ -40,9 +40,13 @@ def check_guidance_feature():
|
|||||||
|
|
||||||
@main.route("/test/feature-flags")
|
@main.route("/test/feature-flags")
|
||||||
def test_feature_flags():
|
def test_feature_flags():
|
||||||
return jsonify({
|
return jsonify(
|
||||||
"FEATURE_BEST_PRACTICES_ENABLED": current_app.config["FEATURE_BEST_PRACTICES_ENABLED"]
|
{
|
||||||
})
|
"FEATURE_BEST_PRACTICES_ENABLED": current_app.config[
|
||||||
|
"FEATURE_BEST_PRACTICES_ENABLED"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
@main.route("/")
|
@main.route("/")
|
||||||
|
|||||||
@@ -217,6 +217,7 @@ EXCLUDED_ENDPOINTS = tuple(
|
|||||||
"suspend_service",
|
"suspend_service",
|
||||||
"template_history",
|
"template_history",
|
||||||
"template_usage",
|
"template_usage",
|
||||||
|
"test_feature_flags",
|
||||||
"tour_step",
|
"tour_step",
|
||||||
"trial_mode",
|
"trial_mode",
|
||||||
"trial_mode_new",
|
"trial_mode_new",
|
||||||
|
|||||||
Reference in New Issue
Block a user