Add subnet routing and snat cases to dc-gw testplan
[integration/test.git] / csit / libraries / IoTDM / iotdm_comm.py
index 04304b50ccb4f78a629f5e91550db5a7ad457fad..500f23ef34db6dae99b269fb9b17d1d759f9a9cc 100644 (file)
@@ -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"):