browsertrix/backend/test
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
..
data Add superuser API endpoints to export and import org data (#1394) 2024-07-02 17:14:34 -04:00
__init__.py
conftest.py Improve handling of duplicate org name/slug (#1917) 2024-07-10 19:24:50 -07:00
echo_server.py Adds Subscription API (#1914) 2024-07-10 17:41:16 -07:00
test_api.py OpenAPI Metadata for API Endpoints (#1941) 2024-07-18 11:11:38 -07:00
test_collections.py
test_crawl_config_search_values.py
test_crawl_config_tags.py
test_crawlconfigs.py Fix regression with saving new workflow due to profileid type error (#1946) 2024-07-18 09:35:52 -07:00
test_filter_sort_results.py
test_login.py
test_org_subs.py Add API endpoint to import subscription for existing org (#1930) 2024-07-16 16:17:02 -07:00
test_org.py Ensure org name and slug uniqueness is case-insensitive (#1929) 2024-07-18 15:30:12 -07:00
test_permissions.py
test_profiles.py Disable uploading and creating browser profiles when org is read-only (#1907) 2024-07-01 23:15:38 -07:00
test_qa.py Show QA meter while analysis is running (#1854) 2024-06-12 12:32:01 -04:00
test_run_crawl.py Fix queue response models + additional testing for queue + exclusions (#1948) 2024-07-22 09:00:23 -07:00
test_settings.py Adds Subscription API (#1914) 2024-07-10 17:41:16 -07:00
test_stop_cancel_crawl.py
test_uploads.py Fix queue response models + additional testing for queue + exclusions (#1948) 2024-07-22 09:00:23 -07:00
test_users.py Adds Subscription API (#1914) 2024-07-10 17:41:16 -07:00
test_utils.py Format backend with Black 24 (#1507) 2024-02-07 11:35:34 -08:00
test_webhooks.py
test_workflow_auto_add_to_collection.py
test_y_org_import_export.py Add API endpoint to delete org (#1448) 2024-07-03 16:00:11 -04:00
test_z_delete_org.py Add API endpoint to recalculate org storage (#1943) 2024-07-19 18:29:20 -07:00
utils.py