File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -61,13 +61,11 @@ 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" )
6564@patch ("murfey.instrument_server.api._get_murfey_url" )
6665@patch ("murfey.instrument_server.api.requests" )
6766def test_upload_gain_reference (
6867 mock_request ,
6968 mock_get_server_url ,
70- mock_tokens ,
7169 mock_subprocess ,
7270 test_params : tuple [Optional [str ]],
7371):
@@ -97,9 +95,7 @@ def test_upload_gain_reference(
9795 mock_subprocess .run .return_value = Mock (
9896 returncode = 0 , stderr = "An error has occurred."
9997 )
100- # mock_tokens = {
101- # session_id: "hello",
102- # }
98+
10399 # Construct payload and pass request to function
104100 gain_ref_file = f"{ gain_ref_dir } /gain.mrc"
105101 visit_path = "2025/aa00000-0"
You can’t perform that action at this time.
0 commit comments