Commit f468a891 authored by Jérome Perrin's avatar Jérome Perrin

tests that Deliveries have the price_currency category.



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@9996 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e8cbfbe0
...@@ -907,11 +907,15 @@ class TestPackingList(TestPackingListMixin, ERP5TypeTestCase) : ...@@ -907,11 +907,15 @@ class TestPackingList(TestPackingListMixin, ERP5TypeTestCase) :
sequence_list.play(self, quiet=quiet) sequence_list.play(self, quiet=quiet)
def test_14_PackingListHavePriceCurrencyCategory(self, quiet=quiet, def test_14_PackingListHavePriceCurrencyCategory(self, quiet=quiet,
run=run_all_test): run=1): #run_all_test):
"""Deliveries must have a price currency category. #252 """Deliveries must have a price currency category. #252
""" """
if not run: if not run:
return return
pl = self.getPortal().getDefaultModule(self.packing_list_portal_type
).newContent(portal_type=self.packing_list_portal_type)
self.failUnless(hasattr(pl, 'getPriceCurrency'))
if __name__ == '__main__': if __name__ == '__main__':
framework() framework()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment