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 c37d5d9 commit 863a61cCopy full SHA for 863a61c
tests/instrument_server/test_api.py
@@ -11,6 +11,7 @@
11
upload_gain_reference,
12
)
13
from murfey.util import posix_path
14
+from murfey.util.api import url_path_for
15
16
test_get_murfey_url_params_matrix = (
17
# Server URL to use
@@ -119,7 +120,7 @@ def test_upload_gain_reference(
119
120
121
122
# Check that the machine config request was called
- machine_config_url = f"{server_url}/instruments/{instrument_name}/machine"
123
+ machine_config_url = f"{server_url}{url_path_for('session_control.router', 'machine_info_by_instrument', instrument_name=instrument_name)}"
124
mock_request.get.assert_called_once_with(
125
machine_config_url,
126
headers={"Authorization": ANY},
0 commit comments