From 73b2a1916dd98e0c8acd34652aadb3090e0b8bd8 Mon Sep 17 00:00:00 2001 From: Romain Courteaud <romain@nexedi.com> Date: Thu, 15 Mar 2007 15:32:06 +0000 Subject: [PATCH] Fix default run parameter of a test. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13431 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/tests/testPackingList.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/product/ERP5/tests/testPackingList.py b/product/ERP5/tests/testPackingList.py index 4d8dc2ec93..cdfd3da347 100644 --- a/product/ERP5/tests/testPackingList.py +++ b/product/ERP5/tests/testPackingList.py @@ -907,7 +907,7 @@ class TestPackingList(TestPackingListMixin, ERP5TypeTestCase) : sequence_list.play(self, quiet=quiet) def test_14_PackingListHavePriceCurrencyCategory(self, quiet=quiet, - run=1): #run_all_test): + run=run_all_test): """Deliveries must have a price currency category. #252 """ if not run: @@ -916,7 +916,6 @@ class TestPackingList(TestPackingListMixin, ERP5TypeTestCase) : ).newContent(portal_type=self.packing_list_portal_type) self.failUnless(hasattr(pl, 'getPriceCurrency')) - if __name__ == '__main__': framework() else: -- 2.30.9