From c22d277cf90c31b54e5b9f94cee38f7cddedcdc1 Mon Sep 17 00:00:00 2001 From: Yaron Yogev Date: Sun, 30 Jul 2017 16:52:59 +0300 Subject: US2801 changing all 'password' to 'pwd' on environment_configs and test data Change-Id: I1e9615d7144a06b99ae0e04a2b2388194854e16a Signed-off-by: Yaron Yogev --- app/test/fetch/api_fetch/test_data/configurations.py | 6 +++--- app/test/fetch/db_fetch/test_data/db_access.py | 2 +- app/test/fetch/db_fetch/test_db_access.py | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'app/test/fetch') 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") -- cgit 1.2.3-korg