From eedd0d25a08983578ea892eca2ebdcf06cda5e5e Mon Sep 17 00:00:00 2001 From: dh00601 <dh00601@surrey.ac.uk> Date: Sun, 19 Sep 2021 21:57:58 +0100 Subject: [PATCH] made file to run tests without the notebooks --- binarycpython/tests/main.py | 1 - binarycpython/tests/main_with_notebooks.py | 23 ++++++++++++++++++++++ 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100755 binarycpython/tests/main_with_notebooks.py diff --git a/binarycpython/tests/main.py b/binarycpython/tests/main.py index abafd95b2..a30a9e42d 100755 --- a/binarycpython/tests/main.py +++ b/binarycpython/tests/main.py @@ -17,7 +17,6 @@ from binarycpython.tests.test_spacing_functions import * from binarycpython.tests.test_useful_funcs import * from binarycpython.tests.test_grid_options_defaults import * from binarycpython.tests.test_stellar_types import * -from test_notebooks import * if __name__ == "__main__": unittest.main() diff --git a/binarycpython/tests/main_with_notebooks.py b/binarycpython/tests/main_with_notebooks.py new file mode 100755 index 000000000..abafd95b2 --- /dev/null +++ b/binarycpython/tests/main_with_notebooks.py @@ -0,0 +1,23 @@ +#/usr/bin/env python +""" +Main file for the tests. This file imports all the combined_test functions from all files. +""" + +import unittest + +from binarycpython.tests.test_c_bindings import * +from binarycpython.tests.test_custom_logging import * +from binarycpython.tests.test_distributions import * +from binarycpython.tests.test_functions import * +from binarycpython.tests.test_grid import * +from binarycpython.tests.test_hpc_functions import * +from binarycpython.tests.test_plot_functions import * +from binarycpython.tests.test_run_system_wrapper import * +from binarycpython.tests.test_spacing_functions import * +from binarycpython.tests.test_useful_funcs import * +from binarycpython.tests.test_grid_options_defaults import * +from binarycpython.tests.test_stellar_types import * +from test_notebooks import * + +if __name__ == "__main__": + unittest.main() -- GitLab