browsertrix/backend/btrixcloud/operator
Ilya Kreymer cd00f52cca
Fix queue response models + additional testing for queue + exclusions (#1948)
Follow-up to regressions from #1928, this PR:
- Fixes response models for queue endpoints, which had incorrect model
- Adds tests for queue get, queue match, and exclusions add / remove to
ensure regressions like this can be caught via tests. This involves
starting a new crawl in test_run_crawls() instead of relying on implicit
running via fixtures, make it easier to test crawl while it's running.
- Adds additional typing for crawls apis, including making
delete_crawls() have correct typing, consistent derived class override
- Adds check to ensure queue + exclusion operations can not be called
when crawl is not running
2024-07-22 09:00:23 -07:00
..
__init__.py
baseoperator.py Additional typing cleanup (#1938) 2024-07-17 10:49:22 -07:00
bgjobs.py
crawls.py Fix queue response models + additional testing for queue + exclusions (#1948) 2024-07-22 09:00:23 -07:00
cronjobs.py Remove Crawl Workflow Configmaps (#1894) 2024-06-28 15:25:23 -07:00
models.py operator state fixes (follow up fomr #1639) (#1640) 2024-03-29 15:12:16 -07:00
profiles.py