Error while running the pytest -m connection

Hi everyone,
I am getting a strange error while running the pytest -m connection after setting up the project as described.
In fact, the error is the following :
> ======================================================================================= FAILURES =======================================================================================
> ___________________________________________________________________________________ test_atlas_setup ___________________________________________________________________________________
>
> client = <FlaskClient <Flask ‘mflix.factory’>>
> config = <Config {‘DEBUG’: False, ‘TESTING’: False, ‘PROPAGATE_EXCEPTIONS’: True, ‘PRESERVE_CONTEXT_ON_EXCEPTION’: None, 'SECRE…de0d0>, ‘MFLIX_NS’: ‘sample_mflix’, ‘MFLIX_DB_URI’: ‘mongodb+srv://m220student:m220password@txmkdir.3kknj.mongodb.net’}>
>
> @pytest.mark.connection
> @pytest.mark.usefixtures(‘config’)
> def test_atlas_setup(client, config):
> result = get_coll_names(config)
> > assert all(x in result for x in [‘users’, ‘comments’, ‘movies’])
> E assert False
> E + where False = all(<generator object test_atlas_setup.. at 0x7f78184d9580>)
>
> tests/test_db_connection.py:25: AssertionError
> __________________________________________________________________________________ test_basic_movies ___________________________________________________________________________________
>
> client = <FlaskClient <Flask ‘mflix.factory’>>
>
> @pytest.mark.connection
> def test_basic_movies(client):
> (actual, num_found) = get_movies({}, 0, 20)
> > assert num_found == 23530
> E assert 0 == 23530
>
> tests/test_db_connection.py:32: AssertionError
> _______________________________________________________________________________ test_search_by_movie_id ________________________________________________________________________________
>
> client = <FlaskClient <Flask ‘mflix.factory’>>
>
> @pytest.mark.connection
> def test_search_by_movie_id(client):
> actual = get_movie(“573a13acf29313caabd29647”)
> > assert actual[‘title’] == ‘King Kong’
> E TypeError: ‘NoneType’ object is not subscriptable
>
> tests/test_db_connection.py:39: TypeError
> _______________________________________________________________________________ test_simple_text_search ________________________________________________________________________________
>
> client = <FlaskClient <Flask ‘mflix.factory’>>
>
> @pytest.mark.connection
> def test_simple_text_search(client):
> (actual, _) = get_movies({"$text": {"$search": “King Kong”}}, 0, 20)
> > assert len(list(actual)) >= 4
> E assert 0 >= 4
> E + where 0 = len()
> E + where = list()
>
> tests/test_db_connection.py:45: AssertionError
> ================================================================================= 39 tests deselected ==================================================================================
> ======================================================================= 4 failed, 39 deselected in 0.90 seconds ========================================================================

Is your connect string correct?
Can you connect from shell?

I solved the issue.
In fact I needed the sample_mflix database.
Thanks a lot!