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

Fix the Plasma tests #1150

Merged
merged 6 commits into from
Jun 2, 2020
Merged

Conversation

wkerzendorf
Copy link
Member

@wkerzendorf wkerzendorf commented May 15, 2020

In Progress ... Do not merge
There are currently several tests for the plasma calculation. Time to take inventory and clean up

Description

Fix up PEP8
Try to delete some tests and see if the coverage changes

Motivation and Context

There seem to be many tests and it is unclear which one them are still needed. We will delete and see if coverage changes.

How Has This Been Tested?

N/A

  • remove unnecessary tests
  • getting codecov to work again

@wkerzendorf wkerzendorf force-pushed the tests/fix_plasma_test branch 2 times, most recently from 055d62e to 84759d8 Compare May 27, 2020 13:43
@wkerzendorf wkerzendorf requested review from epassaro and chvogl May 27, 2020 14:57
@wkerzendorf wkerzendorf marked this pull request as draft May 27, 2020 14:59
@wkerzendorf wkerzendorf force-pushed the tests/fix_plasma_test branch from 84759d8 to 3b4d5bc Compare May 29, 2020 13:52
@codecov
Copy link

codecov bot commented May 29, 2020

Codecov Report

Merging #1150 into master will decrease coverage by 0.15%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1150      +/-   ##
==========================================
- Coverage   77.29%   77.13%   -0.16%     
==========================================
  Files          90       89       -1     
  Lines        5589     5551      -38     
==========================================
- Hits         4320     4282      -38     
  Misses       1269     1269              
Impacted Files Coverage Δ
tardis/plasma/tests/test_hdf_plasma.py 94.23% <100.00%> (ø)
tardis/plasma/tests/test_plasma_vboundary.py 100.00% <100.00%> (ø)
tardis/plasma/base.py 58.27% <0.00%> (-1.99%) ⬇️
tardis/simulation/base.py 85.05% <0.00%> (-1.15%) ⬇️
tardis/plasma/properties/atomic.py 87.75% <0.00%> (-1.03%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9dee5b1...83fbc5f. Read the comment docs.

@epassaro
Copy link
Member

Seems fine. Maybe would be a good idea to change the title of the PR to something more informative (about codecov and deleting tests) to find this in the future (if necessary).

@wkerzendorf wkerzendorf marked this pull request as ready for review June 1, 2020 22:23
@chvogl chvogl merged commit 75f9286 into tardis-sn:master Jun 2, 2020
atharva-2001 pushed a commit to atharva-2001/tardis that referenced this pull request Oct 1, 2021
* fix some PEP8

* removed PEP8 violations

* remove tests plasma test_plasmas_full

* fix coverage problem

* add token

* use upstream/master azure yml and add token
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.

3 participants