Loading src/monitoring/tests/test_unitary.py +14 −14 Original line number Diff line number Diff line Loading @@ -230,20 +230,20 @@ def test_monitor_kpi(monitoring_client,create_kpi_request): assert isinstance(response, context_pb2.Empty) # Test case that makes use of client fixture to test server's IncludeKpi method def test_include_kpi(monitoring_client,include_kpi_request): # make call to server LOGGER.warning('test_include_kpi requesting') response = monitoring_client.IncludeKpi(include_kpi_request) LOGGER.debug(str(response)) assert isinstance(response, context_pb2.Empty) # Test case that makes use of client fixture to test server's GetStreamKpi method def test_get_stream_kpi(monitoring_client,include_kpi_request): LOGGER.warning('test_getstream_kpi begin') response = monitoring_client.GetStreamKpi(kpi) LOGGER.debug(str(response)) #assert isinstance(response, monitoring_pb2.Kpi) # # Test case that makes use of client fixture to test server's IncludeKpi method # def test_include_kpi(monitoring_client,include_kpi_request): # # make call to server # LOGGER.warning('test_include_kpi requesting') # response = monitoring_client.IncludeKpi(include_kpi_request) # LOGGER.debug(str(response)) # assert isinstance(response, context_pb2.Empty) # # # Test case that makes use of client fixture to test server's GetStreamKpi method # def test_get_stream_kpi(monitoring_client,include_kpi_request): # LOGGER.warning('test_getstream_kpi begin') # response = monitoring_client.GetStreamKpi(kpi) # LOGGER.debug(str(response)) # #assert isinstance(response, monitoring_pb2.Kpi) # Test case that makes use of client fixture to test server's GetInstantKpi method def test_get_instant_kpi(monitoring_client,kpi_id): Loading Loading
src/monitoring/tests/test_unitary.py +14 −14 Original line number Diff line number Diff line Loading @@ -230,20 +230,20 @@ def test_monitor_kpi(monitoring_client,create_kpi_request): assert isinstance(response, context_pb2.Empty) # Test case that makes use of client fixture to test server's IncludeKpi method def test_include_kpi(monitoring_client,include_kpi_request): # make call to server LOGGER.warning('test_include_kpi requesting') response = monitoring_client.IncludeKpi(include_kpi_request) LOGGER.debug(str(response)) assert isinstance(response, context_pb2.Empty) # Test case that makes use of client fixture to test server's GetStreamKpi method def test_get_stream_kpi(monitoring_client,include_kpi_request): LOGGER.warning('test_getstream_kpi begin') response = monitoring_client.GetStreamKpi(kpi) LOGGER.debug(str(response)) #assert isinstance(response, monitoring_pb2.Kpi) # # Test case that makes use of client fixture to test server's IncludeKpi method # def test_include_kpi(monitoring_client,include_kpi_request): # # make call to server # LOGGER.warning('test_include_kpi requesting') # response = monitoring_client.IncludeKpi(include_kpi_request) # LOGGER.debug(str(response)) # assert isinstance(response, context_pb2.Empty) # # # Test case that makes use of client fixture to test server's GetStreamKpi method # def test_get_stream_kpi(monitoring_client,include_kpi_request): # LOGGER.warning('test_getstream_kpi begin') # response = monitoring_client.GetStreamKpi(kpi) # LOGGER.debug(str(response)) # #assert isinstance(response, monitoring_pb2.Kpi) # Test case that makes use of client fixture to test server's GetInstantKpi method def test_get_instant_kpi(monitoring_client,kpi_id): Loading