diff --git a/CHANGES.rst b/CHANGES.rst index f31f54bd57..b9442f9ef2 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -15,12 +15,12 @@ Changelog **Fixed** +- #513 ShowPrices doctest is failing - #488 JS Errors in bika.lims.analysisrequest.js **Security** - 1.1.8 (2017-12-23) ------------------ diff --git a/bika/lims/tests/doctests/ShowPrices.rst b/bika/lims/tests/doctests/ShowPrices.rst index 32efc79b0c..324a216e7c 100644 --- a/bika/lims/tests/doctests/ShowPrices.rst +++ b/bika/lims/tests/doctests/ShowPrices.rst @@ -24,6 +24,7 @@ Needed Imports: >>> from plone import api as ploneapi >>> from plone.app.testing import setRoles >>> from plone.app.testing import TEST_USER_ID + >>> from time import sleep >>> import transaction Functional Helpers: @@ -36,10 +37,12 @@ Functional Helpers: >>> def enableShowPrices(): ... self.portal.bika_setup.setShowPrices(True) ... transaction.commit() + ... sleep(1) >>> def disableShowPrices(): ... self.portal.bika_setup.setShowPrices(False) ... transaction.commit() + ... sleep(1) Variables: