Skip to content

Commit

Permalink
Cope with webob internal change
Browse files Browse the repository at this point in the history
  • Loading branch information
paj committed Jun 14, 2010
1 parent 010784c commit 6c83fa0
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/test_widgets.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
from tw2.forms.widgets import *
from webob import Request, NestedMultiDict
from webob import Request
from tw2.core.testbase import assert_in_xml, assert_eq_xml, WidgetTest
from nose.tools import raises
from cStringIO import StringIO
from tw2.core import EmptyField, IntValidator, ValidationError
from cgi import FieldStorage

import webob
if hasattr(webob, 'NestedMultiDict'):
from webob import NestedMultiDict
else:
from webob.multidict import NestedMultiDict

class TestInputField(WidgetTest):
widget = InputField
Expand Down

0 comments on commit 6c83fa0

Please sign in to comment.