browsertrix/backend/test
Ilya Kreymer 887cb16146
Allow configurable max pages per crawl in deployment settings (#717)
* backend: max pages per crawl limit, part of fix for #716:
- set 'max_pages_crawl_limit' in values.yaml, default to 100,000
- if set/non-0, automatically set limit if none provided
- if set/non-0, return 400 if adding config with limit exceeding max limit
- return limit as 'maxPagesPerCrawl' in /api/settings
- api: /all/crawls - add runningOnly=0 to show all crawls, default to 1/true (for more reliable testing)

tests: add test for 'max_pages_per_crawl' setting
- ensure 'limit' can not be set higher than max_pages_per_crawl
- ensure pages crawled is at the limit
- set test limit to max 2 pages
- add settings test
- check for pages.jsonl and extraPages.jsonl when crawling 2 pages
2023-03-28 16:26:29 -07:00
..
__init__.py
conftest.py Allow configurable max pages per crawl in deployment settings (#717) 2023-03-28 16:26:29 -07:00
test_crawl_config_search_values.py Filter and sort crawl and workflow list API endpoints in backend (#724) 2023-03-28 17:55:40 -04:00
test_crawl_config_tags.py Filter and sort crawl and workflow list API endpoints in backend (#724) 2023-03-28 17:55:40 -04:00
test_crawlconfigs.py Allow configurable max pages per crawl in deployment settings (#717) 2023-03-28 16:26:29 -07:00
test_filter_sort_results.py Filter and sort crawl and workflow list API endpoints in backend (#724) 2023-03-28 17:55:40 -04:00
test_invites.py
test_login.py
test_org.py
test_permissions.py
test_run_crawl.py Allow configurable max pages per crawl in deployment settings (#717) 2023-03-28 16:26:29 -07:00
test_settings.py Allow configurable max pages per crawl in deployment settings (#717) 2023-03-28 16:26:29 -07:00
test_users.py