Closed rvause closed 1 year ago
Merging #6 into master will increase coverage by
0.21%
. The diff coverage is100%
.
@@ Coverage Diff @@
## master #6 +/- ##
==========================================
+ Coverage 93.72% 93.93% +0.21%
==========================================
Files 11 11
Lines 255 264 +9
==========================================
+ Hits 239 248 +9
Misses 16 16
Impacted Files | Coverage Δ | |
---|---|---|
safe_filefield/validators.py | 88.67% <100%> (+0.44%) |
:arrow_up: |
safe_filefield/tests/test_validators.py | 94.59% <100%> (+0.56%) |
: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 225a48c...24f1216. Read the comment docs.
Looks like there are cases where
FileContentTypeValidator
receives aFieldFile
object that does not have acontent_type
attribute. Attempts to fix issue #4 by getting theUploadedFile
instance from aFieldFile
object.(adds Django 2.x to test matrix)