Add OpenDaylightTesting unit tests 17/23217/4
authorCédric Ollivier <cedric.ollivier@orange.com>
Sat, 15 Oct 2016 17:17:13 +0000 (19:17 +0200)
committerJose Lausuch <jose.lausuch@ericsson.com>
Tue, 18 Oct 2016 14:03:28 +0000 (14:03 +0000)
commitd04a2af1d4864014492702a8a48bf1171cae6bcb
tree5b7204ff3bef35325163d8b480144e0b20ca7244
parentd4f57cb256542e42cfafd586b8c9ef025e6ef005
Add OpenDaylightTesting unit tests

It adds unit tests checking OpenDaylightTesting.
Several minor issues have also been fixed in this module when writing
these unit tests:
 - the exceptions raised by main are caught when the testcases are
   launched from cmdline,
 - a warning message indicates that the temporarily files cannot be
   removed.

JIRA: FUNCTEST-512

Change-Id: I873f0bbf4c3b7f416ca5515580e8aeab90773fdc
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
testcases/Controllers/ODL/OpenDaylightTesting.py
testcases/Controllers/ODL/OpenDaylightUnitTesting.py [new file with mode: 0755]