Align 1.2.1 tests sims/tpce management to 2.2.1 97/90497/3
authorguillaume.lambert <guillaume.lambert@orange.com>
Thu, 18 Jun 2020 10:43:04 +0000 (12:43 +0200)
committerguillaume.lambert <guillaume.lambert@orange.com>
Mon, 22 Jun 2020 08:11:01 +0000 (10:11 +0200)
commitf4d7679be9ffcc5ef14241cbfe9040c1c177b260
treeefb744a9144436bbd0f5f3b58b83e2da8d4c6609
parent4f3da80ad8db26626a9ecb14c0277431d4a4e416
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]