aboutsummaryrefslogtreecommitdiffstats
path: root/app/test/fetch
diff options
context:
space:
mode:
authorYaron Yogev <yaronyogev@gmail.com>2017-07-30 16:52:59 +0300
committerYaron Yogev <yaronyogev@gmail.com>2017-07-30 16:54:10 +0300
commitc22d277cf90c31b54e5b9f94cee38f7cddedcdc1 (patch)
tree37d7046d9020c07da86f2e0277b383305c43e659 /app/test/fetch
parent757bea2e71f3b23831b256c855cd97cd871d7b3d (diff)
US2801 changing all 'password' to 'pwd' on environment_configs and test data
Change-Id: I1e9615d7144a06b99ae0e04a2b2388194854e16a Signed-off-by: Yaron Yogev <yaronyogev@gmail.com>
Diffstat (limited to 'app/test/fetch')
-rw-r--r--app/test/fetch/api_fetch/test_data/configurations.py6
-rw-r--r--app/test/fetch/db_fetch/test_data/db_access.py2
-rw-r--r--app/test/fetch/db_fetch/test_db_access.py2
3 files changed, 5 insertions, 5 deletions
diff --git a/app/test/fetch/api_fetch/test_data/configurations.py b/app/test/fetch/api_fetch/test_data/configurations.py
index ba15346..cca43be 100644
--- a/app/test/fetch/api_fetch/test_data/configurations.py
+++ b/app/test/fetch/api_fetch/test_data/configurations.py
@@ -13,7 +13,7 @@ CONFIGURATIONS = {
"mock": "True",
"host": "10.56.20.239",
"name": "mysql",
- "password": "102QreDdiD5sKcvNf9qbHrmr",
+ "pwd": "102QreDdiD5sKcvNf9qbHrmr",
"port": 3307.0,
"user": "root",
"schema": "nova"
@@ -38,7 +38,7 @@ CONFIGURATIONS = {
"host": "10.56.20.239",
"port": "5673",
"user": "nova",
- "password": "NF2nSv3SisooxPkCTr8fbfOa"
+ "pwd": "NF2nSv3SisooxPkCTr8fbfOa"
}
],
"distribution": "Mirantis-8.0",
@@ -49,4 +49,4 @@ CONFIGURATIONS = {
],
"operational": "yes",
"type": "environment"
-} \ No newline at end of file
+}
diff --git a/app/test/fetch/db_fetch/test_data/db_access.py b/app/test/fetch/db_fetch/test_data/db_access.py
index a4ad548..d7b10e5 100644
--- a/app/test/fetch/db_fetch/test_data/db_access.py
+++ b/app/test/fetch/db_fetch/test_data/db_access.py
@@ -10,7 +10,7 @@
DB_CONFIG = {
"host": "10.56.20.239",
"name": "mysql",
- "password": "102QreDdiD5sKcvNf9qbHrmr",
+ "pwd": "102QreDdiD5sKcvNf9qbHrmr",
"port": 3307.0,
"user": "root",
"schema": "nova"
diff --git a/app/test/fetch/db_fetch/test_db_access.py b/app/test/fetch/db_fetch/test_db_access.py
index 4ef3e74..ecc26e3 100644
--- a/app/test/fetch/db_fetch/test_db_access.py
+++ b/app/test/fetch/db_fetch/test_db_access.py
@@ -28,7 +28,7 @@ class TestDbAccess(TestFetch):
db_connect.return_value = db_conn
self.fetcher.db_connect(DB_CONFIG['host'], DB_CONFIG['port'],
- DB_CONFIG['user'], DB_CONFIG['password'],
+ DB_CONFIG['user'], DB_CONFIG['pwd'],
DB_CONFIG['schema'])
self.assertEqual(True, db_connect.called, "connect method has't been called")