fix testing

This commit is contained in:
Beverly Nguyen
2024-10-31 12:26:20 -07:00
parent 109f3d9992
commit 714be40851
2 changed files with 8 additions and 3 deletions

View File

@@ -40,9 +40,13 @@ def check_guidance_feature():
@main.route("/test/feature-flags")
def test_feature_flags():
return jsonify({
"FEATURE_BEST_PRACTICES_ENABLED": current_app.config["FEATURE_BEST_PRACTICES_ENABLED"]
})
return jsonify(
{
"FEATURE_BEST_PRACTICES_ENABLED": current_app.config[
"FEATURE_BEST_PRACTICES_ENABLED"
]
}
)
@main.route("/")

View File

@@ -217,6 +217,7 @@ EXCLUDED_ENDPOINTS = tuple(
"suspend_service",
"template_history",
"template_usage",
"test_feature_flags",
"tour_step",
"trial_mode",
"trial_mode_new",