metno / discovery-metadata-catalog-ingestor

Apache License 2.0
1 stars 1 forks source link

Tests fail when run alone #247

Closed mortenwh closed 2 weeks ago

mortenwh commented 2 weeks ago

Example:

$ python -m pytest -v -s tests/test_dist/test_pycsw_dist.py::testDistPyCSW_Insert

....
E           AssertionError: assert (False, 'None...d to insert.') == (False, 'http...d to insert.')
E             At index 1 diff: 'None: service unavailable. Failed to insert.' != 'http://localhost: service unavailable. Failed to insert.'
E             Full diff:
E             - (False, 'http://localhost: service unavailable. Failed to insert.')
E             ?          ^^^^ ------------
E             + (False, 'None: service unavailable. Failed to insert.')
E             ?          ^^^^

tests/test_dist/test_pycsw_dist.py:94: AssertionError