Closed rgaudin closed 4 years ago
Merging #40 into master will not change coverage. The diff coverage is
n/a
.
@@ Coverage Diff @@
## master #40 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 19 19
Lines 777 777
=========================================
Hits 777 777
Impacted Files | Coverage Δ | |
---|---|---|
src/zimscraperlib/zim/creator.py | 100.00% <ø> (ø) |
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 7aa4766...3202686. Read the comment docs.
When using StaticArticle without a filename (
content=
) get_data() should return the passed content bytes. This behavior is toggled based on the result ofget_filename()
. Casting tostr
the filename argument resulted in get_filename() to return"None"
fooling it into thinking it's a filename based StaticArticle