Closed p00rt closed 5 years ago
Merging #3 into master will not change coverage. The diff coverage is
n/a
.
@@ Coverage Diff @@
## master #3 +/- ##
======================================
Coverage 80.1% 80.1%
======================================
Files 8 8
Lines 196 196
Branches 22 22
======================================
Hits 157 157
Misses 35 35
Partials 4 4
Flag | Coverage Δ | |
---|---|---|
#python | 80.1% <ø> (ø) |
: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 76a9c65...3382409. Read the comment docs.
Merging #3 into master will not change coverage. The diff coverage is
n/a
.
@@ Coverage Diff @@
## master #3 +/- ##
======================================
Coverage 80.1% 80.1%
======================================
Files 8 8
Lines 196 196
Branches 22 22
======================================
Hits 157 157
Misses 35 35
Partials 4 4
Flag | Coverage Δ | |
---|---|---|
#python | 80.1% <ø> (ø) |
: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 76a9c65...1bf5a6e. Read the comment docs.
Thanks for the pull request. The test is failing because the mocking no longer works. You can rewrite the test also to Python if you would like to use Python unittest's mock.
i'm pretty sure that the test is broken since it wants to assert that 4GB is enough when 4.5GB is the defined minimum. This commit fixes it and also makes check/disk-space work properly with mock values.
Approved, one non-critical comment left. Can be merged, and the improvement can be applied with a next PR :wink:
Rewrite of disk-space health check. Uses sys.statvfs (unix system call) now, also the syntax has changed from using env variables to using argv as a means to get dir and required space.