Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update pytest #73

Merged
merged 2 commits into from
Jun 21, 2023
Merged

update pytest #73

merged 2 commits into from
Jun 21, 2023

Conversation

keiyamamo
Copy link
Collaborator

Fix #72
Also I added a test for mpirun.

@keiyamamo
Copy link
Collaborator Author

With this fix, tests hit 94% of laplace.py (it’s missing one line that should raise an error with unsupported extrapolation_sub_type)

--------- coverage: platform darwin, python 3.10.10-final-0 ----------
Name                                    Stmts   Miss  Cover
-----------------------------------------------------------
turtleFSI/__init__.py                       1      0   100%
turtleFSI/modules/__init__.py               1      0   100%
turtleFSI/modules/biharmonic.py            14      0   100%
turtleFSI/modules/common.py               111     69    38%
turtleFSI/modules/domain.py                49     25    49%
turtleFSI/modules/elastic.py               12      0   100%
turtleFSI/modules/fluid.py                 20      0   100%
turtleFSI/modules/laplace.py               16      1    94%
turtleFSI/modules/newtonsolver.py          52      2    96%
turtleFSI/modules/no_extrapolation.py       2      0   100%
turtleFSI/modules/no_fluid.py               8      0   100%
turtleFSI/modules/no_solid.py               8      0   100%
turtleFSI/modules/solid.py                 36     13    64%
turtleFSI/monolithic.py                   128     19    85%
turtleFSI/run_turtle.py                     8      1    88%
turtleFSI/utils/Probe.py                   70     49    30%
turtleFSI/utils/Womersley.py              138    119    14%
turtleFSI/utils/__init__.py                16     12    25%
turtleFSI/utils/argpar.py                 146     60    59%
-----------------------------------------------------------
TOTAL                                     836    370    56%

@keiyamamo keiyamamo merged commit 6a7a862 into KVSlab:master Jun 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

pytest missing laplace as mesh moving
2 participants