Skip to content

Commit 4b9ef7d

Browse files
author
Richard Jones
committed
test fixes
1 parent 9deee78 commit 4b9ef7d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

test/test_cgi.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@
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.22 2004-02-11 21:34:31 jlgijsbers Exp $
11+
# $Id: test_cgi.py,v 1.23 2004-02-17 03:48:08 richard Exp $
1212

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

1515
from roundup.cgi import client
16-
from roundup.cgi.errors import FormError
17-
from roundup.cgi.FormParser import FormParser
16+
from roundup.cgi.exceptions import FormError
17+
from roundup.cgi.form_parser import FormParser
1818
from roundup import init, instance, password, hyperdb, date
1919

2020
NEEDS_INSTANCE = 1
@@ -99,7 +99,7 @@ def parseForm(self, form, classname='test', nodeid=None):
9999
cl.classname = classname
100100
cl.nodeid = nodeid
101101
cl.db = self.db
102-
return cl.parsePropsFromForm()
102+
return cl.parsePropsFromForm(create=1)
103103

104104
def tearDown(self):
105105
self.db.close()
@@ -273,7 +273,7 @@ def testMixedMultilink(self):
273273
cl.classname = 'issue'
274274
cl.nodeid = None
275275
cl.db = self.db
276-
self.assertEqual(cl.parsePropsFromForm(),
276+
self.assertEqual(cl.parsePropsFromForm(create=1),
277277
({('issue', None): {'nosy': ['1','2', '3']}}, []))
278278

279279
def testEmptyMultilinkSet(self):

0 commit comments

Comments
 (0)