コード例 #1
0
    def test_soap_call(self):
        ts = test_soap.TestSOAP('test_wsdl')
        ts.app = self.app
        ts.ws_path = '/ws/'

        print ts.ws_path
        assert ts.call('multiply', a=5, b=10, _rt=int) == 50
コード例 #2
0
 def test_soap_wsdl(self):
     ts = test_soap.TestSOAP('test_wsdl')
     ts.app = self.app
     ts.ws_path = '/ws/'
     ts.run()