WIP
This commit is contained in:
@@ -8,18 +8,14 @@ import typeguard
|
|||||||
from ophyd import StatusBase
|
from ophyd import StatusBase
|
||||||
from websockets import WebSocketException
|
from websockets import WebSocketException
|
||||||
|
|
||||||
from tomcat_bec.devices.gigafrost.std_daq_client import (
|
from tomcat_bec.devices.gigafrost.std_daq_client import StdDaqClient, StdDaqError, StdDaqStatus
|
||||||
StdDaqClient,
|
|
||||||
StdDaqError,
|
|
||||||
StdDaqStatus,
|
|
||||||
)
|
|
||||||
|
|
||||||
|
|
||||||
@pytest.fixture
|
@pytest.fixture
|
||||||
def client():
|
def client():
|
||||||
parent_device = mock.MagicMock()
|
parent_device = mock.MagicMock()
|
||||||
_client = StdDaqClient(
|
_client = StdDaqClient(
|
||||||
parent=parent_device, ws_url="http://localhost:5000", rest_url="http://localhost:5000"
|
parent=parent_device, ws_url="ws://localhost:5000", rest_url="http://localhost:5000"
|
||||||
)
|
)
|
||||||
yield _client
|
yield _client
|
||||||
_client.shutdown()
|
_client.shutdown()
|
||||||
|
|||||||
Reference in New Issue
Block a user