diff options
author | PrakashH <pbhandar@techmahindra.com> | 2019-01-31 19:34:38 +0000 |
---|---|---|
committer | PrakashH <pbhandar@techmahindra.com> | 2019-01-31 19:34:38 +0000 |
commit | 235db9ca1ded4f36284108e8f95c6abe64bcd462 (patch) | |
tree | 59d2b62b917ae93ca8c1bc8a0a05df9c450a5b09 /tests/test_trapd_vnf_table.py | |
parent | fde3682c0073d6d8c57acd7d95850f166a190868 (diff) |
Heartbeat Microservice CL-OUT supportves-cl-outputsupport
Support the control loop having heartbeat event
Issue-ID: DCAEGEN2-1138
Change-Id: I14f4d6bb723794450fbaf3c86f063148364bc023
Signed-off-by: PrakashH <pbhandar@techmahindra.com>
Diffstat (limited to 'tests/test_trapd_vnf_table.py')
-rw-r--r-- | tests/test_trapd_vnf_table.py | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/tests/test_trapd_vnf_table.py b/tests/test_trapd_vnf_table.py index 9e11ce9..2afff96 100644 --- a/tests/test_trapd_vnf_table.py +++ b/tests/test_trapd_vnf_table.py @@ -31,7 +31,7 @@ import misshtbtd as db import htbtworker as pm import db_monitoring as dbmon import get_logger -from trapd_vnf_table import verify_DB_creation_1,verify_DB_creation_2,verify_DB_creation_hb_common,verify_cbsPolling_required,hb_properties,verify_cbspolling,verify_sendControlLoop_VNF_ONSET, verify_sendControlLoop_VM_ONSET, verify_sendControlLoop_VNF_ABATED, verify_sendControlLoop_VM_ABATED, verify_fetch_json_file, verify_misshtbtdmain, verify_dbmonitoring, verify_dbmon_startup +from trapd_vnf_table import verify_DB_creation_1,verify_DB_creation_2,verify_DB_creation_hb_common,verify_cbsPolling_required,hb_properties,verify_cbspolling,verify_sendControlLoop_VNF_ONSET, verify_sendControlLoop_VM_ONSET, verify_sendControlLoop_VNF_ABATED, verify_sendControlLoop_VM_ABATED, verify_fetch_json_file, verify_misshtbtdmain, verify_dbmonitoring, verify_dbmon_startup, verify_misshtbtdmainV2, verify_sendControlLoopV2 _logger = get_logger.get_logger(__name__) @@ -74,6 +74,11 @@ class test_vnf_tables(unittest.TestCase): _logger.info(result) self.assertEqual(result, True) + def test_misshtbtdmainV2(self): + result= verify_misshtbtdmainV2() + _logger.info(result) + self.assertEqual(result, True) + def test_dbmon_startup(self): result= verify_dbmon_startup() _logger.info(result) @@ -104,5 +109,10 @@ class test_vnf_tables(unittest.TestCase): _logger.info(result) self.assertEqual(result, True) + def test_sendControlLoopV2(self): + result= verify_sendControlLoopV2() + _logger.info(result) + self.assertEqual(result, True) + #if __name__ == '__main__': # unittest.main() |