Skip to content

Commit c55d290

Browse files
author
Richard Jones
committed
fix tests to match new parsePropsFromForm API
1 parent 7368291 commit c55d290

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/test_cgi.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# but WITHOUT ANY WARRANTY; without even the implied warranty of
99
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
1010
#
11-
# $Id: test_cgi.py,v 1.18 2003-08-11 11:28:31 jlgijsbers Exp $
11+
# $Id: test_cgi.py,v 1.18.2.1 2004-02-15 23:16:20 richard Exp $
1212

1313
import unittest, os, shutil, errno, sys, difflib, cgi, re
1414

@@ -94,7 +94,7 @@ def parseForm(self, form, classname='test', nodeid=None):
9494
cl.classname = classname
9595
cl.nodeid = nodeid
9696
cl.db = self.db
97-
return cl.parsePropsFromForm()
97+
return cl.parsePropsFromForm(create=1)
9898

9999
def tearDown(self):
100100
self.db.close()
@@ -268,7 +268,7 @@ def testMixedMultilink(self):
268268
cl.classname = 'issue'
269269
cl.nodeid = None
270270
cl.db = self.db
271-
self.assertEqual(cl.parsePropsFromForm(),
271+
self.assertEqual(cl.parsePropsFromForm(create=1),
272272
({('issue', None): {'nosy': ['1','2', '3']}}, []))
273273

274274
def testEmptyMultilinkSet(self):

0 commit comments

Comments
 (0)