Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add unit tests to Celery tasks #617

Merged
merged 17 commits into from Jul 12, 2019
Merged

Add unit tests to Celery tasks #617

merged 17 commits into from Jul 12, 2019

Conversation

adelavega
Copy link
Collaborator

@adelavega adelavega commented Jul 10, 2019

Fixes #615

@adelavega adelavega changed the title Attempt to run Celery in eager mode Add unit tests to Celery tasks Jul 12, 2019
@codecov-io
Copy link

Codecov Report

Merging #617 into master will increase coverage by 11.54%.
The diff coverage is 69.09%.

Impacted file tree graph

@@             Coverage Diff             @@
##           master     #617       +/-   ##
===========================================
+ Coverage   70.79%   82.33%   +11.54%     
===========================================
  Files          56       56               
  Lines        2164     2174       +10     
===========================================
+ Hits         1532     1790      +258     
+ Misses        632      384      -248
Impacted Files Coverage Δ
neuroscout/resources/__init__.py 100% <ø> (ø) ⬆️
neuroscout/tasks/compile.py 88.5% <ø> (ø)
neuroscout/tasks/viz.py 92.3% <ø> (ø)
celery_worker/app.py 0% <0%> (ø) ⬆️
neuroscout/config/example_app.py 0% <0%> (ø) ⬆️
neuroscout/tasks/upload.py 54.41% <100%> (ø)
neuroscout/resources/analysis/reports.py 63.41% <100%> (+10.32%) ⬆️
neuroscout/worker.py 100% <100%> (ø) ⬆️
neuroscout/tasks/utils.py 97.22% <100%> (ø)
neuroscout/tasks/report.py 72.6% <100%> (ø)
... and 10 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 302b37f...3cca5a1. Read the comment docs.

@adelavega adelavega marked this pull request as ready for review July 12, 2019 23:42
@adelavega adelavega merged commit 9967fee into master Jul 12, 2019
@adelavega adelavega deleted the fix/celery_tests branch July 12, 2019 23:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Celery tests not working
2 participants