browsertrix/backend
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
..
btrixcloud Fix queue response models + additional testing for queue + exclusions (#1948) 2024-07-22 09:00:23 -07:00
test Fix queue response models + additional testing for queue + exclusions (#1948) 2024-07-22 09:00:23 -07:00
test_nightly Add nightly backend tests for org deletion while browsers are running (#1919) 2024-07-10 16:52:27 -07:00
.pylintrc quickfix: pydantic / lint fix (#452) 2023-01-10 18:54:11 -08:00
dev-requirements.txt quickfix: pin mypy version to avoid issues with latest release 2024-07-19 18:30:57 -07:00
Dockerfile Backend mem usage fix - use fixed MOTOR_MAX_WORKERS + switch to gunicorn (#1468) 2024-01-16 15:32:42 -08:00
mypy.ini Support multiple crawler versions (#1420) 2024-01-16 15:32:12 -08:00
requirements.txt Add superuser API endpoints to export and import org data (#1394) 2024-07-02 17:14:34 -04:00
test-requirements.txt Add slugs to org backend (#1250) 2023-10-10 18:30:09 -07:00