fix: add schema node type, widget for "money" (currency) fields
This commit is contained in:
parent
c4fe90834e
commit
171e9f7488
4 changed files with 99 additions and 0 deletions
|
@ -80,6 +80,15 @@ class TestWuttaEnum(WebTestCase):
|
|||
self.assertIsInstance(widget, widgets.SelectWidget)
|
||||
|
||||
|
||||
class TestWuttaMoney(WebTestCase):
|
||||
|
||||
def test_widget_maker(self):
|
||||
enum = self.app.enum
|
||||
typ = mod.WuttaMoney(self.request)
|
||||
widget = typ.widget_maker()
|
||||
self.assertIsInstance(widget, widgets.WuttaMoneyInputWidget)
|
||||
|
||||
|
||||
class TestObjectRef(DataTestCase):
|
||||
|
||||
def setUp(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue