Skip to content

Commit 232bf35

Browse files
shirshankacClaudeclaude
authored
fix(smoke-tests): correct server config access in tracking test (#15092)
Co-authored-by: cclaude-session <[email protected]> Co-authored-by: Claude <[email protected]>
1 parent a5f823a commit 232bf35

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

smoke-test/tests/openapi/v1/test_tracking.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,7 @@ def test_tracking_api_mixpanel(auth_session, graph_client):
4343

4444
# Check if Mixpanel is enabled in server configuration
4545
graph_client.test_connection() # Hack: Needed to ensure that the server config is loaded
46-
if not graph_client.server_config.get("telemetry", {}).get(
47-
"enabledMixpanel", False
48-
):
46+
if not graph_client.get_config().get("telemetry", {}).get("enabledMixpanel", False):
4947
pytest.skip("Mixpanel is disabled in server configuration, skipping test")
5048

5149
# Test configuration

0 commit comments

Comments
 (0)