SIENTIAPDE-1174
Add metrics patch decorator to raw_opc_manager fixture for improved test isolation in test_opc_manager.py
This commit is contained in:
@@ -44,7 +44,8 @@ metadata = {
|
|||||||
|
|
||||||
|
|
||||||
@fixture
|
@fixture
|
||||||
def raw_opc_manager():
|
@patch("ingestor.managers.opc_manager.metrics")
|
||||||
|
def raw_opc_manager(mock_metrics):
|
||||||
return OpcManager(
|
return OpcManager(
|
||||||
name="TestConnector",
|
name="TestConnector",
|
||||||
url="opc.tcp://localhost:4840",
|
url="opc.tcp://localhost:4840",
|
||||||
|
|||||||
Reference in New Issue
Block a user