Skip to content

Commit 75c8e41

Browse files
committed
Turns out the token still needs to be mocked, oops
1 parent b27585c commit 75c8e41

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/instrument_server/test_api.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,13 @@ def test_get_murfey_url(
6161

6262
@mark.parametrize("test_params", test_upload_gain_reference_params_matrix)
6363
@patch("murfey.instrument_server.api.subprocess")
64+
@patch("murfey.instrument_server.api.tokens")
6465
@patch("murfey.instrument_server.api._get_murfey_url")
6566
@patch("murfey.instrument_server.api.requests")
6667
def test_upload_gain_reference(
6768
mock_request,
6869
mock_get_server_url,
70+
mock_tokens,
6971
mock_subprocess,
7072
test_params: tuple[Optional[str]],
7173
):

0 commit comments

Comments
 (0)