summaryrefslogtreecommitdiffstats
path: root/app/test
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
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')
-rw-r--r--app/test/api/responders_test/test_data/environment_configs.py4
-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
-rw-r--r--app/test/scan/test_data/scanner.py8
5 files changed, 11 insertions, 11 deletions
diff --git a/app/test/api/responders_test/test_data/environment_configs.py b/app/test/api/responders_test/test_data/environment_configs.py
index 2a67fb6..a9e8885 100644
--- a/app/test/api/responders_test/test_data/environment_configs.py
+++ b/app/test/api/responders_test/test_data/environment_configs.py
@@ -164,7 +164,7 @@ ENV_CONFIG = {
{
"host": "10.56.20.239",
"name": "mysql",
- "password": "G1VKEbcqKZXoPthrtNma2D9Y",
+ "pwd": "G1VKEbcqKZXoPthrtNma2D9Y",
"port": "3307",
"user": "root"
},
@@ -185,7 +185,7 @@ ENV_CONFIG = {
{
"host": "10.56.20.239",
"name": "AMQP",
- "password": "YVWMiKMshZhlJCGqFu5PdT9d",
+ "pwd": "YVWMiKMshZhlJCGqFu5PdT9d",
"port": "5673",
"user": "nova"
},
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")
diff --git a/app/test/scan/test_data/scanner.py b/app/test/scan/test_data/scanner.py
index cebeca2..ebdee06 100644
--- a/app/test/scan/test_data/scanner.py
+++ b/app/test/scan/test_data/scanner.py
@@ -92,7 +92,7 @@ CONFIGURATIONS = {
"mock": "True",
"host": "10.56.20.239",
"name": "mysql",
- "password": "102QreDdiD5sKcvNf9qbHrmr",
+ "pwd": "102QreDdiD5sKcvNf9qbHrmr",
"port": 3307.0,
"user": "root",
"schema": "nova"
@@ -117,7 +117,7 @@ CONFIGURATIONS = {
"host": "10.56.20.239",
"port": "5673",
"user": "nova",
- "password": "NF2nSv3SisooxPkCTr8fbfOa"
+ "pwd": "NF2nSv3SisooxPkCTr8fbfOa"
}
],
"distribution": "Mirantis-8.0",
@@ -302,7 +302,7 @@ CONFIGURATIONS_WITHOUT_MECHANISM_DRIVERS = {
"mock": "True",
"host": "10.56.20.239",
"name": "mysql",
- "password": "102QreDdiD5sKcvNf9qbHrmr",
+ "pwd": "102QreDdiD5sKcvNf9qbHrmr",
"port": 3307.0,
"user": "root",
"schema": "nova"
@@ -327,7 +327,7 @@ CONFIGURATIONS_WITHOUT_MECHANISM_DRIVERS = {
"host": "10.56.20.239",
"port": "5673",
"user": "nova",
- "password": "NF2nSv3SisooxPkCTr8fbfOa"
+ "pwd": "NF2nSv3SisooxPkCTr8fbfOa"
}
],
"distribution": "Mirantis-8.0",