diff options
author | PrakashH <pbhandar@techmahindra.com> | 2019-03-12 14:23:26 +0000 |
---|---|---|
committer | PrakashH <pbhandar@techmahindra.com> | 2019-03-12 14:23:26 +0000 |
commit | 42f667aa9ff066f821a5a444fd496e5d163d99fe (patch) | |
tree | 7c9dc83b38d62301920f02ff8bc968fd9588a0d0 /miss_htbt_service/misshtbtd.py | |
parent | 28084d770c86b3a42cd55c7146dffd4a593f2a02 (diff) |
Test coverage for heartbeat MS
Increased code coverage Issue-ID: DCAEGEN2-1260
Change-Id: Ide4c030d3228ac5594ac1ee7403ad6cfa102a64e
Signed-off-by: PrakashH <pbhandar@techmahindra.com>
Diffstat (limited to 'miss_htbt_service/misshtbtd.py')
-rw-r--r-- | miss_htbt_service/misshtbtd.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/miss_htbt_service/misshtbtd.py b/miss_htbt_service/misshtbtd.py index 36683dc..f1a8688 100644 --- a/miss_htbt_service/misshtbtd.py +++ b/miss_htbt_service/misshtbtd.py @@ -305,7 +305,7 @@ def fetch_json_file(): def create_update_db(update_db, jsfile, ip_address, port_num, user_name, password, db_name): envPytest = os.getenv('pytest', "") - if (envPytest != 'test'): + if (envPytest != 'test'): #pragma: no cover if(update_db == 0): create_database(update_db, jsfile, ip_address, port_num, user_name, password, db_name) msg = "MSHBT: DB parameters -", ip_address, port_num, user_name, password, db_name |