File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff 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
5151test_upload_gain_reference_params_matrix = (
You can’t perform that action at this time.
0 commit comments