summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3c84f4b)
raw | patch | inline | side by side (parent: 3c84f4b)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Tue, 17 Feb 2004 03:48:08 +0000 (03:48 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Tue, 17 Feb 2004 03:48:08 +0000 (03:48 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2096 57a73879-2fb5-44c3-a270-3262357dd7e2
test/test_cgi.py | patch | blob | history |
diff --git a/test/test_cgi.py b/test/test_cgi.py
index 5af001145441735568100d921d2c055baf91cefa..c8494a0b7e91c11e3d3df7eb4f26b796eadff70e 100644 (file)
--- a/test/test_cgi.py
+++ b/test/test_cgi.py
# 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
cl.classname = classname
cl.nodeid = nodeid
cl.db = self.db
- return cl.parsePropsFromForm()
+ return cl.parsePropsFromForm(create=1)
def tearDown(self):
self.db.close()
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):