Ticket:Projection

Hi Team,

I’m unable to figure the error message, is that something related to configuration?
TypeError: object of type ‘ConfigurationError’ has no len()

tests\test_projection.py FF [100%]

================================== FAILURES ===================================
________________________ test_basic_country_search_db _________________________

client = <FlaskClient <Flask ‘mflix.factory’>>

@pytest.mark.projection
def test_basic_country_search_db(client):
    countries = ['Kosovo']
    result = get_movies_by_country(countries)
  assert len(result) == 2

E TypeError: object of type ‘ConfigurationError’ has no len()

tests\test_projection.py:15: TypeError
_____________________ test_basic_country_search_shape_db ______________________

client = <FlaskClient <Flask ‘mflix.factory’>>

@pytest.mark.projection
def test_basic_country_search_shape_db(client):
    countries = ['Russia', 'Japan']
    result = get_movies_by_country(countries)
  assert len(result) == 1237

E TypeError: object of type ‘ConfigurationError’ has no len()

tests\test_projection.py:22: TypeError
============================= 41 tests deselected =============================
=================== 2 failed, 41 deselected in 2.25 seconds ===================

Rather than cut-n-paste the part of the output you think is import, please provide a screenshot. Sometimes the context is more important that the output.

Have you activated the virtual environment?

Did you rename whatever file to .ini?