Update GITHUB_BRANCH in values.yaml to feature/SIENTIAPDE-1325 for specific external operation metrics. Refactor shutdown methods in Activities class to ensure proper closure of MongoDB, Redis, and Gates connections. Adjust tests to reflect these changes and enhance repository pattern implementation for MongoDB and Redis activities.
13 lines
333 B
Python
13 lines
333 B
Python
from unittest.mock import patch
|
|
|
|
from pytest import fixture
|
|
|
|
|
|
@fixture(autouse=True, scope='session')
|
|
def sientia_monitoring_fixture():
|
|
with patch(
|
|
'sientia_do.observability.sientia_monitoring.SientiaMonitoring.__init__'
|
|
) as mock_sientia_monitoring:
|
|
mock_sientia_monitoring.return_value = None
|
|
yield
|