Description
Test failure
What I Did
Running pytest
============================= test session starts ==============================
platform linux -- Python 3.10.10, pytest-7.2.1, pluggy-1.0.0
rootdir: /build/faraday_agent_parameters_types-1.2.0, configfile: setup.cfg
collected 49 items
tests/test_faraday_agent_parameters_types.py ........................... [ 55%]
................ [ 87%]
tests/test_manifests.py .....F [100%]
=================================== FAILURES ===================================
___________ Test_manifests_versions. ___________
self = <tests.test_manifests.Test_manifests_versions object at 0x7ffff5fc8d00>
def test_incorrect_version_requested(self):
with pytest.raises(ValueError) as error:
get_manifests("hola")
> assert "Version requested not valid" in str(error.value)
E assert 'Version requested not valid' in "Invalid version: 'hola'"
E + where "Invalid version: 'hola'" = str(InvalidVersion("Invalid version: 'hola'"))
E + where InvalidVersion("Invalid version: 'hola'") = <ExceptionInfo InvalidVersion("Invalid version: 'hola'") tblen=4>.value
tests/test_manifests.py:68: AssertionError
=============================== warnings summary ===============================
Description
Test failure
What I Did
Running
pytest