File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 33from unittest .mock import ANY , MagicMock , Mock , patch
44from urllib .parse import urlparse
55
6+ import pytest
67from fastapi import FastAPI
78from fastapi .testclient import TestClient
8- from pytest import mark
99from pytest_mock import MockerFixture
1010
1111from murfey .instrument_server .api import GainReference , _get_murfey_url
@@ -38,7 +38,7 @@ def set_up_test_client(session_id: Optional[int] = None):
3838)
3939
4040
41- @mark .parametrize ("test_params" , test_get_murfey_url_params_matrix )
41+ @pytest . mark .parametrize ("test_params" , test_get_murfey_url_params_matrix )
4242def test_get_murfey_url (
4343 test_params : tuple [str ],
4444 mock_client_configuration , # From conftest.py
@@ -98,7 +98,7 @@ def test_check_multigrid_controller_exists(mocker: MockerFixture):
9898)
9999
100100
101- @mark .parametrize ("test_params" , test_upload_gain_reference_params_matrix )
101+ @pytest . mark .parametrize ("test_params" , test_upload_gain_reference_params_matrix )
102102@patch ("murfey.instrument_server.api.subprocess" )
103103@patch ("murfey.instrument_server.api.tokens" )
104104@patch ("murfey.instrument_server.api._get_murfey_url" )
You can’t perform that action at this time.
0 commit comments