fix: add WuttaQuantity schema type, widget
This commit is contained in:
parent
a219f3e30d
commit
0631b8e16b
4 changed files with 97 additions and 1 deletions
|
@ -89,6 +89,15 @@ class TestWuttaMoney(WebTestCase):
|
|||
self.assertIsInstance(widget, widgets.WuttaMoneyInputWidget)
|
||||
|
||||
|
||||
class TestWuttaQuantity(WebTestCase):
|
||||
|
||||
def test_widget_maker(self):
|
||||
enum = self.app.enum
|
||||
typ = mod.WuttaQuantity(self.request)
|
||||
widget = typ.widget_maker()
|
||||
self.assertIsInstance(widget, widgets.WuttaQuantityWidget)
|
||||
|
||||
|
||||
class TestObjectRef(DataTestCase):
|
||||
|
||||
def setUp(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue