aboutsummaryrefslogtreecommitdiffstats
path: root/app/test/fetch
diff options
context:
space:
mode:
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")