Thomas Ubensee
Thomas Ubensee
The integration test https://github.com/exasol/pyexasol/blob/master/test/integration/connection_test.py can be converted to a unit test as all external dependencies are already mocked.
The tests in https://github.com/exasol/pyexasol/blob/master/test/integration/dsn_test.py could be a unit test. The function `ExaConnection._process_dsn()` uses only `ExaConnection._resolve_hostname()` which can easily be mocked.
# Summary Some integration tests can be converted to faster unit tests, as they do not need an running docker-db. # Details Some tests are implemented as integration tests, but...
### Checklist In order to speedup fixing the bug, please make sure you address as many items from the following checklist as possible. - [x] I have reproduced the issue...