Getting bellow error while checking connection pooling get_db()
C:\M220P\mflix-python>pytest -m connection_pooling
============================= test session starts =============================
platform win32 – Python 3.7.3, pytest-3.3.0, py-1.8.0, pluggy-0.6.0
rootdir: C:\M220P\mflix-python, inifile:
plugins: remotedata-0.3.1, openfiles-0.3.2, flask-0.10.0, doctestplus-0.3.0, arraydiff-0.3
collected 43 items
tests\test_connection_pooling.py F [100%]
================================== FAILURES ===================================
_____________________________ test_max_pool_size ______________________________
client = <FlaskClient <Flask ‘mflix.factory’>>
@pytest.mark.connection_pooling
def test_max_pool_size(client):
(pool_size, _, _) = get_configuration()
assert pool_size == 50
E assert 100 == 50
tests\test_connection_pooling.py:14: AssertionError
============================= 42 tests deselected =============================
=================== 1 failed, 42 deselected in 5.24 seconds ===================