wagtail / wagtail-factories

Factory boy classes for wagtail
http://wagtail-factories.readthedocs.io/en/latest/
MIT License
102 stars 41 forks source link

Use try except for imports to have wagtail 1 + 2 support #8

Closed mikedingjan closed 6 years ago

codecov[bot] commented 6 years ago

Codecov Report

Merging #8 into master will decrease coverage by 5.74%. The diff coverage is 52.5%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master       #8      +/-   ##
==========================================
- Coverage   97.95%   92.21%   -5.75%     
==========================================
  Files          12       12              
  Lines         294      321      +27     
==========================================
+ Hits          288      296       +8     
- Misses          6       25      +19
Impacted Files Coverage Δ
tests/testapp/migrations/0001_initial.py 81.81% <50%> (-18.19%) :arrow_down:
tests/test_blocks.py 92.1% <50%> (-7.9%) :arrow_down:
src/wagtail_factories/factories.py 90.38% <50%> (-5.45%) :arrow_down:
src/wagtail_factories/blocks.py 91.66% <50%> (-3.34%) :arrow_down:
tests/test_factories.py 97.01% <50%> (-2.99%) :arrow_down:
tests/testapp/models.py 75% <50%> (-25%) :arrow_down:
tests/settings.py 90.9% <75%> (-9.1%) :arrow_down:

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 333c1b3...3c011cb. Read the comment docs.