changeset 2023:e68b3c9a3b78 maint-0.6

fix tests to match new parsePropsFromForm API
author Richard Jones <richard@users.sourceforge.net>
date Sun, 15 Feb 2004 23:16:20 +0000
parents 2fe25413867f
children b939c3e78614
files test/test_cgi.py
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/test/test_cgi.py	Sun Feb 15 22:22:20 2004 +0000
+++ b/test/test_cgi.py	Sun Feb 15 23:16:20 2004 +0000
@@ -8,7 +8,7 @@
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 #
-# $Id: test_cgi.py,v 1.18 2003-08-11 11:28:31 jlgijsbers Exp $
+# $Id: test_cgi.py,v 1.18.2.1 2004-02-15 23:16:20 richard Exp $
 
 import unittest, os, shutil, errno, sys, difflib, cgi, re
 
@@ -94,7 +94,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()
@@ -268,7 +268,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):

Roundup Issue Tracker: http://roundup-tracker.org/