29 lines
3.9 KiB
Plaintext
29 lines
3.9 KiB
Plaintext
test_admin_can_query_all_usage_and_filter_model (test_model_usage_ledger.ModelUsageApiTests.test_admin_can_query_all_usage_and_filter_model) ... ok
|
|
test_invalid_query_ranges_are_rejected (test_model_usage_ledger.ModelUsageApiTests.test_invalid_query_ranges_are_rejected) ... ok
|
|
test_scoped_admin_all_means_only_authorized_accounts (test_model_usage_ledger.ModelUsageApiTests.test_scoped_admin_all_means_only_authorized_accounts) ... ok
|
|
test_stats_and_log_require_login_and_stats_read (test_model_usage_ledger.ModelUsageApiTests.test_stats_and_log_require_login_and_stats_read) ... ok
|
|
test_all_purposes_default_and_precise_provider_model_filters (test_model_usage_ledger.ModelUsageLedgerTests.test_all_purposes_default_and_precise_provider_model_filters) ... ok
|
|
test_answer_candidates_judge_retry_and_error_are_all_charged (test_model_usage_ledger.ModelUsageLedgerTests.test_answer_candidates_judge_retry_and_error_are_all_charged) ... ok
|
|
test_batch_retry_only_inserts_new_events (test_model_usage_ledger.ModelUsageLedgerTests.test_batch_retry_only_inserts_new_events) ... ok
|
|
test_concurrent_duplicate_writers_insert_once (test_model_usage_ledger.ModelUsageLedgerTests.test_concurrent_duplicate_writers_insert_once) ... ok
|
|
test_default_specific_and_multi_account_scopes_are_isolated (test_model_usage_ledger.ModelUsageLedgerTests.test_default_specific_and_multi_account_scopes_are_isolated) ... ok
|
|
test_empty_statistics_are_zero_with_all_requested_calendar_days (test_model_usage_ledger.ModelUsageLedgerTests.test_empty_statistics_are_zero_with_all_requested_calendar_days) ... ok
|
|
test_event_id_is_idempotent_and_first_record_is_immutable (test_model_usage_ledger.ModelUsageLedgerTests.test_event_id_is_idempotent_and_first_record_is_immutable) ... ok
|
|
test_invalid_metadata_and_noninteger_tokens_are_rejected (test_model_usage_ledger.ModelUsageLedgerTests.test_invalid_metadata_and_noninteger_tokens_are_rejected) ... ok
|
|
test_legacy_logs_are_not_fabricated_and_only_unmatched_tasks_are_counted (test_model_usage_ledger.ModelUsageLedgerTests.test_legacy_logs_are_not_fabricated_and_only_unmatched_tasks_are_counted) ... ok
|
|
test_legacy_task_match_does_not_cross_tenants_and_default_alias_matches (test_model_usage_ledger.ModelUsageLedgerTests.test_legacy_task_match_does_not_cross_tenants_and_default_alias_matches) ... ok
|
|
test_migration_preserves_old_rows_and_is_repeatable (test_model_usage_ledger.ModelUsageLedgerTests.test_migration_preserves_old_rows_and_is_repeatable) ... ok
|
|
test_missing_usage_stays_null_and_is_not_counted_as_known (test_model_usage_ledger.ModelUsageLedgerTests.test_missing_usage_stays_null_and_is_not_counted_as_known) ... ok
|
|
test_only_allowlisted_metadata_is_persisted (test_model_usage_ledger.ModelUsageLedgerTests.test_only_allowlisted_metadata_is_persisted) ... ok
|
|
test_pagination_is_stable_and_database_limit_is_capped (test_model_usage_ledger.ModelUsageLedgerTests.test_pagination_is_stable_and_database_limit_is_capped) ... ok
|
|
test_partial_usage_is_never_filled_or_total_estimated (test_model_usage_ledger.ModelUsageLedgerTests.test_partial_usage_is_never_filled_or_total_estimated) ... ok
|
|
test_usage_write_lock_has_short_budget_without_changing_other_connections (test_model_usage_ledger.ModelUsageLedgerTests.test_usage_write_lock_has_short_budget_without_changing_other_connections) ... ok
|
|
test_utc_window_includes_today_excludes_tomorrow_and_normalizes_offsets (test_model_usage_ledger.ModelUsageLedgerTests.test_utc_window_includes_today_excludes_tomorrow_and_normalizes_offsets) ... ok
|
|
test_validation_or_storage_failure_raises_and_batch_does_not_partially_write (test_model_usage_ledger.ModelUsageLedgerTests.test_validation_or_storage_failure_raises_and_batch_does_not_partially_write) ... ok
|
|
test_zero_reported_tokens_are_known (test_model_usage_ledger.ModelUsageLedgerTests.test_zero_reported_tokens_are_known) ... ok
|
|
|
|
----------------------------------------------------------------------
|
|
Ran 23 tests in 10.161s
|
|
|
|
OK
|