Skip to content

Commit

Permalink
plain test
Browse files Browse the repository at this point in the history
  • Loading branch information
wassname committed Oct 12, 2020
1 parent bfb7956 commit 4d762cc
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions test/test_notebooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def run_notebook(notebook_path):
nb = nbformat.read(f, as_version=4)

proc = ExecutePreprocessor(timeout=60, kernel_name="deep_ml_curriculum")
proc.allow_errors = True
proc.allow_errors = False

proc.preprocess(nb, {"metadata": {"path": "/"}})
output_path = os.path.join(dirname, "{}_all_output.ipynb".format(nb_name))
Expand Down Expand Up @@ -90,10 +90,10 @@ def run_notebook(notebook_path):
]


@pytest.mark.parametrize("notebook", notebooks)
def test_notebooks(notebook):
print(notebook)
nb, errors = run_notebook(notebook)
# print('errors', errors)
assert len(errors) == 0
# @pytest.mark.parametrize("notebook", notebooks)
# def test_notebooks(notebook):
# print(notebook)
# nb, errors = run_notebook(notebook)
# # print('errors', errors)
# assert len(errors) == 0

0 comments on commit 4d762cc

Please sign in to comment.