##// END OF EJS Templates
Fixing a nasty bug in test_frontend.py that was leading to all sorts...
Fixing a nasty bug in test_frontend.py that was leading to all sorts of weird problems with our test suite like random test errors and unhandled errors in Deferreds. There are 3 problems with this test module: 1. Doesn't use twisted.trial.unittest.TestCase as a base class 2. Test methods don't return Deferreds 3. One test method actually has an unhandled error in a Deferred The only thing I have don't is put a @skip decorator on test_error_callback_added_to_execute to hide 3. All of these things still need to be fixed though. But our tests now pass.

File last commit:

r1332:9a4b350a
r1614:9dcfcfc5
Show More
tstTEMPLATE_doctest.py
16 lines | 427 B | text/x-python | PythonLexer
"""Run this file with
irunner --python filename
to generate valid doctest input.
NOTE: make sure to ALWAYS have a blank line before comments, otherwise doctest
gets confused."""
#---------------------------------------------------------------------------
# Setup - all imports are done in tcommon
import tcommon; reload(tcommon) # for interactive use
from IPython.testing.tcommon import *
# Doctest code begins here