aboutsummaryrefslogtreecommitdiffstats
path: root/testcases/Controllers/ONOS/Teston/CI/adapters/environment.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/environment.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/environment.py')
-rw-r--r--testcases/Controllers/ONOS/Teston/CI/adapters/environment.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/testcases/Controllers/ONOS/Teston/CI/adapters/environment.py b/testcases/Controllers/ONOS/Teston/CI/adapters/environment.py
index ea1a836da..bdd0e122e 100644
--- a/testcases/Controllers/ONOS/Teston/CI/adapters/environment.py
+++ b/testcases/Controllers/ONOS/Teston/CI/adapters/environment.py
@@ -158,7 +158,7 @@ class environment( connection ):
password: onos&compute node password
"""
print "Now Changing " + testcase + " name&password"
- if self.masterusername is 'root':
+ if self.masterusername == 'root':
filepath = '/root/'
else :
filepath = '/home/' + self.masterusername + '/'