From 2aa78bdb5b21ac54b2f1183001c7466e59952c29 Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Wed, 12 Oct 2016 15:07:03 +0200 Subject: Use importlib to load testcases MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It modifies run_tests.py to dynamically execute testcases and then removes the test condition about odl. It also induces that the modules and the related classes must be defined in ci/testcases.yaml. JIRA: FUNCTEST-353 Change-Id: I6ad67b70624aac6bf805c9bde4dfef7c9fbd5c00 Signed-off-by: Cédric Ollivier --- ci/testcases.yaml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ci/testcases.yaml') diff --git a/ci/testcases.yaml b/ci/testcases.yaml index 02b69ec8b..22509e611 100644 --- a/ci/testcases.yaml +++ b/ci/testcases.yaml @@ -92,6 +92,9 @@ tiers: dependencies: installer: '' scenario: 'odl' + run: + module: 'functest.testcases.Controllers.ODL.OpenDaylightTesting' + class: 'ODLTestCases' - name: onos -- cgit 1.2.3-korg