We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It would be useful to have invenio-cache (or Redis) fixtures to be able to:
invenio-cache
CACHE_KEY_REFIX
FLUSHALL
Another interesting alternative is specifying a custom CACHE_KEY_PREFIX for testing (e.g. 'tests::cache::') and clear only this one.
CACHE_KEY_PREFIX
'tests::cache::'
The text was updated successfully, but these errors were encountered:
See https://github.com/inveniosoftware/invenio-records-resources/pull/191/files#diff-0ba313cb2999f359508cf4f109393ff1549358fb857cd9c3620266ad7994a627R71 for reference
Sorry, something went wrong.
An ad-hoc fixture has been placed in invenio-record-resources, invenio-vocabularies and invenio-rdm-records, remove from there when fixing this issue:
@pytest.fixture() def cache(): """Empty cache.""" try: current_cache.clear() yield current_cache finally: current_cache.clear()
Successfully merging a pull request may close this issue.
It would be useful to have
invenio-cache
(or Redis) fixtures to be able to:CACHE_KEY_REFIX
FLUSHALL
)Another interesting alternative is specifying a custom
CACHE_KEY_PREFIX
for testing (e.g.'tests::cache::'
) and clear only this one.The text was updated successfully, but these errors were encountered: