diff --git a/tests/test_http_helper.py b/tests/test_http_helper.py index f21aed0..3366799 100644 --- a/tests/test_http_helper.py +++ b/tests/test_http_helper.py @@ -65,6 +65,7 @@ def test_get_response_from_endpoint(mocker): mocker.patch( "pystatis.db.get_db_settings", return_value=("host", "user", "pw") ) + mocker.patch("pystatis.db.check_db_credentials", return_value=True) get_data_from_endpoint( endpoint="endpoint", method="method", params={"name": "21111-0001"}