File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -166,7 +166,7 @@ def setup_method(self):
166166 @pytest .fixture
167167 def mock_influx_client (self ):
168168 """Mock InfluxDB client for testing."""
169- with patch ("influxdb_client .InfluxDBClient" ) as mock :
169+ with patch ("src.services.influx .InfluxDBClient" ) as mock :
170170 client = MagicMock ()
171171 mock .return_value = client
172172 yield client
@@ -206,7 +206,7 @@ def test_lazy_initialization(self):
206206 # Before first access, instance should be None
207207 assert Influx ._instance is None
208208
209- with patch ("influxdb_client .InfluxDBClient" ) as mock_client :
209+ with patch ("src.services.influx .InfluxDBClient" ) as mock_client :
210210 mock = MagicMock ()
211211 mock_client .return_value = mock
212212
@@ -357,7 +357,7 @@ def mock_logger(self):
357357 @pytest .fixture
358358 def mock_influx_client (self ):
359359 """Mock InfluxDB client for testing."""
360- with patch ("influxdb_client .InfluxDBClient" ) as mock :
360+ with patch ("src.services.influx .InfluxDBClient" ) as mock :
361361 client = MagicMock ()
362362 mock .return_value = client
363363 yield client
You can’t perform that action at this time.
0 commit comments