From 21e14cbd3cad0e94efa2817d971c1b69b6a62b76 Mon Sep 17 00:00:00 2001 From: OnnoEbbens Date: Thu, 12 Oct 2023 16:05:37 +0200 Subject: [PATCH] fixed pastas nb 1-3 #29 --- autotest/test_02_on_topic.py | 27 ++++++++++++--------------- 1 file changed, 12 insertions(+), 15 deletions(-) diff --git a/autotest/test_02_on_topic.py b/autotest/test_02_on_topic.py index 5512fa0..9a54970 100644 --- a/autotest/test_02_on_topic.py +++ b/autotest/test_02_on_topic.py @@ -251,25 +251,22 @@ def test_03_testing3(): tf.run_notebook(fname, clearoutput=False) -# # Does not work. Test turned off. Needs fixing. -# def test_1_basic_pastas_model(): -# fpath_rel = ['19_pastas', '1_basic_pastas_model.ipynb'] -# fname = os.path.join(nb_dir, *fpath_rel) -# tf.run_notebook(fname, clearoutput=False) +def test_1_basic_pastas_model(): + fpath_rel = ['19_pastas', '1_basic_pastas_model.ipynb'] + fname = os.path.join(nb_dir, *fpath_rel) + tf.run_notebook(fname, clearoutput=False) -# # Does not work. Test turned off. Needs fixing. -# def test_2_external_stresses(): -# fpath_rel = ['19_pastas', '2_external_stresses.ipynb'] -# fname = os.path.join(nb_dir, *fpath_rel) -# tf.run_notebook(fname, clearoutput=False) +def test_2_external_stresses(): + fpath_rel = ['19_pastas', '2_external_stresses.ipynb'] + fname = os.path.join(nb_dir, *fpath_rel) + tf.run_notebook(fname, clearoutput=False) -# # Does not work. Test turned off. Needs fixing. -# def test_3_stressmodels(): -# fpath_rel = ['19_pastas', '3_stressmodels.ipynb'] -# fname = os.path.join(nb_dir, *fpath_rel) -# tf.run_notebook(fname, clearoutput=False) +def test_3_stressmodels(): + fpath_rel = ['19_pastas', '3_stressmodels.ipynb'] + fname = os.path.join(nb_dir, *fpath_rel) + tf.run_notebook(fname, clearoutput=False) # # Does not work. Test turned off. Needs fixing.