kartoza / geosafe

InaSAFE package for Geonode
GNU General Public License v3.0
7 stars 16 forks source link

Fix task tracker to accurately track task status #521

Closed lucernae closed 5 years ago

lucernae commented 5 years ago

Return task state from task result if not pending

partly related with #520 and #519 at least to show consistent status.

codecov[bot] commented 5 years ago

Codecov Report

Merging #521 into 2.8.x will decrease coverage by 0.4%. The diff coverage is 33.33%.

Impacted file tree graph

@@            Coverage Diff             @@
##            2.8.x     #521      +/-   ##
==========================================
- Coverage   56.43%   56.03%   -0.41%     
==========================================
  Files          47       47              
  Lines        2527     2529       +2     
  Branches      283      284       +1     
==========================================
- Hits         1426     1417       -9     
- Misses       1027     1035       +8     
- Partials       74       77       +3
Impacted Files Coverage Δ
models.py 67.12% <0%> (-3.72%) :arrow_down:
views/tests/test_views.py 94.9% <100%> (-1.18%) :arrow_down:
signals.py 85.93% <0%> (-3.13%) :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 995e1b4...9ceea2f. Read the comment docs.