Skip to content

Commit 102a772

Browse files
committed
consistant name
1 parent 1cc0c1f commit 102a772

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

sdk/appconfiguration/azure-appconfiguration-provider/azure/appconfiguration/provider/_request_tracing_context.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ def update_correlation_context_header(
198198
key_values.append((MAX_VARIANTS_KEY, str(self.max_variants)))
199199

200200
# Add feature flag features if present
201-
ff_features_string = self._create_ff_feature_string()
201+
ff_features_string = self._create_ff_features_string()
202202
if ff_features_string:
203203
key_values.append((FF_FEATURES_KEY, ff_features_string))
204204

@@ -279,7 +279,7 @@ def _create_features_string(self) -> str:
279279

280280
return Delimiter.join(features_list)
281281

282-
def _create_ff_feature_string(self) -> str:
282+
def _create_ff_features_string(self) -> str:
283283
"""
284284
Generate the features string for feature flag usage tracking.
285285

sdk/appconfiguration/azure-appconfiguration-provider/tests/test_request_tracing_context.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,15 +89,15 @@ def test__create_features_string_with_features(self):
8989

9090
def test__create_ff_features_string_empty(self):
9191
"""Test _create_feature_string with no FF features enabled."""
92-
result = self.context._create_ff_feature_string()
92+
result = self.context._create_ff_features_string()
9393
self.assertEqual(result, "")
9494

9595
def test__create_ff_features_string_with_features(self):
96-
"""Test _create_ff_feature_string with FF features enabled."""
96+
"""Test _create_ff_features_string with FF features enabled."""
9797
self.context.uses_seed = True
9898
self.context.uses_telemetry = True
9999

100-
result = self.context._create_ff_feature_string()
100+
result = self.context._create_ff_features_string()
101101
expected = f"{FEATURE_FLAG_USES_SEED_TAG}+{FEATURE_FLAG_USES_TELEMETRY_TAG}"
102102
self.assertEqual(result, expected)
103103

0 commit comments

Comments
 (0)