Commit 35fd8b25 authored by Francisco-Javier Moreno-Muro's avatar Francisco-Javier Moreno-Muro
Browse files

Minor change

parent 7de5e0fd
Loading
Loading
Loading
Loading
+8 −8
Original line number Diff line number Diff line
@@ -376,14 +376,14 @@ def test_get_stream_kpi(monitoring_client): # pylint: disable=redefined-outer-na
    assert isinstance(response, _MultiThreadedRendezvous)

# Test case that makes use of client fixture to test server's GetInstantKpi method
def test_get_instant_kpi(monitoring_client): # pylint: disable=redefined-outer-name
    LOGGER.warning('test_getinstant_kpi begin')
    kpi_id = monitoring_client.SetKpi(KpiId())
    monitoring_client.IncludeKpi(include_kpi_request(kpi_id))
    sleep(0.3)
    response = monitoring_client.GetInstantKpi(kpi_id)
    LOGGER.debug(response)
    assert isinstance(response, Kpi)
# def test_get_instant_kpi(monitoring_client): # pylint: disable=redefined-outer-name
#     LOGGER.warning('test_getinstant_kpi begin')
#     kpi_id = monitoring_client.SetKpi(KpiId())
#     monitoring_client.IncludeKpi(include_kpi_request(kpi_id))
#     sleep(0.3)
#     response = monitoring_client.GetInstantKpi(kpi_id)
#     LOGGER.debug(response)
#     assert isinstance(response, Kpi)
    # response = monitoring_client.GetInstantKpi(KpiId())
    # LOGGER.debug(type(response))
    # assert response.kpi_id.kpi_id.uuid == "NoID"