Tests are failing in devcontainer
vscode ➜ /workspaces/netlab/tests (dev) $ PYTHONPATH="../" python3 -m pytest --tb=no -k 'xform_ or error_cases'
================================================================================================ test session starts =================================================================================================
platform linux -- Python 3.11.15, pytest-9.0.3, pluggy-1.6.0
rootdir: /workspaces/netlab
collected 5 items / 3 deselected / 2 selected
test_transformation.py FF [100%]
============================================================================================== short test summary info ===============================================================================================
FAILED test_transformation.py::test_xform_cases - AssertionError: assert 'nodes:\n c_...er: libvirt\n' == 'input:\n- to...er: libvirt\n'
FAILED test_transformation.py::test_error_cases - assert ['IncorrectVa...= 65535', ...] == ['IncorrectVa...= 65535', ...]
========================================================================================== 2 failed, 3 deselected in 17.36s ==========================================================================================
vscode ➜ /workspaces/netlab/tests (dev) $ history
1 pip3 install -r requirements-dev.txt
2 cd tests/
3 PYTHONPATH="../" python3 -m pytest --tb=no -k 'xform_ or error_cases'
4 history
vscode ➜ /workspaces/netlab/tests (dev) $
I also ran tests on pristine Ubuntu 24.04.4 LTS VM in GCP and I think they were working only until I ran netlab install ubuntu containerlab libvirt ansible.
Tests are failing in devcontainer
I also ran tests on pristine Ubuntu 24.04.4 LTS VM in GCP and I think they were working only until I ran
netlab install ubuntu containerlab libvirt ansible.