Outsource PCE tests scripts into a separate folder
[transportpce.git] / tox.ini
diff --git a/tox.ini b/tox.ini
index fba3315685d910b4caf8eb8bc84d1a2a99534e59..a9bb3f1956025734675f2cb996e284591ff1ee4a 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
+envlist = buildcontroller,testsPCE,sims121,tests121,sims221,tests221,sims71,tests71
     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:gnpy]