date: 2026-10-29T23:43:07Z  commit: b1c80ee
$ PYTEST_ADDOPTS=-vv make student-test   # все собственные тесты без маркера stack (одноразовые PostgreSQL и Valkey в Docker), по именам
.venv/bin/pytest 
============================= 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 255 items / 12 deselected / 243 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 [  2%]
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 [  3%]
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 [  4%]
student-tests/api/test_bounded_contexts.py::test_domains_do_not_import_infrastructure PASSED [  4%]
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 [  5%]
student-tests/api/test_bounded_contexts.py::test_shared_core_is_free_of_transport PASSED [  5%]
student-tests/api/test_bounded_contexts.py::test_shared_core_holds_only_platform PASSED [  6%]
student-tests/api/test_bounded_contexts.py::test_shared_entrypoints_hold_only_transport PASSED [  6%]
student-tests/api/test_bounded_contexts.py::test_every_zone_owns_its_errors_events_and_commands PASSED [  6%]
student-tests/api/test_bounded_contexts.py::test_every_zone_owns_its_http_layer PASSED [  7%]
student-tests/api/test_bounded_contexts.py::test_only_main_knows_both_zones PASSED [  7%]
student-tests/api/test_bounded_contexts.py::test_application_has_no_separate_entrypoints_root PASSED [  8%]
student-tests/api/test_bounded_contexts.py::test_shared_source_mentions_no_domain_vocabulary PASSED [  8%]
student-tests/api/test_bounded_contexts.py::test_shared_declares_no_concrete_commands_or_events PASSED [  9%]
student-tests/api/test_bounded_contexts.py::test_shared_has_no_test_doubles PASSED [  9%]
student-tests/api/test_bounded_contexts.py::test_zone_errors_do_not_leak_transport_codes PASSED [  9%]
student-tests/api/test_bounded_contexts.py::test_sql_of_each_zone_reads_only_its_tables PASSED [ 10%]
student-tests/api/test_bounded_contexts.py::test_messaging_does_not_import_identity_at_all PASSED [ 10%]
student-tests/api/test_cache.py::test_second_check_is_served_from_cache PASSED [ 11%]
student-tests/api/test_cache.py::test_logout_writes_tombstone_before_database PASSED [ 11%]
student-tests/api/test_cache.py::test_logout_rejected_by_database_changes_nothing PASSED [ 11%]
student-tests/api/test_cache.py::test_fill_racing_with_logout_does_not_revive_token PASSED [ 12%]
student-tests/api/test_cache.py::test_flushall_loses_nothing PASSED      [ 12%]
student-tests/api/test_cache.py::test_unreachable_cache_is_bypassed_without_anonymous_access PASSED [ 13%]
student-tests/api/test_concurrency.py::test_hundred_messages_from_ten_clients PASSED [ 13%]
student-tests/api/test_concurrency.py::test_history_follows_the_clock_but_never_moves_back PASSED [ 13%]
student-tests/api/test_concurrency.py::test_parallel_registration_keeps_username_unique PASSED [ 14%]
student-tests/api/test_concurrency.py::test_parallel_chat_creation_is_atomic PASSED [ 14%]
student-tests/api/test_consistency.py::test_registration_is_visible_to_chats_immediately PASSED [ 15%]
student-tests/api/test_consistency.py::test_parallel_registrations_are_all_usable_as_members PASSED [ 15%]
student-tests/api/test_consistency.py::test_rejected_registration_leaves_no_trace PASSED [ 16%]
student-tests/api/test_consistency.py::test_failed_chat_creation_rolls_back_both_tables PASSED [ 16%]
student-tests/api/test_consistency.py::test_rejected_message_does_not_enter_history PASSED [ 16%]
student-tests/api/test_consistency.py::test_confirmed_write_is_visible_to_next_read PASSED [ 17%]
student-tests/api/test_consistency.py::test_parallel_writes_across_zones_keep_counts_consistent PASSED [ 17%]
student-tests/api/test_consistency.py::test_chat_membership_survives_parallel_reads_and_writes PASSED [ 18%]
student-tests/api/test_drain.py::test_draining_replica_is_not_ready_but_alive PASSED [ 18%]
student-tests/api/test_drain.py::test_sigterm_leaves_rotation_then_closes_and_cancels_stuck_requests PASSED [ 18%]
student-tests/api/test_events.py::test_event_has_no_message_text PASSED  [ 19%]
student-tests/api/test_events.py::test_every_subscriber_receives_event PASSED [ 19%]
student-tests/api/test_events.py::test_failing_subscriber_does_not_block_others PASSED [ 20%]
student-tests/api/test_events.py::test_queue_overflow_drops_events_without_raising PASSED [ 20%]
student-tests/api/test_events.py::test_publication_does_not_delay_response PASSED [ 20%]
student-tests/api/test_events.py::test_null_logger_hides_everything PASSED [ 21%]
student-tests/api/test_idempotency.py::test_replay_returns_the_same_message PASSED [ 21%]
student-tests/api/test_idempotency.py::test_same_json_in_other_layout_is_a_replay PASSED [ 22%]
student-tests/api/test_idempotency.py::test_other_body_with_same_key_conflicts PASSED [ 22%]
student-tests/api/test_idempotency.py::test_missing_key_is_rejected PASSED [ 23%]
student-tests/api/test_idempotency.py::test_malformed_key_is_rejected[0] PASSED [ 23%]
student-tests/api/test_idempotency.py::test_malformed_key_is_rejected[1] PASSED [ 23%]
student-tests/api/test_idempotency.py::test_malformed_key_is_rejected[2] PASSED [ 24%]
student-tests/api/test_idempotency.py::test_malformed_key_is_rejected[3] PASSED [ 24%]
student-tests/api/test_idempotency.py::test_malformed_key_is_rejected[4] PASSED [ 25%]
student-tests/api/test_idempotency.py::test_malformed_key_is_rejected[5] PASSED [ 25%]
student-tests/api/test_idempotency.py::test_rejected_attempt_does_not_take_the_key PASSED [ 25%]
student-tests/api/test_idempotency.py::test_key_is_scoped_by_user_and_chat PASSED [ 26%]
student-tests/api/test_idempotency.py::test_replay_checks_session_and_access_again PASSED [ 26%]
student-tests/api/test_idempotency.py::test_expired_key_starts_over PASSED [ 27%]
student-tests/api/test_idempotency.py::test_concurrent_retries_through_two_replicas_store_one_message PASSED [ 27%]
student-tests/api/test_instance.py::test_every_response_names_the_replica PASSED [ 27%]
student-tests/api/test_instance.py::test_rejected_body_names_the_replica PASSED [ 28%]
student-tests/api/test_instance.py::test_unhandled_error_names_the_replica PASSED [ 28%]
student-tests/api/test_instance.py::test_replica_defaults_to_container_hostname PASSED [ 29%]
student-tests/api/test_migrations.py::test_migrations_are_ordered_and_versioned PASSED [ 29%]
student-tests/api/test_migrations.py::test_rerun_changes_nothing PASSED  [ 30%]
student-tests/api/test_migrations.py::test_changed_migration_is_refused PASSED [ 30%]
student-tests/api/test_migrations.py::test_sender_must_be_member_even_bypassing_api PASSED [ 30%]
student-tests/api/test_migrations.py::test_key_needs_a_member_and_a_message PASSED [ 31%]
student-tests/api/test_negative.py::test_malformed_json PASSED           [ 31%]
student-tests/api/test_negative.py::test_unexpected_field PASSED         [ 32%]
student-tests/api/test_negative.py::test_wrong_types PASSED              [ 32%]
student-tests/api/test_negative.py::test_invalid_registration[body0] PASSED [ 32%]
student-tests/api/test_negative.py::test_invalid_registration[body1] PASSED [ 33%]
student-tests/api/test_negative.py::test_invalid_registration[body2] PASSED [ 33%]
student-tests/api/test_negative.py::test_invalid_registration[body3] PASSED [ 34%]
student-tests/api/test_negative.py::test_invalid_registration[body4] PASSED [ 34%]
student-tests/api/test_negative.py::test_invalid_registration[body5] PASSED [ 34%]
student-tests/api/test_negative.py::test_invalid_registration[body6] PASSED [ 35%]
student-tests/api/test_negative.py::test_invalid_registration[body7] PASSED [ 35%]
student-tests/api/test_negative.py::test_invalid_registration[body8] PASSED [ 36%]
student-tests/api/test_negative.py::test_invalid_registration[body9] PASSED [ 36%]
student-tests/api/test_negative.py::test_invalid_registration[body10] PASSED [ 37%]
student-tests/api/test_negative.py::test_duplicate_username PASSED       [ 37%]
student-tests/api/test_negative.py::test_missing_identity PASSED         [ 37%]
student-tests/api/test_negative.py::test_invalid_bearer[] PASSED         [ 38%]
student-tests/api/test_negative.py::test_invalid_bearer[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 not a token] PASSED [ 39%]
student-tests/api/test_negative.py::test_invalid_bearer[Bearer xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx] PASSED [ 39%]
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 [ 40%]
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   [ 41%]
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 [ 44%]
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 [ 45%]
student-tests/api/test_negative.py::test_creator_must_be_member PASSED   [ 45%]
student-tests/api/test_negative.py::test_unknown_member_rejected PASSED  [ 46%]
student-tests/api/test_negative.py::test_bad_chat_id_in_path PASSED      [ 46%]
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 [ 47%]
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 [ 48%]
student-tests/api/test_operability.py::test_unknown_protected_route_needs_identity PASSED [ 48%]
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 [ 49%]
student-tests/api/test_operability.py::test_log_lines_are_json PASSED    [ 49%]
student-tests/api/test_operability.py::test_body_limit_returns_413 PASSED [ 50%]
student-tests/api/test_operability.py::test_chunked_body_is_limited_too PASSED [ 50%]
student-tests/api/test_operability.py::test_ready_turns_unavailable_without_database PASSED [ 51%]
student-tests/api/test_operability.py::test_protected_request_is_503_not_401_without_database PASSED [ 51%]
student-tests/api/test_operability.py::test_state_survives_new_process PASSED [ 51%]
student-tests/api/test_operability.py::test_logs_do_not_contain_credentials PASSED [ 52%]
student-tests/api/test_pagination.py::test_full_walk_has_no_gaps_or_repeats PASSED [ 52%]
student-tests/api/test_pagination.py::test_limit_may_change_between_pages PASSED [ 53%]
student-tests/api/test_pagination.py::test_last_page_closes_history PASSED [ 53%]
student-tests/api/test_pagination.py::test_cursor_is_shared_between_members PASSED [ 53%]
student-tests/api/test_pagination.py::test_cursor_from_another_chat_is_rejected PASSED [ 54%]
student-tests/api/test_pagination.py::test_broken_cursor_is_rejected[garbage] PASSED [ 54%]
student-tests/api/test_pagination.py::test_broken_cursor_is_rejected[1.2.3.4] PASSED [ 55%]
student-tests/api/test_pagination.py::test_broken_cursor_is_rejected[%20] PASSED [ 55%]
student-tests/api/test_pagination.py::test_broken_cursor_is_rejected[] PASSED [ 55%]
student-tests/api/test_pagination.py::test_limit_out_of_range[0] PASSED  [ 56%]
student-tests/api/test_pagination.py::test_limit_out_of_range[-1] PASSED [ 56%]
student-tests/api/test_pagination.py::test_limit_out_of_range[101] PASSED [ 57%]
student-tests/api/test_pagination.py::test_limit_out_of_range[abc] PASSED [ 57%]
student-tests/api/test_pagination.py::test_limit_out_of_range[1.5] PASSED [ 58%]
student-tests/api/test_pagination.py::test_limit_out_of_range[] PASSED   [ 58%]
student-tests/api/test_pagination.py::test_default_limit_is_50 PASSED    [ 58%]
student-tests/api/test_pagination.py::test_unknown_query_parameter_is_ignored PASSED [ 59%]
student-tests/api/test_pagination.py::test_chat_list_pagination PASSED   [ 59%]
student-tests/api/test_pool.py::test_exhausted_pool_answers_503_in_bounded_time PASSED [ 60%]
student-tests/api/test_pool.py::test_statement_timeout_is_set_on_connections PASSED [ 60%]
student-tests/api/test_sessions.py::test_login_returns_session_for_registered_user PASSED [ 60%]
student-tests/api/test_sessions.py::test_registration_response_hides_password PASSED [ 61%]
student-tests/api/test_sessions.py::test_password_is_stored_as_argon2id PASSED [ 61%]
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 [ 62%]
student-tests/api/test_sessions.py::test_login_without_valid_basic[headers0] PASSED [ 62%]
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 [ 63%]
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 [ 69%]
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    [ 70%]
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 [ 71%]
student-tests/unit/test_authentication.py::test_basic_splits_on_first_colon PASSED [ 71%]
student-tests/unit/test_authentication.py::test_basic_decodes_utf8_password PASSED [ 72%]
student-tests/unit/test_authentication.py::test_basic_scheme_is_case_insensitive PASSED [ 72%]
student-tests/unit/test_authentication.py::test_basic_rejects_malformed[] PASSED [ 72%]
student-tests/unit/test_authentication.py::test_basic_rejects_malformed[Basic] PASSED [ 73%]
student-tests/unit/test_authentication.py::test_basic_rejects_malformed[Basic ] PASSED [ 73%]
student-tests/unit/test_authentication.py::test_basic_rejects_malformed[Basic !!!not-base64!!!] PASSED [ 74%]
student-tests/unit/test_authentication.py::test_basic_rejects_malformed[Basic YWxpY2U] PASSED [ 74%]
student-tests/unit/test_authentication.py::test_basic_rejects_malformed[Basic bm8tY29sb24taGVyZQ==] PASSED [ 74%]
student-tests/unit/test_authentication.py::test_basic_rejects_malformed[Basic 0LDQu9C40YHQsDrQv9Cw0YDQvtC70Yw=] PASSED [ 75%]
student-tests/unit/test_authentication.py::test_basic_rejects_malformed[Basic YWxpY2U6//4=] PASSED [ 75%]
student-tests/unit/test_authentication.py::test_basic_rejects_malformed[Bearer YWxpY2U6c2VjcmV0] PASSED [ 76%]
student-tests/unit/test_authentication.py::test_bearer_accepts_token68 PASSED [ 76%]
student-tests/unit/test_authentication.py::test_bearer_rejects_malformed[] PASSED [ 76%]
student-tests/unit/test_authentication.py::test_bearer_rejects_malformed[Bearer] PASSED [ 77%]
student-tests/unit/test_authentication.py::test_bearer_rejects_malformed[Bearer ] PASSED [ 77%]
student-tests/unit/test_authentication.py::test_bearer_rejects_malformed[Bearer a b] PASSED [ 78%]
student-tests/unit/test_authentication.py::test_bearer_rejects_malformed[Basic abc] PASSED [ 78%]
student-tests/unit/test_authentication.py::test_bearer_rejects_malformed[xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx] PASSED [ 79%]
student-tests/unit/test_authentication.py::test_bearer_rejects_oversized_token PASSED [ 79%]
student-tests/unit/test_authentication.py::test_challenge_depends_only_on_path PASSED [ 79%]
student-tests/unit/test_cursor.py::test_roundtrip_preserves_key PASSED   [ 80%]
student-tests/unit/test_cursor.py::test_cursor_is_opaque PASSED          [ 80%]
student-tests/unit/test_cursor.py::test_cursor_from_another_scope_is_rejected PASSED [ 81%]
student-tests/unit/test_cursor.py::test_forged_cursor_is_rejected PASSED [ 81%]
student-tests/unit/test_cursor.py::test_broken_cursor_is_rejected[] PASSED [ 81%]
student-tests/unit/test_cursor.py::test_broken_cursor_is_rejected[garbage] PASSED [ 82%]
student-tests/unit/test_cursor.py::test_broken_cursor_is_rejected[1.2.3] PASSED [ 82%]
student-tests/unit/test_cursor.py::test_broken_cursor_is_rejected[2.1.2.3] PASSED [ 83%]
student-tests/unit/test_cursor.py::test_broken_cursor_is_rejected[1.notanumber.ff.AAAA] PASSED [ 83%]
student-tests/unit/test_cursor.py::test_broken_cursor_is_rejected[1.1.zz.AAAA] PASSED [ 83%]
student-tests/unit/test_cursor.py::test_tampered_payload_is_rejected PASSED [ 84%]
student-tests/unit/test_domain.py::test_username_rejects_invalid[ab] PASSED [ 84%]
student-tests/unit/test_domain.py::test_username_rejects_invalid[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa] PASSED [ 85%]
student-tests/unit/test_domain.py::test_username_rejects_invalid[Alice] PASSED [ 85%]
student-tests/unit/test_domain.py::test_username_rejects_invalid[alice-01] PASSED [ 86%]
student-tests/unit/test_domain.py::test_username_rejects_invalid[\u0430\u043b\u0438\u0441\u0430] PASSED [ 86%]
student-tests/unit/test_domain.py::test_username_rejects_invalid[] PASSED [ 86%]
student-tests/unit/test_domain.py::test_username_rejects_invalid[a b] PASSED [ 87%]
student-tests/unit/test_domain.py::test_username_rejects_invalid[alice\n] PASSED [ 87%]
student-tests/unit/test_domain.py::test_username_rejects_invalid[alice\r\n] PASSED [ 88%]
student-tests/unit/test_domain.py::test_username_accepts_valid[abc] PASSED [ 88%]
student-tests/unit/test_domain.py::test_username_accepts_valid[a_b_9] PASSED [ 88%]
student-tests/unit/test_domain.py::test_username_accepts_valid[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa] PASSED [ 89%]
student-tests/unit/test_domain.py::test_display_name_rejects_invalid[] PASSED [ 89%]
student-tests/unit/test_domain.py::test_display_name_rejects_invalid[   ] PASSED [ 90%]
student-tests/unit/test_domain.py::test_display_name_rejects_invalid[\t\n] PASSED [ 90%]
student-tests/unit/test_domain.py::test_display_name_rejects_invalid[xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx] PASSED [ 90%]
student-tests/unit/test_domain.py::test_password_rejects_invalid[] PASSED [ 91%]
student-tests/unit/test_domain.py::test_password_rejects_invalid[                    ] PASSED [ 91%]
student-tests/unit/test_domain.py::test_password_rejects_invalid[xxxxxxxxxxx] PASSED [ 92%]
student-tests/unit/test_domain.py::test_password_rejects_invalid[xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx] PASSED [ 92%]
student-tests/unit/test_domain.py::test_password_rejects_invalid[\t\t\t\t\t\t\t\t\t\t\t\t] PASSED [ 93%]
student-tests/unit/test_domain.py::test_password_counts_code_points[xxxxxxxxxxxx] PASSED [ 93%]
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 [ 93%]
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 [ 94%]
student-tests/unit/test_domain.py::test_password_counts_code_points[\U0001f44b\U0001f44b\U0001f44b\U0001f44b\U0001f44b\U0001f44b\U0001f44b\U0001f44b\U0001f44b\U0001f44b\U0001f44b\U0001f44b] PASSED [ 94%]
student-tests/unit/test_domain.py::test_password_is_not_printed PASSED   [ 95%]
student-tests/unit/test_domain.py::test_session_token_is_opaque_and_stored_as_digest PASSED [ 95%]
student-tests/unit/test_domain.py::test_session_tokens_are_unique PASSED [ 95%]
student-tests/unit/test_domain.py::test_message_text_counts_code_points_not_bytes PASSED [ 96%]
student-tests/unit/test_domain.py::test_message_text_rejects_blank PASSED [ 96%]
student-tests/unit/test_domain.py::test_chat_requires_creator_in_members PASSED [ 97%]
student-tests/unit/test_domain.py::test_chat_rejects_duplicate_members PASSED [ 97%]
student-tests/unit/test_domain.py::test_chat_rejects_more_than_hundred_members PASSED [ 97%]
student-tests/unit/test_domain.py::test_receipt_replays_only_the_same_request PASSED [ 98%]
student-tests/unit/test_domain.py::test_posted_message_describes_itself PASSED [ 98%]
student-tests/unit/test_domain.py::test_user_registration_emits_event PASSED [ 99%]
student-tests/unit/test_domain.py::test_clock_is_strictly_increasing PASSED [ 99%]
student-tests/unit/test_timeouts.py::test_timeouts_shrink_inwards_and_shutdown_fits_the_stop_budget PASSED [100%]

===================== 243 passed, 12 deselected in 20.64s ======================
exit=0
$ .venv/bin/pytest -s -q student-tests/api/test_drain.py student-tests/unit/test_timeouts.py   # SIGTERM-окно и цепочка таймаутов
.окно: ready/live (503, 200), порт закрыт через 1.12 с, выход 2.48 с
запрос, принятый до SIGTERM и дописанный после закрытия порта: HTTP/1.1 201 Created
запрос, тело которого так и не пришло: HTTP/1.1 500 Internal Server Error
.обнаружение 1.5 с (зависание 3.5 с), окно 2.0 с, дообработка 3.0 с, остановка 6.0 с, хук 7.0 с, stop_grace_period 8.0 с; LB server 10.0 с > запрос 8.0 с > БД 3.0 с; readiness 0.8 с < check 1.0 с
.
3 passed in 4.19s
exit=0
