Mercurial > p > roundup > code
changeset 2027:45ad02759998
test fixes
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Tue, 17 Feb 2004 03:48:08 +0000 |
| parents | e13d11bb7ee8 |
| children | 1883dfd4fd77 |
| files | test/test_cgi.py |
| diffstat | 1 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/test/test_cgi.py Mon Feb 16 21:13:04 2004 +0000 +++ b/test/test_cgi.py Tue Feb 17 03:48:08 2004 +0000 @@ -8,13 +8,13 @@ # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # -# $Id: test_cgi.py,v 1.22 2004-02-11 21:34:31 jlgijsbers Exp $ +# $Id: test_cgi.py,v 1.23 2004-02-17 03:48:08 richard Exp $ import unittest, os, shutil, errno, sys, difflib, cgi, re from roundup.cgi import client -from roundup.cgi.errors import FormError -from roundup.cgi.FormParser import FormParser +from roundup.cgi.exceptions import FormError +from roundup.cgi.form_parser import FormParser from roundup import init, instance, password, hyperdb, date NEEDS_INSTANCE = 1 @@ -99,7 +99,7 @@ cl.classname = classname cl.nodeid = nodeid cl.db = self.db - return cl.parsePropsFromForm() + return cl.parsePropsFromForm(create=1) def tearDown(self): self.db.close() @@ -273,7 +273,7 @@ cl.classname = 'issue' cl.nodeid = None cl.db = self.db - self.assertEqual(cl.parsePropsFromForm(), + self.assertEqual(cl.parsePropsFromForm(create=1), ({('issue', None): {'nosy': ['1','2', '3']}}, [])) def testEmptyMultilinkSet(self):
