date: 2026-11-05T19:26:56.378672+00:00  commit: 252e3e3ffeea5004cfd9dc342e686af1417a77a2
NO_PROXY=localhost,127.0.0.1,::1 COMPOSE_PROJECT_NAME=mtusi2026lab3-grade4-20261105 LB_HTTP_PORT=18083 LB_STATS_PORT=23083 API_REPLICAS=2
$ make student-test PYTEST_ARGS=-vv
.venv/bin/pytest -vv
============================= test session starts ==============================
platform darwin -- Python 3.14.5, pytest-9.1.1, pluggy-1.6.0 -- <repo>/.venv/bin/python
cachedir: .pytest_cache
rootdir: <repo>
configfile: pyproject.toml
testpaths: student-tests
plugins: asyncio-1.4.0, anyio-4.15.1
asyncio: mode=Mode.AUTO, debug=False, asyncio_default_fixture_loop_scope=function, asyncio_default_test_loop_scope=function
collecting ... collected 297 items / 12 deselected / 285 selected

student-tests/api/test_access.py::test_outsider_gets_404_on_chat PASSED  [  0%]
student-tests/api/test_access.py::test_unknown_chat_is_indistinguishable_from_foreign PASSED [  0%]
student-tests/api/test_access.py::test_outsider_cannot_write PASSED      [  1%]
student-tests/api/test_access.py::test_outsider_cannot_read_history PASSED [  1%]
student-tests/api/test_access.py::test_access_checked_before_body PASSED [  1%]
student-tests/api/test_access.py::test_chat_list_hides_foreign_chats PASSED [  2%]
student-tests/api/test_access.py::test_403_is_never_used PASSED          [  2%]
student-tests/api/test_access.py::test_request_shape_is_checked_before_access PASSED [  2%]
student-tests/api/test_access.py::test_outsider_does_not_wait_for_members_lock PASSED [  3%]
student-tests/api/test_bounded_contexts.py::test_identity_does_not_know_about_messaging PASSED [  3%]
student-tests/api/test_bounded_contexts.py::test_domains_do_not_import_infrastructure PASSED [  3%]
student-tests/api/test_bounded_contexts.py::test_core_layers_do_not_import_pydantic PASSED [  4%]
student-tests/api/test_bounded_contexts.py::test_shared_knows_nothing_about_zones PASSED [  4%]
student-tests/api/test_bounded_contexts.py::test_shared_core_is_free_of_transport PASSED [  4%]
student-tests/api/test_bounded_contexts.py::test_shared_core_holds_only_platform PASSED [  5%]
student-tests/api/test_bounded_contexts.py::test_shared_entrypoints_hold_only_transport PASSED [  5%]
student-tests/api/test_bounded_contexts.py::test_every_zone_owns_its_errors_events_and_commands PASSED [  5%]
student-tests/api/test_bounded_contexts.py::test_every_zone_owns_its_http_layer PASSED [  6%]
student-tests/api/test_bounded_contexts.py::test_only_main_knows_both_zones PASSED [  6%]
student-tests/api/test_bounded_contexts.py::test_application_has_no_separate_entrypoints_root PASSED [  7%]
student-tests/api/test_bounded_contexts.py::test_shared_source_mentions_no_domain_vocabulary PASSED [  7%]
student-tests/api/test_bounded_contexts.py::test_shared_declares_no_concrete_commands_or_events PASSED [  7%]
student-tests/api/test_bounded_contexts.py::test_shared_has_no_test_doubles PASSED [  8%]
student-tests/api/test_bounded_contexts.py::test_zone_errors_do_not_leak_transport_codes PASSED [  8%]
student-tests/api/test_bounded_contexts.py::test_sql_of_each_zone_reads_only_its_tables PASSED [  8%]
student-tests/api/test_bounded_contexts.py::test_messaging_does_not_import_identity_at_all PASSED [  9%]
student-tests/api/test_bounded_contexts.py::test_sqlalchemy_stays_in_infrastructure_and_asyncpg_is_only_a_driver PASSED [  9%]
student-tests/api/test_cache.py::test_second_check_is_served_from_cache PASSED [  9%]
student-tests/api/test_cache.py::test_logout_writes_tombstone_before_database PASSED [ 10%]
student-tests/api/test_cache.py::test_logout_rejected_by_database_changes_nothing PASSED [ 10%]
student-tests/api/test_cache.py::test_fill_racing_with_logout_does_not_revive_token PASSED [ 10%]
student-tests/api/test_cache.py::test_flushall_loses_nothing PASSED      [ 11%]
student-tests/api/test_cache.py::test_unreachable_cache_is_bypassed_without_anonymous_access PASSED [ 11%]
student-tests/api/test_concurrency.py::test_hundred_messages_from_ten_clients PASSED [ 11%]
student-tests/api/test_concurrency.py::test_history_follows_the_clock_but_never_moves_back PASSED [ 12%]
student-tests/api/test_concurrency.py::test_parallel_registration_keeps_username_unique PASSED [ 12%]
student-tests/api/test_concurrency.py::test_parallel_chat_creation_is_atomic PASSED [ 12%]
student-tests/api/test_consistency.py::test_registration_is_visible_to_chats_immediately PASSED [ 13%]
student-tests/api/test_consistency.py::test_parallel_registrations_are_all_usable_as_members PASSED [ 13%]
student-tests/api/test_consistency.py::test_rejected_registration_leaves_no_trace PASSED [ 14%]
student-tests/api/test_consistency.py::test_failed_chat_creation_rolls_back_both_tables PASSED [ 14%]
student-tests/api/test_consistency.py::test_rejected_message_does_not_enter_history PASSED [ 14%]
student-tests/api/test_consistency.py::test_confirmed_write_is_visible_to_next_read PASSED [ 15%]
student-tests/api/test_consistency.py::test_parallel_writes_across_zones_keep_counts_consistent PASSED [ 15%]
student-tests/api/test_consistency.py::test_chat_membership_survives_parallel_reads_and_writes PASSED [ 15%]
student-tests/api/test_drain.py::test_draining_replica_is_not_ready_but_alive PASSED [ 16%]
student-tests/api/test_drain.py::test_sigterm_leaves_rotation_then_closes_and_cancels_stuck_requests PASSED [ 16%]
student-tests/api/test_events.py::test_event_has_no_message_text PASSED  [ 16%]
student-tests/api/test_events.py::test_every_subscriber_receives_event PASSED [ 17%]
student-tests/api/test_events.py::test_failing_subscriber_does_not_block_others PASSED [ 17%]
student-tests/api/test_events.py::test_queue_overflow_drops_events_without_raising PASSED [ 17%]
student-tests/api/test_events.py::test_publication_does_not_delay_response PASSED [ 18%]
student-tests/api/test_events.py::test_null_logger_hides_everything PASSED [ 18%]
student-tests/api/test_idempotency.py::test_replay_returns_the_same_message PASSED [ 18%]
student-tests/api/test_idempotency.py::test_same_json_in_other_layout_is_a_replay PASSED [ 19%]
student-tests/api/test_idempotency.py::test_other_body_with_same_key_conflicts PASSED [ 19%]
student-tests/api/test_idempotency.py::test_missing_key_is_rejected PASSED [ 20%]
student-tests/api/test_idempotency.py::test_malformed_key_is_rejected[0] PASSED [ 20%]
student-tests/api/test_idempotency.py::test_malformed_key_is_rejected[1] PASSED [ 20%]
student-tests/api/test_idempotency.py::test_malformed_key_is_rejected[2] PASSED [ 21%]
student-tests/api/test_idempotency.py::test_malformed_key_is_rejected[3] PASSED [ 21%]
student-tests/api/test_idempotency.py::test_malformed_key_is_rejected[4] PASSED [ 21%]
student-tests/api/test_idempotency.py::test_malformed_key_is_rejected[5] PASSED [ 22%]
student-tests/api/test_idempotency.py::test_rejected_attempt_does_not_take_the_key PASSED [ 22%]
student-tests/api/test_idempotency.py::test_key_is_scoped_by_user_and_chat PASSED [ 22%]
student-tests/api/test_idempotency.py::test_replay_checks_session_and_access_again PASSED [ 23%]
student-tests/api/test_idempotency.py::test_expired_key_starts_over PASSED [ 23%]
student-tests/api/test_idempotency.py::test_concurrent_retries_through_two_replicas_store_one_message PASSED [ 23%]
student-tests/api/test_instance.py::test_every_response_names_the_replica PASSED [ 24%]
student-tests/api/test_instance.py::test_rejected_body_names_the_replica PASSED [ 24%]
student-tests/api/test_instance.py::test_unhandled_error_names_the_replica PASSED [ 24%]
student-tests/api/test_instance.py::test_replica_defaults_to_container_hostname PASSED [ 25%]
student-tests/api/test_migrations.py::test_migrations_are_ordered_and_versioned PASSED [ 25%]
student-tests/api/test_migrations.py::test_fresh_schema_matches_models PASSED [ 25%]
student-tests/api/test_migrations.py::test_rerun_changes_nothing PASSED  [ 26%]
student-tests/api/test_migrations.py::test_legacy_upgrade_preserves_every_row[1] PASSED [ 26%]
student-tests/api/test_migrations.py::test_legacy_upgrade_preserves_every_row[2] PASSED [ 27%]
student-tests/api/test_migrations.py::test_legacy_drift_is_refused_without_stamping[DROP INDEX messages_history_idx] PASSED [ 27%]
student-tests/api/test_migrations.py::test_legacy_drift_is_refused_without_stamping[ALTER TABLE messages DROP CONSTRAINT messages_chat_id_sender_id_fkey] PASSED [ 27%]
student-tests/api/test_migrations.py::test_legacy_drift_is_refused_without_stamping[ALTER TABLE users DROP CONSTRAINT users_username_format] PASSED [ 28%]
student-tests/api/test_migrations.py::test_legacy_drift_is_refused_without_stamping[ALTER TABLE users ALTER COLUMN display_name TYPE varchar] PASSED [ 28%]
student-tests/api/test_migrations.py::test_legacy_drift_is_refused_without_stamping[ALTER TABLE users ALTER COLUMN username TYPE text COLLATE "C"] PASSED [ 28%]
student-tests/api/test_migrations.py::test_legacy_drift_is_refused_without_stamping[ALTER TABLE sessions SET UNLOGGED] PASSED [ 29%]
student-tests/api/test_migrations.py::test_legacy_drift_is_refused_without_stamping[ALTER TABLE sessions ALTER COLUMN expires_at DROP NOT NULL] PASSED [ 29%]
student-tests/api/test_migrations.py::test_legacy_drift_is_refused_without_stamping[UPDATE schema_migrations SET checksum = 'tampered' WHERE version = '0001_init'] PASSED [ 29%]
student-tests/api/test_migrations.py::test_legacy_drift_is_refused_without_stamping[DELETE FROM schema_migrations WHERE version = '0001_init'] PASSED [ 30%]
student-tests/api/test_migrations.py::test_legacy_drift_is_refused_without_stamping[UPDATE schema_migrations SET version = 'unknown' WHERE version = '0002_idempotency_keys'] PASSED [ 30%]
student-tests/api/test_migrations.py::test_legacy_drift_is_refused_without_stamping[DROP TABLE schema_migrations] PASSED [ 30%]
student-tests/api/test_migrations.py::test_unknown_revision_is_refused PASSED [ 31%]
student-tests/api/test_migrations.py::test_simultaneous_migration_processes_serialize[False] PASSED [ 31%]
student-tests/api/test_migrations.py::test_simultaneous_migration_processes_serialize[True] PASSED [ 31%]
student-tests/api/test_migrations.py::test_sender_must_be_member_even_bypassing_api PASSED [ 32%]
student-tests/api/test_migrations.py::test_key_needs_a_member_and_a_message PASSED [ 32%]
student-tests/api/test_migrations.py::test_failed_revision_rolls_back_ddl_and_version PASSED [ 32%]
student-tests/api/test_negative.py::test_malformed_json PASSED           [ 33%]
student-tests/api/test_negative.py::test_unexpected_field PASSED         [ 33%]
student-tests/api/test_negative.py::test_wrong_types PASSED              [ 34%]
student-tests/api/test_negative.py::test_invalid_registration[body0] PASSED [ 34%]
student-tests/api/test_negative.py::test_invalid_registration[body1] PASSED [ 34%]
student-tests/api/test_negative.py::test_invalid_registration[body2] PASSED [ 35%]
student-tests/api/test_negative.py::test_invalid_registration[body3] PASSED [ 35%]
student-tests/api/test_negative.py::test_invalid_registration[body4] PASSED [ 35%]
student-tests/api/test_negative.py::test_invalid_registration[body5] PASSED [ 36%]
student-tests/api/test_negative.py::test_invalid_registration[body6] PASSED [ 36%]
student-tests/api/test_negative.py::test_invalid_registration[body7] PASSED [ 36%]
student-tests/api/test_negative.py::test_invalid_registration[body8] PASSED [ 37%]
student-tests/api/test_negative.py::test_invalid_registration[body9] PASSED [ 37%]
student-tests/api/test_negative.py::test_invalid_registration[body10] PASSED [ 37%]
student-tests/api/test_negative.py::test_duplicate_username PASSED       [ 38%]
student-tests/api/test_negative.py::test_missing_identity PASSED         [ 38%]
student-tests/api/test_negative.py::test_invalid_bearer[] PASSED         [ 38%]
student-tests/api/test_negative.py::test_invalid_bearer[Bearer] PASSED   [ 39%]
student-tests/api/test_negative.py::test_invalid_bearer[Bearer ] PASSED  [ 39%]
student-tests/api/test_negative.py::test_invalid_bearer[Bearer not a token] PASSED [ 40%]
student-tests/api/test_negative.py::test_invalid_bearer[Bearer <synthetic-invalid-token>] PASSED [ 40%]
student-tests/api/test_negative.py::test_invalid_bearer[Token abcdef] PASSED [ 40%]
student-tests/api/test_negative.py::test_invalid_bearer[11111111-1111-4111-8111-111111111111] PASSED [ 41%]
student-tests/api/test_negative.py::test_user_id_header_alone_is_ignored PASSED [ 41%]
student-tests/api/test_negative.py::test_identity_checked_before_body PASSED [ 41%]
student-tests/api/test_negative.py::test_empty_message_rejected PASSED   [ 42%]
student-tests/api/test_negative.py::test_long_message_rejected PASSED    [ 42%]
student-tests/api/test_negative.py::test_sender_id_not_accepted PASSED   [ 42%]
student-tests/api/test_negative.py::test_invalid_chat_creation[body0] PASSED [ 43%]
student-tests/api/test_negative.py::test_invalid_chat_creation[body1] PASSED [ 43%]
student-tests/api/test_negative.py::test_invalid_chat_creation[body2] PASSED [ 43%]
student-tests/api/test_negative.py::test_invalid_chat_creation[body3] PASSED [ 44%]
student-tests/api/test_negative.py::test_invalid_chat_creation[body4] PASSED [ 44%]
student-tests/api/test_negative.py::test_invalid_chat_creation[body5] PASSED [ 44%]
student-tests/api/test_negative.py::test_creator_must_be_member PASSED   [ 45%]
student-tests/api/test_negative.py::test_unknown_member_rejected PASSED  [ 45%]
student-tests/api/test_negative.py::test_bad_chat_id_in_path PASSED      [ 45%]
student-tests/api/test_operability.py::test_health_needs_no_identity PASSED [ 46%]
student-tests/api/test_operability.py::test_every_response_carries_request_id PASSED [ 46%]
student-tests/api/test_operability.py::test_client_request_id_is_preserved PASSED [ 47%]
student-tests/api/test_operability.py::test_unknown_public_route_is_404 PASSED [ 47%]
student-tests/api/test_operability.py::test_unknown_protected_route_needs_identity PASSED [ 47%]
student-tests/api/test_operability.py::test_method_not_allowed_is_hidden PASSED [ 48%]
student-tests/api/test_operability.py::test_logs_do_not_contain_message_text PASSED [ 48%]
student-tests/api/test_operability.py::test_log_lines_are_json PASSED    [ 48%]
student-tests/api/test_operability.py::test_body_limit_returns_413 PASSED [ 49%]
student-tests/api/test_operability.py::test_chunked_body_is_limited_too PASSED [ 49%]
student-tests/api/test_operability.py::test_ready_turns_unavailable_without_database PASSED [ 49%]
student-tests/api/test_operability.py::test_protected_request_is_503_not_401_without_database PASSED [ 50%]
student-tests/api/test_operability.py::test_state_survives_new_process PASSED [ 50%]
student-tests/api/test_operability.py::test_logs_do_not_contain_credentials PASSED [ 50%]
student-tests/api/test_pagination.py::test_full_walk_has_no_gaps_or_repeats PASSED [ 51%]
student-tests/api/test_pagination.py::test_limit_may_change_between_pages PASSED [ 51%]
student-tests/api/test_pagination.py::test_last_page_closes_history PASSED [ 51%]
student-tests/api/test_pagination.py::test_cursor_is_shared_between_members PASSED [ 52%]
student-tests/api/test_pagination.py::test_cursor_from_another_chat_is_rejected PASSED [ 52%]
student-tests/api/test_pagination.py::test_broken_cursor_is_rejected[garbage] PASSED [ 52%]
student-tests/api/test_pagination.py::test_broken_cursor_is_rejected[1.2.3.4] PASSED [ 53%]
student-tests/api/test_pagination.py::test_broken_cursor_is_rejected[%20] PASSED [ 53%]
student-tests/api/test_pagination.py::test_broken_cursor_is_rejected[] PASSED [ 54%]
student-tests/api/test_pagination.py::test_limit_out_of_range[0] PASSED  [ 54%]
student-tests/api/test_pagination.py::test_limit_out_of_range[-1] PASSED [ 54%]
student-tests/api/test_pagination.py::test_limit_out_of_range[101] PASSED [ 55%]
student-tests/api/test_pagination.py::test_limit_out_of_range[abc] PASSED [ 55%]
student-tests/api/test_pagination.py::test_limit_out_of_range[1.5] PASSED [ 55%]
student-tests/api/test_pagination.py::test_limit_out_of_range[] PASSED   [ 56%]
student-tests/api/test_pagination.py::test_default_limit_is_50 PASSED    [ 56%]
student-tests/api/test_pagination.py::test_unknown_query_parameter_is_ignored PASSED [ 56%]
student-tests/api/test_pagination.py::test_chat_list_pagination PASSED   [ 57%]
student-tests/api/test_pool.py::test_exhausted_pool_answers_503_in_bounded_time PASSED [ 57%]
student-tests/api/test_pool.py::test_statement_timeout_is_set_on_connections PASSED [ 57%]
student-tests/api/test_pool.py::test_idle_session_does_not_acquire_connection PASSED [ 58%]
student-tests/api/test_pool.py::test_closed_idle_connection_is_replaced_before_registration PASSED [ 58%]
student-tests/api/test_pool.py::test_readiness_timeout_releases_waiter PASSED [ 58%]
student-tests/api/test_pool.py::test_server_statement_timeout_returns_connection PASSED [ 59%]
student-tests/api/test_pool.py::test_unit_of_work_persists_sessions_and_events_only_on_commit[False] PASSED [ 59%]
student-tests/api/test_pool.py::test_unit_of_work_persists_sessions_and_events_only_on_commit[True] PASSED [ 60%]
student-tests/api/test_pool.py::test_integrity_failure_rolls_back_and_keeps_pool_usable PASSED [ 60%]
student-tests/api/test_pool.py::test_blocked_message_times_out_without_taking_key[database] PASSED [ 60%]
student-tests/api/test_pool.py::test_blocked_message_times_out_without_taking_key[request] PASSED [ 61%]
student-tests/api/test_pool.py::test_message_integrity_failure_rolls_back_receipt_and_timestamp PASSED [ 61%]
student-tests/api/test_sessions.py::test_login_returns_session_for_registered_user PASSED [ 61%]
student-tests/api/test_sessions.py::test_registration_response_hides_password PASSED [ 62%]
student-tests/api/test_sessions.py::test_password_is_stored_as_argon2id PASSED [ 62%]
student-tests/api/test_sessions.py::test_session_stores_only_token_digest PASSED [ 62%]
student-tests/api/test_sessions.py::test_wrong_password_and_unknown_user_look_the_same PASSED [ 63%]
student-tests/api/test_sessions.py::test_login_without_valid_basic[headers0] PASSED [ 63%]
student-tests/api/test_sessions.py::test_login_without_valid_basic[headers1] PASSED [ 63%]
student-tests/api/test_sessions.py::test_login_without_valid_basic[headers2] PASSED [ 64%]
student-tests/api/test_sessions.py::test_login_without_valid_basic[headers3] PASSED [ 64%]
student-tests/api/test_sessions.py::test_password_with_colon_logs_in PASSED [ 64%]
student-tests/api/test_sessions.py::test_login_with_body_is_rejected PASSED [ 65%]
student-tests/api/test_sessions.py::test_basic_on_business_endpoint_gets_bearer_challenge PASSED [ 65%]
student-tests/api/test_sessions.py::test_user_id_header_does_not_override_owner PASSED [ 65%]
student-tests/api/test_sessions.py::test_authentication_precedes_validation PASSED [ 66%]
student-tests/api/test_sessions.py::test_logout_revokes_only_current_session PASSED [ 66%]
student-tests/api/test_sessions.py::test_short_ttl_session_expires PASSED [ 67%]
student-tests/api/test_sessions.py::test_expired_sessions_are_purged_on_next_login PASSED [ 67%]
student-tests/api/test_sessions.py::test_chat_routes_require_bearer PASSED [ 67%]
student-tests/api/test_timeout.py::test_timeout_returns_unavailable_error_body PASSED [ 68%]
student-tests/api/test_timeout.py::test_timeout_does_not_break_following_requests PASSED [ 68%]
student-tests/api/test_timeout.py::test_timeout_is_logged_without_message_text PASSED [ 68%]
student-tests/api/test_timeout.py::test_normal_request_is_not_affected_by_timeout PASSED [ 69%]
student-tests/api/test_timeout.py::test_slow_event_handler_does_not_trigger_timeout PASSED [ 69%]
student-tests/api/test_timeout.py::test_healthcheck_stays_fast PASSED    [ 69%]
student-tests/api/test_wire_format.py::test_created_at_is_rfc3339_utc[whole-second] PASSED [ 70%]
student-tests/api/test_wire_format.py::test_created_at_is_rfc3339_utc[microseconds] PASSED [ 70%]
student-tests/unit/test_authentication.py::test_basic_splits_on_first_colon PASSED [ 70%]
student-tests/unit/test_authentication.py::test_basic_decodes_utf8_password PASSED [ 71%]
student-tests/unit/test_authentication.py::test_basic_scheme_is_case_insensitive PASSED [ 71%]
student-tests/unit/test_authentication.py::test_basic_rejects_malformed[] PASSED [ 71%]
student-tests/unit/test_authentication.py::test_basic_rejects_malformed[Basic] PASSED [ 72%]
student-tests/unit/test_authentication.py::test_basic_rejects_malformed[Basic ] PASSED [ 72%]
student-tests/unit/test_authentication.py::test_basic_rejects_malformed[Basic !!!not-base64!!!] PASSED [ 72%]
student-tests/unit/test_authentication.py::test_basic_rejects_malformed[Basic YWxpY2U] PASSED [ 73%]
student-tests/unit/test_authentication.py::test_basic_rejects_malformed[Basic bm8tY29sb24taGVyZQ==] PASSED [ 73%]
student-tests/unit/test_authentication.py::test_basic_rejects_malformed[Basic 0LDQu9C40YHQsDrQv9Cw0YDQvtC70Yw=] PASSED [ 74%]
student-tests/unit/test_authentication.py::test_basic_rejects_malformed[Basic YWxpY2U6//4=] PASSED [ 74%]
student-tests/unit/test_authentication.py::test_basic_rejects_malformed[Bearer YWxpY2U6c2VjcmV0] PASSED [ 74%]
student-tests/unit/test_authentication.py::test_bearer_accepts_token68 PASSED [ 75%]
student-tests/unit/test_authentication.py::test_bearer_rejects_malformed[] PASSED [ 75%]
student-tests/unit/test_authentication.py::test_bearer_rejects_malformed[Bearer] PASSED [ 75%]
student-tests/unit/test_authentication.py::test_bearer_rejects_malformed[Bearer ] PASSED [ 76%]
student-tests/unit/test_authentication.py::test_bearer_rejects_malformed[Bearer a b] PASSED [ 76%]
student-tests/unit/test_authentication.py::test_bearer_rejects_malformed[Basic abc] PASSED [ 76%]
student-tests/unit/test_authentication.py::test_bearer_rejects_malformed[xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx] PASSED [ 77%]
student-tests/unit/test_authentication.py::test_bearer_rejects_oversized_token PASSED [ 77%]
student-tests/unit/test_authentication.py::test_challenge_depends_only_on_path PASSED [ 77%]
student-tests/unit/test_cursor.py::test_roundtrip_preserves_key PASSED   [ 78%]
student-tests/unit/test_cursor.py::test_cursor_is_opaque PASSED          [ 78%]
student-tests/unit/test_cursor.py::test_cursor_from_another_scope_is_rejected PASSED [ 78%]
student-tests/unit/test_cursor.py::test_forged_cursor_is_rejected PASSED [ 79%]
student-tests/unit/test_cursor.py::test_broken_cursor_is_rejected[] PASSED [ 79%]
student-tests/unit/test_cursor.py::test_broken_cursor_is_rejected[garbage] PASSED [ 80%]
student-tests/unit/test_cursor.py::test_broken_cursor_is_rejected[1.2.3] PASSED [ 80%]
student-tests/unit/test_cursor.py::test_broken_cursor_is_rejected[2.1.2.3] PASSED [ 80%]
student-tests/unit/test_cursor.py::test_broken_cursor_is_rejected[1.notanumber.ff.AAAA] PASSED [ 81%]
student-tests/unit/test_cursor.py::test_broken_cursor_is_rejected[1.1.zz.AAAA] PASSED [ 81%]
student-tests/unit/test_cursor.py::test_tampered_payload_is_rejected PASSED [ 81%]
student-tests/unit/test_domain.py::test_username_rejects_invalid[ab] PASSED [ 82%]
student-tests/unit/test_domain.py::test_username_rejects_invalid[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa] PASSED [ 82%]
student-tests/unit/test_domain.py::test_username_rejects_invalid[Alice] PASSED [ 82%]
student-tests/unit/test_domain.py::test_username_rejects_invalid[alice-01] PASSED [ 83%]
student-tests/unit/test_domain.py::test_username_rejects_invalid[\u0430\u043b\u0438\u0441\u0430] PASSED [ 83%]
student-tests/unit/test_domain.py::test_username_rejects_invalid[] PASSED [ 83%]
student-tests/unit/test_domain.py::test_username_rejects_invalid[a b] PASSED [ 84%]
student-tests/unit/test_domain.py::test_username_rejects_invalid[alice\n] PASSED [ 84%]
student-tests/unit/test_domain.py::test_username_rejects_invalid[alice\r\n] PASSED [ 84%]
student-tests/unit/test_domain.py::test_username_accepts_valid[abc] PASSED [ 85%]
student-tests/unit/test_domain.py::test_username_accepts_valid[a_b_9] PASSED [ 85%]
student-tests/unit/test_domain.py::test_username_accepts_valid[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa] PASSED [ 85%]
student-tests/unit/test_domain.py::test_display_name_rejects_invalid[] PASSED [ 86%]
student-tests/unit/test_domain.py::test_display_name_rejects_invalid[   ] PASSED [ 86%]
student-tests/unit/test_domain.py::test_display_name_rejects_invalid[\t\n] PASSED [ 87%]
student-tests/unit/test_domain.py::test_display_name_rejects_invalid[xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx] PASSED [ 87%]
student-tests/unit/test_domain.py::test_password_rejects_invalid[] PASSED [ 87%]
student-tests/unit/test_domain.py::test_password_rejects_invalid[                    ] PASSED [ 88%]
student-tests/unit/test_domain.py::test_password_rejects_invalid[xxxxxxxxxxx] PASSED [ 88%]
student-tests/unit/test_domain.py::test_password_rejects_invalid[xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx] PASSED [ 88%]
student-tests/unit/test_domain.py::test_password_rejects_invalid[\t\t\t\t\t\t\t\t\t\t\t\t] PASSED [ 89%]
student-tests/unit/test_domain.py::test_password_counts_code_points[xxxxxxxxxxxx] PASSED [ 89%]
student-tests/unit/test_domain.py::test_password_counts_code_points[\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f\u043f] PASSED [ 89%]
student-tests/unit/test_domain.py::test_password_counts_code_points[\u043f\u0430\u0440\u043e\u043b\u044c:\u0441:\u0434\u0432\u043e\u0435\u0442\u043e\u0447\u0438\u0435\u043c] PASSED [ 90%]
student-tests/unit/test_domain.py::test_password_counts_code_points[\U0001f44b\U0001f44b\U0001f44b\U0001f44b\U0001f44b\U0001f44b\U0001f44b\U0001f44b\U0001f44b\U0001f44b\U0001f44b\U0001f44b] PASSED [ 90%]
student-tests/unit/test_domain.py::test_password_is_not_printed PASSED   [ 90%]
student-tests/unit/test_domain.py::test_session_token_is_opaque_and_stored_as_digest PASSED [ 91%]
student-tests/unit/test_domain.py::test_session_tokens_are_unique PASSED [ 91%]
student-tests/unit/test_domain.py::test_message_text_counts_code_points_not_bytes PASSED [ 91%]
student-tests/unit/test_domain.py::test_message_text_rejects_blank PASSED [ 92%]
student-tests/unit/test_domain.py::test_chat_requires_creator_in_members PASSED [ 92%]
student-tests/unit/test_domain.py::test_chat_rejects_duplicate_members PASSED [ 92%]
student-tests/unit/test_domain.py::test_chat_rejects_more_than_hundred_members PASSED [ 93%]
student-tests/unit/test_domain.py::test_receipt_replays_only_the_same_request PASSED [ 93%]
student-tests/unit/test_domain.py::test_posted_message_describes_itself PASSED [ 94%]
student-tests/unit/test_domain.py::test_user_registration_emits_event PASSED [ 94%]
student-tests/unit/test_domain.py::test_clock_is_strictly_increasing PASSED [ 94%]
student-tests/unit/test_probe.py::test_recovery_requires_completed_success[attempts0-None-False] PASSED [ 95%]
student-tests/unit/test_probe.py::test_recovery_requires_completed_success[attempts1-11-False] PASSED [ 95%]
student-tests/unit/test_probe.py::test_recovery_requires_completed_success[attempts2-1.5-True] PASSED [ 95%]
student-tests/unit/test_probe.py::test_recovery_requires_completed_success[attempts3-0-True] PASSED [ 96%]
student-tests/unit/test_probe.py::test_recovery_requires_completed_success[attempts4-0-False] PASSED [ 96%]
student-tests/unit/test_probe.py::test_incomplete_load_fails[requests-0-load_delivered] PASSED [ 96%]
student-tests/unit/test_probe.py::test_incomplete_load_fails[dropped_iterations-1-load_delivered] PASSED [ 97%]
student-tests/unit/test_probe.py::test_missing_lb_sample_fails PASSED    [ 97%]
student-tests/unit/test_probe.py::test_full_history_matches_confirmed_bodies[none] PASSED [ 97%]
student-tests/unit/test_probe.py::test_full_history_matches_confirmed_bodies[missing] PASSED [ 98%]
student-tests/unit/test_probe.py::test_full_history_matches_confirmed_bodies[duplicate] PASSED [ 98%]
student-tests/unit/test_probe.py::test_full_history_matches_confirmed_bodies[changed] PASSED [ 98%]
student-tests/unit/test_probe.py::test_full_history_matches_confirmed_bodies[http] PASSED [ 99%]
student-tests/unit/test_probe.py::test_full_history_matches_confirmed_bodies[cycle] PASSED [ 99%]
student-tests/unit/test_timeouts.py::test_timeouts_shrink_inwards_and_shutdown_fits_the_stop_budget PASSED [100%]

===================== 285 passed, 12 deselected in 31.94s ======================

exit: 0  elapsed_seconds: 32.741
