We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6cc5c53 commit cc6477eCopy full SHA for cc6477e
tests/instrument_server/test_api.py
@@ -45,9 +45,10 @@ def test_get_murfey_url(
45
original_url = str(mock_client_configuration["Murfey"].get("server"))
46
if not original_url.startswith(("http://", "https://")):
47
original_url = f"http://{original_url}"
48
+
49
+ # Check that the components of the result match those in the config
50
parsed_original = urlparse(original_url)
51
parsed_server = urlparse(known_server)
- # Check that the components of the result match those in the config
52
assert parsed_server.scheme in ("http", "https")
53
assert parsed_server.hostname == parsed_original.hostname
54
assert parsed_server.port == parsed_original.port
0 commit comments