I received a number of command prompts after executing bin/test test_textual_doctests -t API, excerpting the last few sentences:
“Ran 8 tests with 0 failures, 0 errors, 0 skipped in 21.372 seconds.
Tearing down left over layers:
Tear down senaite.core.tests.layers.SENAITE:BaseTesting in 0.000 seconds.
Tear down senaite.core.tests.layers.BaseLayer in 0.005 seconds.
Tear down plone.app.testing.layers.PloneFixture in 0.032 seconds.
Tear down plone.testing.zope.Startup in 0.005 seconds.
Tear down plone.testing.zca.LayerCleanup in 0.002 seconds.”
There is no procedure as described in the test documentation:
"API
The purpose of this API is to help coders to follow the DRY principle (Don’t Repeat Yourself). It also ensures that the most effective and efficient method is used to achieve a task.
Import it first:
from bika.lims import api "