Align 1.2.1 tests sims/tpce management to 2.2.1 49/91149/1
authorguillaume.lambert <guillaume.lambert@orange.com>
Thu, 18 Jun 2020 10:43:04 +0000 (12:43 +0200)
committerGilles Thouenon <gilles.thouenon@orange.com>
Fri, 10 Jul 2020 13:15:45 +0000 (15:15 +0200)
commit5d7d347a267b2680280f880b0dd6b5943176c6db
tree67afa3e7ec6b7cfdf21e2e2a5bde78464b81510f
parent19dddec1c8bde3c0b764b9799c1806f665595b07
Align 1.2.1 tests sims/tpce management to 2.2.1

- move 2.2.1 test_utils.py to a common folder
  to make it resuable in 1.2.1 tests
- create 2 simulators.py files with version specific parameters
  to import them in test_utils
- use symlinks to by pass python relative import beyond top-level issues
- adapt functional tests code accordingly

Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: I81351ecc33a32bd7149bc9d16c4a8fa53bd4938c
24 files changed:
tests/transportpce_tests/1.2.1/common [new symlink]
tests/transportpce_tests/1.2.1/simulators.py [new file with mode: 0644]
tests/transportpce_tests/1.2.1/test_end2end.py
tests/transportpce_tests/1.2.1/test_gnpy.py
tests/transportpce_tests/1.2.1/test_olm.py
tests/transportpce_tests/1.2.1/test_pce.py
tests/transportpce_tests/1.2.1/test_portmapping.py
tests/transportpce_tests/1.2.1/test_renderer_service_path_nominal.py
tests/transportpce_tests/1.2.1/test_topoPortMapping.py
tests/transportpce_tests/1.2.1/test_topology.py
tests/transportpce_tests/1.2.1/test_utils.py [deleted file]
tests/transportpce_tests/2.2.1/common [new symlink]
tests/transportpce_tests/2.2.1/simulators.py [new file with mode: 0644]
tests/transportpce_tests/2.2.1/test_end2end.py
tests/transportpce_tests/2.2.1/test_olm.py
tests/transportpce_tests/2.2.1/test_otn_renderer.py
tests/transportpce_tests/2.2.1/test_otn_topology.py
tests/transportpce_tests/2.2.1/test_portmapping.py
tests/transportpce_tests/2.2.1/test_renderer_service_path_nominal.py
tests/transportpce_tests/2.2.1/test_tapi.py
tests/transportpce_tests/2.2.1/test_topoPortMapping.py
tests/transportpce_tests/2.2.1/test_topology.py
tests/transportpce_tests/common/simulators.py [new symlink]
tests/transportpce_tests/common/test_utils.py [moved from tests/transportpce_tests/2.2.1/test_utils.py with 88% similarity]