Author: justi9
Date: 2008-03-21 09:59:36 -0400 (Fri, 21 Mar 2008)
New Revision: 1784
Modified:
mgmt/cumin/python/cumin/test.py
Log:
Update tests to the recent wooly api changes
Modified: mgmt/cumin/python/cumin/test.py
===================================================================
--- mgmt/cumin/python/cumin/test.py 2008-03-20 22:08:42 UTC (rev 1783)
+++ mgmt/cumin/python/cumin/test.py 2008-03-21 13:59:36 UTC (rev 1784)
@@ -206,7 +206,7 @@
form.groups.get(s).append(None)
form.submit.set(s, True)
- p.process(s, None)
+ p.process(s)
redirect = p.get_redirect_url(s)
@@ -216,8 +216,8 @@
else:
raise Exception("Expected redirect")
- p.process(s, None)
- p.render(s, None)
+ p.process(s)
+ p.render(s)
self.env.broker_registration = BrokerRegistration.selectBy \
(name=session.id)[0]
@@ -251,7 +251,7 @@
form.group_name.set(s, session.id)
form.submit.set(s, True)
- p.process(s, None)
+ p.process(s)
redirect = p.get_redirect_url(s)
@@ -261,8 +261,8 @@
else:
raise Exception("Expected redirect")
- p.process(s, None)
- p.render(s, None)
+ p.process(s)
+ p.render(s)
try:
self.env.broker_group = BrokerGroup.selectBy(name=session.id)[0]
@@ -280,7 +280,7 @@
form.group_name.set(s, session.id + "%;&#\\")
form.submit.set(s, True)
- p.process(s, None)
+ p.process(s)
redirect = p.get_redirect_url(s)
@@ -298,7 +298,7 @@
form = p.show_main(s).show_broker_group(s, group).show_remove(s)
form.submit.set(s, True)
- p.process(s, None)
+ p.process(s)
redirect = p.get_redirect_url(s)
Show replies by date