diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2016-09-01 13:52:28 +0200 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2016-09-01 14:32:29 +0200 |
commit | 0ae5f5fc64868e8c68eb330fa5aa219abdbdfee0 (patch) | |
tree | 13752733622c83cc0af22999cb1bc547f00c4a37 /testcases/Controllers/ONOS/Teston/adapters/foundation.py | |
parent | 470f573a3ac2eb1783efec6da01a3bee33360c65 (diff) |
Switch print to logging.info
It follows the recommendations described in the next review [1].
[1] https://gerrit.opnfv.org/gerrit/#/c/19795/
Change-Id: Ie7ce28451122c554f135caad068844c0303deaeb
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'testcases/Controllers/ONOS/Teston/adapters/foundation.py')
-rw-r--r-- | testcases/Controllers/ONOS/Teston/adapters/foundation.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/testcases/Controllers/ONOS/Teston/adapters/foundation.py b/testcases/Controllers/ONOS/Teston/adapters/foundation.py index 70c84ac02..3fae2a5d2 100644 --- a/testcases/Controllers/ONOS/Teston/adapters/foundation.py +++ b/testcases/Controllers/ONOS/Teston/adapters/foundation.py @@ -16,8 +16,8 @@ import logging import os import re import time - import yaml + from functest.utils.functest_utils import FUNCTEST_REPO as FUNCTEST_REPO @@ -49,7 +49,6 @@ class foundation: filemode='w') filelog = logging.FileHandler(self.logfilepath) logging.getLogger('Functest').addHandler(filelog) - print loginfo logging.info(loginfo) def getdefaultpara(self): |