forked from bookwyrm-social/bookwyrm
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Use in-memory celery for test suite instead of mocking #23
Open
dato
wants to merge
6
commits into
main
Choose a base branch
from
test_suite_celery_inmem
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dato
changed the title
Test suite: use in-memory celery for tasks instead of patching out
Use in-memory celery for test suite tasks instead of patching out
Jul 28, 2024
4 tasks
dato
changed the title
Use in-memory celery for test suite tasks instead of patching out
Use in-memory celery for test suite instead of patching out tasks
Jul 28, 2024
dato
force-pushed
the
test_suite_celery_inmem
branch
2 times, most recently
from
July 28, 2024 21:47
5d9bf35
to
c313fbc
Compare
dato
changed the title
Use in-memory celery for test suite instead of patching out tasks
Do not patch Use in-memory celery for test suite instead of mocking
Jul 28, 2024
dato
changed the title
Do not patch Use in-memory celery for test suite instead of mocking
Use in-memory celery for test suite instead of mocking
Jul 28, 2024
dato
force-pushed
the
test_suite_celery_inmem
branch
from
July 28, 2024 22:21
c313fbc
to
850a080
Compare
dato
force-pushed
the
test_suite_celery_inmem
branch
2 times, most recently
from
July 28, 2024 23:23
ddd39f2
to
e014333
Compare
dato
force-pushed
the
test_suite_celery_inmem
branch
from
July 28, 2024 23:46
e014333
to
c8873bd
Compare
dato
force-pushed
the
test_suite_celery_inmem
branch
2 times, most recently
from
July 29, 2024 01:26
0e6bfb0
to
d0212c5
Compare
dato
force-pushed
the
test_suite_celery_inmem
branch
from
July 29, 2024 01:29
d0212c5
to
d65d0ef
Compare
dato
force-pushed
the
test_suite_celery_inmem
branch
from
July 29, 2024 02:15
40aa764
to
f63dede
Compare
dato
force-pushed
the
test_suite_celery_inmem
branch
from
July 29, 2024 02:52
ff81625
to
e18cc7c
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This builds on top of bookwyrm-social#3151 to actually remove most
@patch
decorators in the test suite, letting tests hit in-mem celery instead.