def verify_that_the_attribute_by_ID_is_returned(context): """ verify that the attribute by ID is returned """ global cb, resp __logger__.debug("Verifying an attribute by ID returned from a request...") entities_context = cb.get_entity_context() attribute_name_to_request = cb.get_attribute_name_to_request() ngsi = NGSI() ngsi.verify_an_attribute_by_id(entities_context, resp, attribute_name_to_request) __logger__.info("...Verified an attribute by ID returned from a request...")
def verify_that_the_attribute_by_id_is_returned(context): """ verify that the attribute by ID is returned :param context: It’s a clever place where you and behave can store information to share around. It runs at three levels, automatically managed by behave. """ __logger__.debug("Verifying an attribute by ID returned from a request...") entities_context = context.cb.get_entity_context() attribute_name_to_request = context.cb.get_attribute_name_to_request() ngsi = NGSI() ngsi.verify_an_attribute_by_id(entities_context, context.resp, attribute_name_to_request) __logger__.info("...Verified an attribute by ID returned from a request...")
def verify_that_the_attribute_by_id_is_returned(context): """ verify that the attribute by ID is returned :param context: It’s a clever place where you and behave can store information to share around. It runs at three levels, automatically managed by behave. """ __logger__.debug("Verifying an attribute by ID returned from a request...") entities_context = context.cb.get_entity_context() attribute_name_to_request = context.cb.get_attribute_name_to_request() ngsi = NGSI() ngsi.verify_an_attribute_by_id(entities_context, context.resp, attribute_name_to_request) __logger__.info("...Verified an attribute by ID returned from a request...")
def verify_that_the_attribute_by_ID_is_returned(context): """ verify that the attribute by ID is returned """ global cb, resp __logger__.debug("Verifying an attribute by ID returned from a request...") entities_context = cb.get_entity_context() attribute_name_to_request = cb.get_attribute_name_to_request() ngsi = NGSI() ngsi.verify_an_attribute_by_id(entities_context, resp, attribute_name_to_request) __logger__.info( "...Verified an attribute by ID returned from a request...")