fix(deprecation): remove all remaining .dumps(), .loads() and producer->connector

This commit is contained in:
2024-02-13 15:43:51 +01:00
committed by appel_c
parent a48bc73cc5
commit 4159f3e3ec
18 changed files with 81 additions and 88 deletions

View File

@ -296,13 +296,13 @@ class DeviceMock:
class DMMock:
"""Mock for DeviceManager
The mocked DeviceManager creates a device containert and a producer.
The mocked DeviceManager creates a device containert and a connector.
"""
def __init__(self):
self.devices = DeviceContainer()
self.producer = ProducerMock()
self.connector = ProducerMock()
def add_device(self, name: str, value: float = 0.0):
"""Add device to the DeviceManagerMock"""