X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;ds=inline;f=csit%2Flibraries%2FIoTDM%2Fiotdm_comm.py;h=500f23ef34db6dae99b269fb9b17d1d759f9a9cc;hb=033387bc885c6f508c1be28ec8ae5d511a2734c7;hp=04304b50ccb4f78a629f5e91550db5a7ad457fad;hpb=8ef79caa1152766500398b18adbbe74e6db8662a;p=integration%2Ftest.git diff --git a/csit/libraries/IoTDM/iotdm_comm.py b/csit/libraries/IoTDM/iotdm_comm.py index 04304b50cc..500f23ef34 100644 --- a/csit/libraries/IoTDM/iotdm_comm.py +++ b/csit/libraries/IoTDM/iotdm_comm.py @@ -326,7 +326,7 @@ def verify_number_of_auto_replies_to_notification_from_subscription(subscription allias, communication) if replies != count: raise AssertionError(("Unexpected number of auto replies to notification from subscription {}, " + - "auto replies: {}, expected: {}").format(subscription_resource_id, count, replies)) + "auto replies: {}, expected: {}").format(subscription_resource_id, count, replies)) # Primitive getters uses JSON pointer object or string @@ -420,9 +420,9 @@ def get_local_ip_from_list(iotdm_ip, local_ip_list_str): def create_http_default_communication_parameters(address, port, content_type): """Returns JSON string including default HTTP specific parameters""" return '{{"{}": "{}", "{}": {}, "Content-Type": "{}"}}'.format( - onem2m_http.protocol_address, address, - onem2m_http.protocol_port, port, - content_type) + onem2m_http.protocol_address, address, + onem2m_http.protocol_port, port, + content_type) def create_iotdm_http_connection(entity_id, address, port, content_type, rx_port=None, allias="default"):