Skip to content

Commit cc6477e

Browse files
committed
Rearranged code in blocks according to purpose
1 parent 6cc5c53 commit cc6477e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/instrument_server/test_api.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,10 @@ def test_get_murfey_url(
4545
original_url = str(mock_client_configuration["Murfey"].get("server"))
4646
if not original_url.startswith(("http://", "https://")):
4747
original_url = f"http://{original_url}"
48+
49+
# Check that the components of the result match those in the config
4850
parsed_original = urlparse(original_url)
4951
parsed_server = urlparse(known_server)
50-
# Check that the components of the result match those in the config
5152
assert parsed_server.scheme in ("http", "https")
5253
assert parsed_server.hostname == parsed_original.hostname
5354
assert parsed_server.port == parsed_original.port

0 commit comments

Comments
 (0)