##// END OF EJS Templates
Fix timeout test
Jessica B. Hamrick -
Show More
@@ -146,4 +146,6 b' class TestExecute(PreprocessorTestsBase):'
146 """Check that an error is raised when a computation times out"""
146 """Check that an error is raised when a computation times out"""
147 current_dir = os.path.dirname(__file__)
147 current_dir = os.path.dirname(__file__)
148 filename = os.path.join(current_dir, 'files', 'Interrupt.ipynb')
148 filename = os.path.join(current_dir, 'files', 'Interrupt.ipynb')
149 assert_raises(Empty, self.run_notebook, filename, dict(timeout=1))
149 res = self.build_resources()
150 res['metadata']['path'] = os.path.dirname(filename)
151 assert_raises(Empty, self.run_notebook, filename, dict(timeout=1), res)
General Comments 0
You need to be logged in to leave comments. Login now