HERA-Team / uvtools

Tools useful for the handling, visualization, and analysis of interferometric data.
MIT License
1 stars 1 forks source link

Fix pytest #116

Closed aewallwi closed 3 years ago

aewallwi commented 3 years ago

Fix lingering issues in pytest migration that are hindering proper coverage recording and codecov checks. Verbatum translation of existing unittests into pytest compatible tests. Issues of organization of the existing tests addressed in #117.

codecov[bot] commented 3 years ago

Codecov Report

Merging #116 (ae90d9d) into main (e6075ad) will increase coverage by 48.80%. The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff             @@
##             main     #116       +/-   ##
===========================================
+ Coverage   38.04%   86.84%   +48.80%     
===========================================
  Files          10        7        -3     
  Lines        2363     1460      -903     
===========================================
+ Hits          899     1268      +369     
+ Misses       1464      192     -1272     
Flag Coverage Δ
unittests 86.84% <ø> (+48.80%) :arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
uvtools/plot.py 72.80% <0.00%> (+72.80%) :arrow_up:
uvtools/version.py 79.62% <0.00%> (+79.62%) :arrow_up:
uvtools/dspec.py 96.41% <0.00%> (+96.41%) :arrow_up:
uvtools/utils.py 97.05% <0.00%> (+97.05%) :arrow_up:
uvtools/__init__.py 100.00% <0.00%> (+100.00%) :arrow_up:
uvtools/data/__init__.py 100.00% <0.00%> (+100.00%) :arrow_up:

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 e6075ad...ae90d9d. Read the comment docs.