mirror of
https://github.com/ivan-usov-org/bec.git
synced 2025-04-22 02:20:02 +02:00
test: fixed tests after renaming fit to run test: fixed test after refactoring test: added more tests
15 lines
388 B
Python
15 lines
388 B
Python
from unittest import mock
|
|
|
|
from bec_lib import ServiceConfig
|
|
|
|
from data_processing.dap_server import DAPServer
|
|
from data_processing.dap_service import DAPServiceBase
|
|
|
|
|
|
def test_dap_server():
|
|
config = ServiceConfig()
|
|
server = DAPServer(
|
|
config=config, connector_cls=mock.MagicMock(), provided_services=DAPServiceBase
|
|
)
|
|
assert server._service_id == "DAPServiceBase"
|