Comment 0 for bug 270930

Revision history for this message
Jim Fulton (jim-zope) wrote :

The function _prepare_doctest_keywords is used to set up doctest-bases test suites. It creates a single HTTPCaller instance that is shared among tests in the test suite. This is problematic because HTTPCaller keeps cookie state. Sharing it among tests in a suite can cause tests to interfere with one another.

An easy fix is to have the HTTPCaller created in the setUp function installed by _prepare_doctest_keywords.