X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=csit%2Flibraries%2FFlowLib.py;h=302faabd50c731c570060463632de2e0f89847a3;hb=60556cb10074caf1be7458d68d88645d660a5806;hp=43edf8455aaa3fb48a68b2a566f07ad417068554;hpb=1c106006ffb33c1c60e2f8abe61e88a7bd95a7bd;p=integration%2Ftest.git diff --git a/csit/libraries/FlowLib.py b/csit/libraries/FlowLib.py index 43edf8455a..302faabd50 100644 --- a/csit/libraries/FlowLib.py +++ b/csit/libraries/FlowLib.py @@ -48,18 +48,18 @@ class Flow: def set_field(self, field, value): """ - allows for generically setting any attribute in this - class based on the 'field' passed in. In the future, - adding a new attribute only requires that single line - addition. no need for additional setter. + allows for generically setting any attribute in this + class based on the 'field' passed in. In the future, + adding a new attribute only requires that single line + addition. no need for additional setter. """ setattr(self, field, value) def Make_Inventory_Flow(): """ - Robot Keyword to create and return an instance of the Flow - class. + Robot Keyword to create and return an instance of the Flow + class. """ flow = Flow() flow.xml = flow_xml_skeleton @@ -68,9 +68,9 @@ def Make_Inventory_Flow(): def Make_Service_Flow(): """ - Robot Keyword to create an input XML that can be used to - directly send to flow:service for things like accessing - the remove-flow RPC via restconf + Robot Keyword to create an input XML that can be used to + directly send to flow:service for things like accessing + the remove-flow RPC via restconf """ flow = Flow() flow.xml = input_xml_skeleton @@ -79,8 +79,8 @@ def Make_Service_Flow(): def Set_Flow_Field(flow, field, value): """ - Robot Keyword to allow the modification (setting) of the - flow object attributes + Robot Keyword to allow the modification (setting) of the + flow object attributes """ flow.set_field(field, value) return flow