Hi all,
I wonder if anyone encountered similar problems with doctests. I have
a couple of controllers (default.py and etc.py), and a single function
(__addTLI__) in etc.py that has a doctest. When I try to run the tests
through the admin app, default.py passes fine (since it has no tests),
but etc.py just hangs. I have confirmed that there is a line in my
code that determines whether etc.py will hang or return successfully,
however I do not see how it is possible that the specific piece of
code determines anything (basically it produces an xml file through
some db interaction). I tried the same testing code in a function,
opened it up on a browser and it ran fine, error-free. I also checked
http://127.0.0.1:8000/std/etc/_TEST for raw test data, but it also
surprisingly revealed that __addTLI__ had actually passed.

Is it possible for a test to hang even though all subtests pass?

BTW, I use version 1.79.2

Cheers,
Kerem.

Reply via email to