def test(self): specification = bundle.specify() server, client = InternalTransport.construct_fixture(bundle, specification, context=context, mediators=mediators) client.execute = _execute_wrapper(client.execute, bundle, version) if generator: client.register() try: binding = generator.generate_dynamically(bundle, version) call_with_supported_params(function, self, client=client, binding=binding, **binding.__dict__) finally: client.unregister() else: call_with_supported_params(function, self, client=client)
def test(self): specification = bundle.specify() server, client = InternalTransport.construct_fixture(bundle, specification, context=context, mediators=mediators) client._execute = client.execute client.execute = _execute_wrapper(client._execute, bundle, version) if generator: client.register() try: binding = generator.generate_dynamically(bundle, version) call_with_supported_params(function, self, client=client, binding=binding, **binding.__dict__) finally: client.unregister() else: call_with_supported_params(function, self, client=client)
def test(self): server, client = InternalTransport.construct_fixture(bundle, specification) function(self, client)