Remove one obsolete test in test_odl.py 93/47993/1
authorCédric Ollivier <cedric.ollivier@orange.com>
Wed, 29 Nov 2017 05:59:24 +0000 (06:59 +0100)
committerCédric Ollivier <cedric.ollivier@orange.com>
Wed, 29 Nov 2017 06:02:03 +0000 (07:02 +0100)
It completes "Create RobotFramework class" [1] which decreased
coverage to 99% (test_odl.py)

[1] https://gerrit.opnfv.org/gerrit/#/c/47841/

Change-Id: I2a2d448daeb6d1f50064588167cafd32e07aa502
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
functest/tests/unit/odl/test_odl.py

index a331a6f..ff25cd7 100644 (file)
@@ -178,9 +178,6 @@ class ODLMainTesting(ODLTesting):
                 report='NONE',
                 stdout=mock.ANY,
                 variable=variable)
-        if len(args) > 2:
-            args[2].assert_called_with(
-                os.path.join(self.test.res_dir, 'stdout.txt'))
 
     def _test_no_keyword(self, key):
         kwargs = self._get_run_suites_kwargs(key)