diff -r 3b285889b8e9 -r 69739e6ebd2a web/test/unittest_formfields.py --- a/web/test/unittest_formfields.py Wed Dec 09 15:47:01 2009 +0100 +++ b/web/test/unittest_formfields.py Wed Dec 09 16:05:01 2009 +0100 @@ -104,7 +104,7 @@ self.assertEquals(field.required, False) self.assertEquals(field.initial(None), None) self.assertIsInstance(field.widget, Radio) - self.assertEquals(field.vocabulary(mock(req=mock(_=unicode))), + self.assertEquals(field.vocabulary(mock(_cw=mock(_=unicode))), [(u'yes', '1'), (u'no', '')]) def test_bool_field_explicit_choices(self):