[Zope3-checkins] CVS: Zope3/src/zope/app/browser/form/tests - test_add.py:1.6.4.1
Jim Fulton
jim@zope.com
Tue, 18 Mar 2003 11:56:15 -0500
Update of /cvs-repository/Zope3/src/zope/app/browser/form/tests
In directory cvs.zope.org:/tmp/cvs-serv21811/zope/app/browser/form/tests
Modified Files:
Tag: local-utility-branch
test_add.py
Log Message:
checkpoint into branch
=== Zope3/src/zope/app/browser/form/tests/test_add.py 1.6 => 1.6.4.1 ===
--- Zope3/src/zope/app/browser/form/tests/test_add.py:1.6 Sat Mar 1 22:34:05 2003
+++ Zope3/src/zope/app/browser/form/tests/test_add.py Tue Mar 18 11:55:44 2003
@@ -158,7 +158,7 @@
return args
- def test_apply_update(self):
+ def test_createAndAdd(self):
class Adding:
@@ -185,7 +185,7 @@
request = TestRequest()
request.form.update(SampleData.__dict__)
view = getView(adding, 'addthis', request)
- view.apply_update(SampleData.__dict__)
+ view.createAndAdd(SampleData.__dict__)
self.assertEqual(adding.ob.extra1, "extra1")
self.assertEqual(adding.ob.extra2, "extra2")