def setup(self): self.xml.append( cim_xml.MULTIRSP([ cim_xml.SIMPLERSP(cim_xml.IMETHODRESPONSE('FooMethod')), cim_xml.SIMPLERSP(cim_xml.IMETHODRESPONSE('FooMethod')) ]))
def setUp(self): super(MultiRsp, self).setUp() self.xml.append( cim_xml.MULTIRSP([ cim_xml.SIMPLERSP(cim_xml.IMETHODRESPONSE('FooMethod')), cim_xml.SIMPLERSP(cim_xml.IMETHODRESPONSE('FooMethod')) ]))
def setUp(self): super(Message, self).setUp() # SIMPLEREQ self.xml.append( cim_xml.MESSAGE( cim_xml.SIMPLEREQ( cim_xml.IMETHODCALL('FooMethod', LOCALNAMESPACEPATH())), '1001', '1.0')) # MULTIREQ self.xml.append( cim_xml.MESSAGE( cim_xml.MULTIREQ([ cim_xml.SIMPLEREQ( cim_xml.IMETHODCALL('FooMethod', LOCALNAMESPACEPATH())), cim_xml.SIMPLEREQ( cim_xml.IMETHODCALL('FooMethod', LOCALNAMESPACEPATH())) ]), '1001', '1.0')) # SIMPLERSP self.xml.append( cim_xml.MESSAGE( cim_xml.SIMPLERSP(cim_xml.IMETHODRESPONSE('FooMethod')), '1001', '1.0')) # MULTIRSP self.xml.append( cim_xml.MESSAGE( cim_xml.MULTIRSP([ cim_xml.SIMPLERSP(cim_xml.IMETHODRESPONSE('FooMethod')), cim_xml.SIMPLERSP(cim_xml.IMETHODRESPONSE('FooMethod')) ]), '1001', '1.0'))