summaryrefslogtreecommitdiffstats
path: root/testcases/Controllers/ONOS/Teston/CI/adapters/connection.py
diff options
context:
space:
mode:
authorlanqinglong <lanqinglong@huawei.com>2015-10-16 16:49:08 +0800
committerlanqinglong <lanqinglong@huawei.com>2015-10-16 17:30:28 +0800
commit15a6d133f8c7689df58306656cc1c6cff46496d5 (patch)
treea786ccbfc613ee1ac7793a4e183bb76041240386 /testcases/Controllers/ONOS/Teston/CI/adapters/connection.py
parentb26ce9549342625bded0fb81434f58bf4ccd9ba3 (diff)
Move the configuration from test scripts to config_functest.yaml
JIRA:FUNCTEST-77 The configuration is in onos test files Get them out, put in config_functest.yaml Change-Id: I3f7b868b61a7e66596f7c0cc232c5b045d77aecb Signed-off-by: lanqinglong <lanqinglong@huawei.com>
Diffstat (limited to 'testcases/Controllers/ONOS/Teston/CI/adapters/connection.py')
-rw-r--r--testcases/Controllers/ONOS/Teston/CI/adapters/connection.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/testcases/Controllers/ONOS/Teston/CI/adapters/connection.py b/testcases/Controllers/ONOS/Teston/CI/adapters/connection.py
index 1d96a49d5..f7f283ed0 100644
--- a/testcases/Controllers/ONOS/Teston/CI/adapters/connection.py
+++ b/testcases/Controllers/ONOS/Teston/CI/adapters/connection.py
@@ -175,7 +175,7 @@ class connection( foundation ):
"""
Intergrate for ONOS connection setup
"""
- if self.masterusername is 'root':
+ if self.masterusername == 'root':
filepath = '/root/'
else :
filepath = '/home/' + self.masterusername + '/'