Conform ODL to TestCasesBase 85/22985/4
authorCédric Ollivier <cedric.ollivier@orange.com>
Tue, 11 Oct 2016 13:42:56 +0000 (15:42 +0200)
committerCédric Ollivier <cedric.ollivier@orange.com>
Mon, 17 Oct 2016 07:14:01 +0000 (09:14 +0200)
commit6ba4e817cf71a69ddf6606dcc5005b8d8e8692e9
tree1f414e0ffb4ab7abf64e50c9e7f8ecbcca5d4708
parented47f47c4e08fb45dcdf6addee0eb6272dc13628
Conform ODL to TestCasesBase

Now ODLTestCases inherits from TestCasesBase what induces several
modifications of function definitions.
It also renames functest_run to run and run to main and they now
return the code status defined in TestCasesBase instead of True and
False (run_tests.py has been adapted as well).

It checks if errno is equal to EEXIST when makedir raises an OSError
exception.

JIRA: FUNCTEST-353

Change-Id: I88240a9ce8e491dab4c7e6c604f3ecc62cf9edce
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
ci/run_tests.py
testcases/Controllers/ODL/OpenDaylightTesting.py