Closed astrofrog closed 5 years ago
I'm a little puzzled as to how the tests passed before, but I don't have time to investigate today.
Merging #494 into master will increase coverage by
0.11%
. The diff coverage is100%
.
@@ Coverage Diff @@
## master #494 +/- ##
==========================================
+ Coverage 62.2% 62.31% +0.11%
==========================================
Files 40 40
Lines 5069 5069
==========================================
+ Hits 3153 3159 +6
+ Misses 1916 1910 -6
Impacted Files | Coverage Δ | |
---|---|---|
cubeviz/conftest.py | 77.14% <100%> (-5.72%) |
:arrow_down: |
cubeviz/cubeviz.py | 31.66% <100%> (+13.33%) |
: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 f5aa9c2...d582830. Read the comment docs.
Just putting a comment here for posterity: we don't actually call cubeviz.main
to start cubeviz
in the test suite. Instead, we use a test fixture that constructs a cubeviz
application instance in a slightly different way (since we don't need to process command-line arguments or show the splash screen.
We should probably refactor this so that the tests share more code with the way users run the application.
The version import doesn't work anymore now that setuptools_scm is used. Also removed a glue file which appeared.