-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature/pdct 1559 download all data should only show data from allowe…
…d corpora (#371) * Move app token factory into class * Update filename based on theme from app token * Make TODO a FIXME so we remember to remove it * Update create token tests to use class * Update decode token tests to use class * Remove unused db argument * Update conftests to use app token factory class * Rename files & raise HTTPException from PyJwtError * Consolidate core tests under non_search folder * Remove self.db attribute * Mock token validate so it always passes in valid_token * Mock verify_corpora_in_db as True * Update existing search tests * Fix mocking paths based on new AppFactory * Pull verification of dump upload into separate function * Add test coverage for whole database download * Add test coverage for this search download * Add docstrings * Remove fixme * Make default corpora an empty list * Only dump data from list of allowed corpora * Update docstring * Rename DOC_CACHE_BUCKET to DOCUMENT_CACHE_BUCKET * Remove duplicate property * Update cache to use functools lru_cache * Bump to 1.17.5 * Remove fixme
- Loading branch information
1 parent
4f7b4ad
commit 299cfab
Showing
25 changed files
with
842 additions
and
333 deletions.
There are no files selected for viewing
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
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
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
Oops, something went wrong.