Skip to content

Commit

Permalink
style fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ccmao1130 committed Feb 11, 2025
1 parent b934d8c commit f58f028
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_scarf_telemetry.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def test_scarf_telemetry_basic(
mock_version: MagicMock,
mock_build_type: MagicMock,
):
# Test basic functionality of scarf_telemetry verify that analytics are successfully sent and url is properly formatted with all required paramters
# Test basic functionality of scarf_telemetry verify that analytics are successfully sent and url is properly formatted with all required parameters

# Set up mocks for version and build_type
mock_version.return_value = "0.0.0"
Expand All @@ -30,7 +30,7 @@ def test_scarf_telemetry_basic(
assert response_status == "Response status: 200"
assert runner_type == "ray"

# Verify URL format and paramters
# Verify URL format and parameters
called_url = mock_urlopen.call_args[0][0]
assert called_url.startswith("https://daft.gateway.scarf.sh/daft-runner?")
assert "version=0.0.0" in called_url
Expand Down

0 comments on commit f58f028

Please sign in to comment.