Skip to content

Commit 54b20eb

Browse files
committed
fix url
1 parent 21585fb commit 54b20eb

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

tests/test_configuration.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ def test_property_precedence_internal_over_env(
151151
# Test with a few representative keys
152152
test_cases = [
153153
("splunk_ao_api_key", "env-key", "internal-key"),
154-
("console_url", "https://env.Splunk AO.ai", "https://internal.Splunk AO.ai"),
154+
("console_url", "https://env.splunkao.ai", "https://internal.splunkao.ai"),
155155
("default_project_name", "env-project", "internal-project"),
156156
]
157157

@@ -172,7 +172,7 @@ def test_env_file_loading_sets_environment_variables(
172172
# Create .env file with test values
173173
mock_env_file.write_text(
174174
'SPLUNK_AO_API_KEY="env-file-key"\n'
175-
'SPLUNK_AO_CONSOLE_URL="https://envfile.Splunk AO.ai"\n'
175+
'SPLUNK_AO_CONSOLE_URL="https://envfile.splunkao.ai"\n'
176176
'OPENAI_API_KEY="env-file-openai"\n'
177177
)
178178

@@ -181,7 +181,7 @@ def test_env_file_loading_sets_environment_variables(
181181

182182
# Verify env file was loaded
183183
assert api_key == "env-file-key"
184-
assert Configuration.console_url == "https://envfile.Splunk AO.ai"
184+
assert Configuration.console_url == "https://envfile.splunkao.ai"
185185
assert Configuration.openai_api_key == "env-file-openai"
186186

187187
def test_env_file_does_not_override_existing_env_vars(
@@ -271,7 +271,7 @@ def test_connect_succeeds_with_valid_configuration(
271271

272272
# Set valid configuration
273273
monkeypatch.setenv("SPLUNK_AO_API_KEY", "valid-key")
274-
monkeypatch.setenv("SPLUNK_AO_CONSOLE_URL", "https://app.Splunk AO.ai")
274+
monkeypatch.setenv("SPLUNK_AO_CONSOLE_URL", "https://app.splunkao.ai")
275275

276276
# Connect should succeed without raising
277277
Configuration.connect()
@@ -316,7 +316,7 @@ def test_connect_fails_without_api_key(
316316
_, log_stream = capture_logs
317317

318318
# Set only console URL
319-
monkeypatch.setenv("SPLUNK_AO_CONSOLE_URL", "https://app.Splunk AO.ai")
319+
monkeypatch.setenv("SPLUNK_AO_CONSOLE_URL", "https://app.splunkao.ai")
320320

321321
# Should raise ConfigurationError
322322
with pytest.raises(ConfigurationError) as exc_info:
@@ -351,7 +351,7 @@ def test_connect_handles_different_error_types(
351351

352352
# Set valid configuration
353353
monkeypatch.setenv("SPLUNK_AO_API_KEY", "valid-key")
354-
monkeypatch.setenv("SPLUNK_AO_CONSOLE_URL", "https://app.Splunk AO.ai")
354+
monkeypatch.setenv("SPLUNK_AO_CONSOLE_URL", "https://app.splunkao.ai")
355355

356356
# Mock SplunkAOConfig.get to raise appropriate error
357357
mock_config_get.side_effect = Exception(error_message)
@@ -455,7 +455,7 @@ def test_get_configuration_returns_all_keys(self, clean_env: None, reset_configu
455455
"""Test get_configuration() returns all keys from CONFIGURATION_KEYS."""
456456
# Set a few values
457457
Configuration.splunk_ao_api_key = "test-key"
458-
Configuration.console_url = "https://test.Splunk AO.ai"
458+
Configuration.console_url = "https://test.splunkao.ai"
459459

460460
config = Configuration.get_configuration()
461461

0 commit comments

Comments
 (0)