Skip to content

Commit 4a1548e

Browse files
committed
Forgot remove extra variables after changing length of parameter tuple being passed in
1 parent 73beba4 commit 4a1548e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/instrument_server/test_api.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
from murfey.util import posix_path
1010

1111
test_upload_gain_reference_params_matrix = (
12-
# Rsync URL
12+
# Rsync URL settings
1313
("http://1.1.1.1",), # When rsync_url is provided
1414
("",), # When rsync_url is blank
1515
(None,), # When rsync_url not provided
@@ -24,11 +24,11 @@ def test_upload_gain_reference(
2424
mock_request,
2525
mock_get_server_url,
2626
mock_subprocess,
27-
test_params: tuple[Optional[str], str, str],
27+
test_params: tuple[Optional[str]],
2828
):
2929

3030
# Create a mock machine config base on the test params
31-
rsync_url_setting, rsync_module, gain_ref_dir = test_params
31+
(rsync_url_setting,) = test_params
3232
server_url = "http://0.0.0.0:8000"
3333
rsync_module = "data"
3434
gain_ref_dir = "C:/ProgramData/Gatan/Gain Reference"

0 commit comments

Comments
 (0)