Skip to content

Commit c196e6b

Browse files
committed
Code block shouldn't have to be indented
1 parent 7d08e2e commit c196e6b

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

tests/instrument_server/test_api.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,13 @@ def test_get_murfey_url(
3939
# has to happen inside the function instead of as a decorator
4040
with patch("murfey.instrument_server.api.config", mock_client_configuration):
4141
known_server = _get_murfey_url()
42-
parsed_server = urlparse(known_server)
43-
parsed_original = urlparse(
44-
str(mock_client_configuration["Murfey"].get("server"))
45-
)
46-
assert parsed_server.scheme in ("http", "https")
47-
assert parsed_server.netloc == parsed_original.netloc
48-
assert parsed_server.path == parsed_original.path
42+
43+
# Check that the components of the result match those in the config
44+
parsed_server = urlparse(known_server)
45+
parsed_original = urlparse(str(mock_client_configuration["Murfey"].get("server")))
46+
assert parsed_server.scheme in ("http", "https")
47+
assert parsed_server.netloc == parsed_original.netloc
48+
assert parsed_server.path == parsed_original.path
4949

5050

5151
test_upload_gain_reference_params_matrix = (

0 commit comments

Comments
 (0)