Closed willi-mueller closed 1 month ago
1.0
the mocking of sessions in tests/sources/helpers/rest_client/test_client.py is not idiomatic.
tests/sources/helpers/rest_client/test_client.py
use mocker.spy() and mocker.patch.object() respectively.
mocker.spy()
mocker.patch.object()
look at the code
Linux
Local
3.11
No response
dlt version
1.0
Describe the problem
the mocking of sessions in
tests/sources/helpers/rest_client/test_client.py
is not idiomatic.Expected behavior
use
mocker.spy()
andmocker.patch.object()
respectively.Steps to reproduce
look at the code
Operating system
Linux
Runtime environment
Local
Python version
3.11
dlt data source
No response
dlt destination
No response
Other deployment details
No response
Additional information
No response