inasafe / inasafe-django

Django project for InaSAFE related services
Other
4 stars 15 forks source link

Add unittests for InAWARE REST push #319

Closed lucernae closed 5 years ago

lucernae commented 5 years ago

Add unittest to make sure InAWARE Rest push scheme will not break in the future.

codecov[bot] commented 5 years ago

Codecov Report

Merging #319 into develop will decrease coverage by 3.87%. The diff coverage is 100%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #319      +/-   ##
===========================================
- Coverage    52.32%   48.44%   -3.88%     
===========================================
  Files           92       92              
  Lines         4344     4345       +1     
  Branches       388      388              
===========================================
- Hits          2273     2105     -168     
- Misses        1994     2179     +185     
+ Partials        77       61      -16
Impacted Files Coverage Δ
django_project/realtime/report_urls.py 100% <ø> (ø) :arrow_up:
django_project/realtime/tasks/earthquake.py 38.79% <100%> (+4.18%) :arrow_up:
...ject/realtime/serializers/pagination_serializer.py 0% <0%> (-84.22%) :arrow_down:
django_project/realtime/views/flatpage.py 37.5% <0%> (-62.5%) :arrow_down:
...o_project/realtime/serializers/flood_serializer.py 78.72% <0%> (-21.28%) :arrow_down:
...ango_project/realtime/filters/earthquake_filter.py 56.25% <0%> (-20.84%) :arrow_down:
django_project/realtime/context_processors.py 72.72% <0%> (-18.19%) :arrow_down:
django_project/realtime/views/flood.py 33.58% <0%> (-15.68%) :arrow_down:
django_project/realtime/views/earthquake.py 47.56% <0%> (-15.63%) :arrow_down:
django_project/realtime/models/flood.py 88.34% <0%> (-6.8%) :arrow_down:
... and 7 more

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 448faf2...1b65e35. Read the comment docs.