FiniteVolumeTransportPhenomena / PyFVTool

Finite volume toolbox in Python
GNU Lesser General Public License v2.1
13 stars 4 forks source link

Fix testing infrastructure #22

Closed mhvwerts closed 10 months ago

mhvwerts commented 10 months ago

Some Python therapy for me!

The problem with test_benchmark_1d.py was fixed (closes #17 ). I also rearranged the testing scripts, so that they are all in the tests directory.

There were some minor edits, mainly cosmetic without consequences for the existing calculation scripts.

All Jupyter Notebooks in examples-notebooks work correctly with pytest_notebook now.

There are still some warnings when running pytest (deprecation warnings somewhere within pytest_notebook which are beyond my control), but - for the first time - pytest passes all tests without failing!

simulkade commented 10 months ago

Everything looks great! Thanks @mhvwerts . Apologies for not being more active these days due to extraordinary workload! I will come back soon with a several exciting advanced examples of flow in porous media and reactive transport.