Skip to content

Commit

Permalink
test: allow larger timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
maartenbreddels committed Feb 5, 2020
1 parent ec5ee0d commit 93bdd9b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions tests/app/many_iopub_messages_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
import pytest


@pytest.fixture
def voila_args_extra():
return ['--ExecutePreprocessor.timeout=180']


@pytest.fixture
def voila_notebook(notebook_directory):
return os.path.join(notebook_directory, 'many_iopub_messages.ipynb')
Expand Down
2 changes: 1 addition & 1 deletion voila/execute.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ def strip_notebook_errors(self, nb):
self.strip_code_cell_errors(cell)

return nb

def strip_code_cell_errors(self, cell):
"""Strip any error outputs and traceback from a code cell."""
# There is no 'outputs' key for markdown cells
Expand Down

0 comments on commit 93bdd9b

Please sign in to comment.