summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorjortel <devnull@localhost>2010-05-13 17:51:00 +0000
committerjortel <devnull@localhost>2010-05-13 17:51:00 +0000
commitf6d3973455da2526e5f4db57769babb167967045 (patch)
tree688f791901061d91dc6a4fea64ba8af6f782b48e /tests
parent22468cdbf9c5448b20c4c098aad58fdce9886a81 (diff)
downloadsuds-f6d3973455da2526e5f4db57769babb167967045.tar.gz
Modified plugin API to: initialized(), loaded(), sending() & received().
Diffstat (limited to 'tests')
-rw-r--r--tests/axis1.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/axis1.py b/tests/axis1.py
index 3ae3225..2206d02 100644
--- a/tests/axis1.py
+++ b/tests/axis1.py
@@ -40,17 +40,17 @@ setup_logging()
class TestPlugin(Plugin):
- def onInit(self, context):
- print 'init: ctx=%s' % context.__dict__
+ def initialized(self, context):
+ print 'initialized: ctx=%s' % context.__dict__
- def onLoad(self, context):
- print 'loading: ctx=%s' % context.__dict__
+ def loaded(self, context):
+ print 'loaded: ctx=%s' % context.__dict__
- def onSend(self, context):
+ def sending(self, context):
print 'sending: ctx=%s' % context.__dict__
- def onReply(self, context):
- print 'gotreply: ctx=%s' % context.__dict__
+ def received(self, context):
+ print 'received: ctx=%s' % context.__dict__
#logging.getLogger('suds.client').setLevel(logging.DEBUG)