Outsource PCE tests scripts into a separate folder 70/96570/12
authorGuillaume Lambert <guillaume.lambert@orange.com>
Mon, 21 Jun 2021 07:56:11 +0000 (09:56 +0200)
committerguillaume.lambert <guillaume.lambert@orange.com>
Tue, 17 Aug 2021 23:05:44 +0000 (01:05 +0200)
PCE tests are loosely coupled to a specific version of OpenROADM devices
and does not launch any simulator contrary to other functional tests.
Moving them to a separate folder will ease tests management in the gate.

JIRA: TRNSPRTPCE-482
Signed-off-by: Guillaume Lambert <guillaume.lambert@orange.com>
Change-Id: Ide600a3c371b35114b594f119f3a10cb3aed310e

tests/transportpce_tests/pce/test_pce.py [moved from tests/transportpce_tests/1.2.1/test_pce.py with 100% similarity]
tests/transportpce_tests/pce/test_pce_400G.py [moved from tests/transportpce_tests/7.1/test_pce_400G.py with 100% similarity]
tox.ini

diff --git a/tox.ini b/tox.ini
index 9cd2a744e4f195e04baf3540faca985df88ee116..92b8b4fed6a610cb0f05a6a817c9450d4c70f219 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -1,6 +1,6 @@
 [tox]
 minversion = 3.7.0
-envlist = buildcontroller,sims121,tests121,sims221,tests221,sims71,tests71,tests_hybrid
+envlist = buildcontroller,testsPCE,sims121,tests121,sims221,tests221,sims71,tests71,tests_hybrid
     docs
     docs-linkcheck
     checkbashisms
@@ -64,14 +64,20 @@ depends = buildcontroller
 commands =
   - sh -c "./install_honeynode.sh 7.1"
 
+[testenv:testsPCE]
+depends = buildcontroller
+commands =
+  nosetests --with-xunit transportpce_tests/pce/test_pce.py
+  nosetests --with-xunit transportpce_tests/pce/test_pce_400G.py
+
 [testenv:tests121]
-depends = buildcontroller,sims121
+depends = buildcontroller,sims121,testsPCE
+#the last dependency is to avoid temporarily concurrent ressources problem to fix in parallel mode
 commands =
   nosetests --with-xunit transportpce_tests/1.2.1/test_portmapping.py
   nosetests --with-xunit transportpce_tests/1.2.1/test_topo_portmapping.py
   nosetests --with-xunit transportpce_tests/1.2.1/test_topology.py
   nosetests --with-xunit transportpce_tests/1.2.1/test_renderer_service_path_nominal.py
-  nosetests --with-xunit transportpce_tests/1.2.1/test_pce.py
   nosetests --with-xunit transportpce_tests/1.2.1/test_olm.py
   nosetests --with-xunit transportpce_tests/1.2.1/test_end2end.py
 
@@ -95,8 +101,6 @@ commands =
 depends = buildcontroller,sims71,tests221
 #the last dependency is to avoid temporarily concurrent ressources problem to fix in parallel mode
 commands =
-  nosetests --with-xunit transportpce_tests/7.1/test_pce_400G.py
-  #NB: test pce_400G above does not depend on sims71
   nosetests --with-xunit transportpce_tests/7.1/test_portmapping.py
 
 [testenv:tests_hybrid]