browsertrix/backend/test
Tessa Walsh 123705c53f
Serialize datetimes with Z suffix (#2058)
Use timezone aware datetimes instead of timezone naive datetimes:
- Update mongodb client to use tz-aware conversion
- Convert dt_now() to return timezone aware UTC date
- Rename to_k8s_date -> date_to_str, just returns ISO UTC date with 'Z'
(instead of '+00:00' suffix)
- Rename from_k8s_date -> str_to_date, returns timezone aware date from
str
- Standardize all string<->date conversion to use either date_to_str or
str_to_date
- Update frontend to assume iso date, not append 'Z' directly
- Update tests to check for 'Z' suffix on some dates

---------
Co-authored-by: Ilya Kreymer <ikreymer@gmail.com>
2024-09-12 16:16:13 -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 feat: Display scale as number of browser windows (#2057) 2024-09-05 17:32:40 -07:00
test_collections.py Serialize datetimes with Z suffix (#2058) 2024-09-12 16:16:13 -07:00
test_crawl_config_search_values.py Pydantic 2.x update + type fixes + python 3.12 (#1947) 2024-07-22 17:23:03 -07:00
test_crawl_config_tags.py
test_crawlconfigs.py Serialize datetimes with Z suffix (#2058) 2024-09-12 16:16:13 -07:00
test_filter_sort_results.py
test_login.py
test_org_subs.py Serialize datetimes with Z suffix (#2058) 2024-09-12 16:16:13 -07:00
test_org.py add a crawling defaults on the Org to allow setting certain crawl workflow fields as defaults: (#2031) 2024-08-22 10:36:04 -07:00
test_permissions.py
test_profiles.py Serialize datetimes with Z suffix (#2058) 2024-09-12 16:16:13 -07:00
test_qa.py Implement downloading archived item + QA runs as multi-WACZ (#1933) 2024-07-25 10:28:57 -07:00
test_run_crawl.py Serialize datetimes with Z suffix (#2058) 2024-09-12 16:16:13 -07:00
test_stop_cancel_crawl.py
test_uploads.py Implement downloading archived item + QA runs as multi-WACZ (#1933) 2024-07-25 10:28:57 -07:00
test_users.py Include user and user org info in login response (#2014) 2024-08-12 18:51:42 -07:00
test_utils.py Format backend with Black 24 (#1507) 2024-02-07 11:35:34 -08:00
test_webhooks.py Add webhooks for qaAnalysisStarted, qaAnalysisFinished, and crawlReviewed (#1974) 2024-07-25 16:53:49 -07:00
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