aboutsummaryrefslogtreecommitdiffstats
path: root/testcases/Controllers/ONOS/Teston/CI/adapters/environment.py
diff options
context:
space:
mode:
authorMorgan Richomme <morgan.richomme@orange.com>2015-10-16 11:54:44 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2015-10-16 11:54:44 +0000
commitb68e0fc717fb462790250bfb0b6ecddc13ae4c51 (patch)
tree24e2bf38018b45dd6740e4cd7d524ac04d156f9d /testcases/Controllers/ONOS/Teston/CI/adapters/environment.py
parent31fec5a3682a38f1124766cde116aea6a5d69bd4 (diff)
parent15a6d133f8c7689df58306656cc1c6cff46496d5 (diff)
Merge "Move the configuration from test scripts to config_functest.yaml"
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 ea1a836d..bdd0e122 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 + '/'