Merge pull request #605 from openweave/feature/delete-pwd
delete default test password
diff --git a/src/test-apps/happy/test-templates/ServiceAccountManager.py b/src/test-apps/happy/test-templates/ServiceAccountManager.py
index 35fba73..f63c46b 100644
--- a/src/test-apps/happy/test-templates/ServiceAccountManager.py
+++ b/src/test-apps/happy/test-templates/ServiceAccountManager.py
@@ -167,17 +167,12 @@
self.host = self.host.replace('home.', '')
if not self.username:
- self.username = "test-it+pairing1@nestlabs.com"
- emsg = "ServiceAccountManager: using default weave_service_username %s." % (
- self.username)
- self.logger.debug(emsg)
+ emsg = "ServiceAccountManager: please provide username"
+ raise ValueError(emsg)
if not self.password:
- # Check if service password is set
- self.password = "nest-egg123"
- emsg = "ServiceAccountManager: using default weave_service_password %s." % (
- self.password)
- self.logger.debug(emsg)
+ emsg = "ServiceAccountManager: please provide password"
+ raise ValueError(emsg)
self.params = json.dumps(
{'email': self.username, 'username': self.username, 'password': self.password})
diff --git a/src/test-apps/happy/tests/service/pairing/test_weave_pairing_01.py b/src/test-apps/happy/tests/service/pairing/test_weave_pairing_01.py
index 3d7206e..03415f3 100755
--- a/src/test-apps/happy/tests/service/pairing/test_weave_pairing_01.py
+++ b/src/test-apps/happy/tests/service/pairing/test_weave_pairing_01.py
@@ -85,7 +85,7 @@
self.username = os.environ.get("WEAVE_USERNAME", "test-it+weave_happy_fabric%s@nestlabs.com" % self.fabric_id)
- self.password = os.environ.get("WEAVE_PASSWORD", "nest-egg123")
+ self.password = os.environ.get("WEAVE_PASSWORD")
self.initial_device_index = int(os.environ.get("INITIAL_DEVICE_INDEX", "1"))