forked from mtusi2026/mtusi2026lab3
1370 lines
135 KiB
Plaintext
1370 lines
135 KiB
Plaintext
test_duplicate_username_concurrent_registration (__main__.AuthContract.test_duplicate_username_concurrent_registration) ... FAIL
|
||
test_identity_acl_and_sender_ignore_legacy_header (__main__.AuthContract.test_identity_acl_and_sender_ignore_legacy_header) ... FAIL
|
||
test_invalid_chat_does_not_leave_visible_partial_chat (__main__.AuthContract.test_invalid_chat_does_not_leave_visible_partial_chat) ... FAIL
|
||
test_invalid_password_length_and_blank (__main__.AuthContract.test_invalid_password_length_and_blank) ...
|
||
test_invalid_password_length_and_blank (__main__.AuthContract.test_invalid_password_length_and_blank) (case='empty') ... FAIL
|
||
test_invalid_password_length_and_blank (__main__.AuthContract.test_invalid_password_length_and_blank) (case='ascii_short') ... FAIL
|
||
test_invalid_password_length_and_blank (__main__.AuthContract.test_invalid_password_length_and_blank) (case='ascii_long') ... FAIL
|
||
test_invalid_password_length_and_blank (__main__.AuthContract.test_invalid_password_length_and_blank) (case='unicode_short') ... FAIL
|
||
test_invalid_password_length_and_blank (__main__.AuthContract.test_invalid_password_length_and_blank) (case='unicode_long') ... FAIL
|
||
test_invalid_password_length_and_blank (__main__.AuthContract.test_invalid_password_length_and_blank) (case='blank_ascii') ... FAIL
|
||
test_invalid_password_length_and_blank (__main__.AuthContract.test_invalid_password_length_and_blank) (case='blank_unicode') ... FAIL
|
||
test_login_does_not_accept_json_credentials (__main__.AuthContract.test_login_does_not_accept_json_credentials) ... FAIL
|
||
test_login_rejects_missing_or_malformed_basic (__main__.AuthContract.test_login_rejects_missing_or_malformed_basic) ... FAIL
|
||
test_logout_revokes_only_current_session (__main__.AuthContract.test_logout_revokes_only_current_session) ... FAIL
|
||
test_password_unicode_boundaries_and_colon (__main__.AuthContract.test_password_unicode_boundaries_and_colon) ...
|
||
test_password_unicode_boundaries_and_colon (__main__.AuthContract.test_password_unicode_boundaries_and_colon) (case='ascii_min') ... FAIL
|
||
test_password_unicode_boundaries_and_colon (__main__.AuthContract.test_password_unicode_boundaries_and_colon) (case='ascii_max') ... FAIL
|
||
test_password_unicode_boundaries_and_colon (__main__.AuthContract.test_password_unicode_boundaries_and_colon) (case='unicode_min') ... FAIL
|
||
test_password_unicode_boundaries_and_colon (__main__.AuthContract.test_password_unicode_boundaries_and_colon) (case='unicode_max') ... FAIL
|
||
test_password_unicode_boundaries_and_colon (__main__.AuthContract.test_password_unicode_boundaries_and_colon) (case='colon') ... FAIL
|
||
test_password_unicode_boundaries_and_colon (__main__.AuthContract.test_password_unicode_boundaries_and_colon) (case='spaces_are_significant') ... FAIL
|
||
test_protected_routes_require_bearer_before_validation (__main__.AuthContract.test_protected_routes_require_bearer_before_validation) ... FAIL
|
||
test_public_health_and_registration (__main__.AuthContract.test_public_health_and_registration) ...
|
||
test_public_health_and_registration (__main__.AuthContract.test_public_health_and_registration) (path='/health/live') ... FAIL
|
||
test_public_health_and_registration (__main__.AuthContract.test_public_health_and_registration) (path='/health/ready') ... FAIL
|
||
test_public_health_and_registration (__main__.AuthContract.test_public_health_and_registration) ... FAIL
|
||
test_registration_bytes_json_and_content_type (__main__.AuthContract.test_registration_bytes_json_and_content_type) ...
|
||
test_registration_bytes_json_and_content_type (__main__.AuthContract.test_registration_bytes_json_and_content_type) (case='empty') ... FAIL
|
||
test_registration_bytes_json_and_content_type (__main__.AuthContract.test_registration_bytes_json_and_content_type) (case='malformed') ... FAIL
|
||
test_registration_bytes_json_and_content_type (__main__.AuthContract.test_registration_bytes_json_and_content_type) (case='second_json') ... FAIL
|
||
test_registration_bytes_json_and_content_type (__main__.AuthContract.test_registration_bytes_json_and_content_type) (case='trailing_garbage') ... FAIL
|
||
test_registration_bytes_json_and_content_type (__main__.AuthContract.test_registration_bytes_json_and_content_type) (field='username', encoding='ff') ... FAIL
|
||
test_registration_bytes_json_and_content_type (__main__.AuthContract.test_registration_bytes_json_and_content_type) (field='username', encoding='overlong') ... FAIL
|
||
test_registration_bytes_json_and_content_type (__main__.AuthContract.test_registration_bytes_json_and_content_type) (field='username', encoding='truncated') ... FAIL
|
||
test_registration_bytes_json_and_content_type (__main__.AuthContract.test_registration_bytes_json_and_content_type) (field='username', encoding='surrogate') ... FAIL
|
||
test_registration_bytes_json_and_content_type (__main__.AuthContract.test_registration_bytes_json_and_content_type) (field='display_name', encoding='ff') ... FAIL
|
||
test_registration_bytes_json_and_content_type (__main__.AuthContract.test_registration_bytes_json_and_content_type) (field='display_name', encoding='overlong') ... FAIL
|
||
test_registration_bytes_json_and_content_type (__main__.AuthContract.test_registration_bytes_json_and_content_type) (field='display_name', encoding='truncated') ... FAIL
|
||
test_registration_bytes_json_and_content_type (__main__.AuthContract.test_registration_bytes_json_and_content_type) (field='display_name', encoding='surrogate') ... FAIL
|
||
test_registration_bytes_json_and_content_type (__main__.AuthContract.test_registration_bytes_json_and_content_type) (field='password', encoding='ff') ... FAIL
|
||
test_registration_bytes_json_and_content_type (__main__.AuthContract.test_registration_bytes_json_and_content_type) (field='password', encoding='overlong') ... FAIL
|
||
test_registration_bytes_json_and_content_type (__main__.AuthContract.test_registration_bytes_json_and_content_type) (field='password', encoding='truncated') ... FAIL
|
||
test_registration_bytes_json_and_content_type (__main__.AuthContract.test_registration_bytes_json_and_content_type) (field='password', encoding='surrogate') ... FAIL
|
||
test_registration_bytes_json_and_content_type (__main__.AuthContract.test_registration_bytes_json_and_content_type) (media='text/plain') ... FAIL
|
||
test_registration_bytes_json_and_content_type (__main__.AuthContract.test_registration_bytes_json_and_content_type) (media='application/octet-stream') ... FAIL
|
||
test_registration_required_fields_types_and_names (__main__.AuthContract.test_registration_required_fields_types_and_names) ...
|
||
test_registration_required_fields_types_and_names (__main__.AuthContract.test_registration_required_fields_types_and_names) (field='username', case='missing') ... FAIL
|
||
test_registration_required_fields_types_and_names (__main__.AuthContract.test_registration_required_fields_types_and_names) (field='username', case='null') ... FAIL
|
||
test_registration_required_fields_types_and_names (__main__.AuthContract.test_registration_required_fields_types_and_names) (field='username', case='integer') ... FAIL
|
||
test_registration_required_fields_types_and_names (__main__.AuthContract.test_registration_required_fields_types_and_names) (field='username', case='boolean') ... FAIL
|
||
test_registration_required_fields_types_and_names (__main__.AuthContract.test_registration_required_fields_types_and_names) (field='username', case='array') ... FAIL
|
||
test_registration_required_fields_types_and_names (__main__.AuthContract.test_registration_required_fields_types_and_names) (field='username', case='object') ... FAIL
|
||
test_registration_required_fields_types_and_names (__main__.AuthContract.test_registration_required_fields_types_and_names) (field='username', alias='USERNAME', extra=False) ... FAIL
|
||
test_registration_required_fields_types_and_names (__main__.AuthContract.test_registration_required_fields_types_and_names) (field='username', alias='USERNAME', extra=True) ... FAIL
|
||
test_registration_required_fields_types_and_names (__main__.AuthContract.test_registration_required_fields_types_and_names) (field='username', alias='Username', extra=False) ... FAIL
|
||
test_registration_required_fields_types_and_names (__main__.AuthContract.test_registration_required_fields_types_and_names) (field='username', alias='Username', extra=True) ... FAIL
|
||
test_registration_required_fields_types_and_names (__main__.AuthContract.test_registration_required_fields_types_and_names) (field='display_name', case='missing') ... FAIL
|
||
test_registration_required_fields_types_and_names (__main__.AuthContract.test_registration_required_fields_types_and_names) (field='display_name', case='null') ... FAIL
|
||
test_registration_required_fields_types_and_names (__main__.AuthContract.test_registration_required_fields_types_and_names) (field='display_name', case='integer') ... FAIL
|
||
test_registration_required_fields_types_and_names (__main__.AuthContract.test_registration_required_fields_types_and_names) (field='display_name', case='boolean') ... FAIL
|
||
test_registration_required_fields_types_and_names (__main__.AuthContract.test_registration_required_fields_types_and_names) (field='display_name', case='array') ... FAIL
|
||
test_registration_required_fields_types_and_names (__main__.AuthContract.test_registration_required_fields_types_and_names) (field='display_name', case='object') ... FAIL
|
||
test_registration_required_fields_types_and_names (__main__.AuthContract.test_registration_required_fields_types_and_names) (field='display_name', alias='DISPLAY_NAME', extra=False) ... FAIL
|
||
test_registration_required_fields_types_and_names (__main__.AuthContract.test_registration_required_fields_types_and_names) (field='display_name', alias='DISPLAY_NAME', extra=True) ... FAIL
|
||
test_registration_required_fields_types_and_names (__main__.AuthContract.test_registration_required_fields_types_and_names) (field='display_name', alias='Display_name', extra=False) ... FAIL
|
||
test_registration_required_fields_types_and_names (__main__.AuthContract.test_registration_required_fields_types_and_names) (field='display_name', alias='Display_name', extra=True) ... FAIL
|
||
test_registration_required_fields_types_and_names (__main__.AuthContract.test_registration_required_fields_types_and_names) (field='password', case='missing') ... FAIL
|
||
test_registration_required_fields_types_and_names (__main__.AuthContract.test_registration_required_fields_types_and_names) (field='password', case='null') ... FAIL
|
||
test_registration_required_fields_types_and_names (__main__.AuthContract.test_registration_required_fields_types_and_names) (field='password', case='integer') ... FAIL
|
||
test_registration_required_fields_types_and_names (__main__.AuthContract.test_registration_required_fields_types_and_names) (field='password', case='boolean') ... FAIL
|
||
test_registration_required_fields_types_and_names (__main__.AuthContract.test_registration_required_fields_types_and_names) (field='password', case='array') ... FAIL
|
||
test_registration_required_fields_types_and_names (__main__.AuthContract.test_registration_required_fields_types_and_names) (field='password', case='object') ... FAIL
|
||
test_registration_required_fields_types_and_names (__main__.AuthContract.test_registration_required_fields_types_and_names) (field='password', alias='PASSWORD', extra=False) ... FAIL
|
||
test_registration_required_fields_types_and_names (__main__.AuthContract.test_registration_required_fields_types_and_names) (field='password', alias='PASSWORD', extra=True) ... FAIL
|
||
test_registration_required_fields_types_and_names (__main__.AuthContract.test_registration_required_fields_types_and_names) (field='password', alias='Password', extra=False) ... FAIL
|
||
test_registration_required_fields_types_and_names (__main__.AuthContract.test_registration_required_fields_types_and_names) (field='password', alias='Password', extra=True) ... FAIL
|
||
test_registration_required_fields_types_and_names (__main__.AuthContract.test_registration_required_fields_types_and_names) (root_type='NoneType') ... FAIL
|
||
test_registration_required_fields_types_and_names (__main__.AuthContract.test_registration_required_fields_types_and_names) (root_type='bool') ... FAIL
|
||
test_registration_required_fields_types_and_names (__main__.AuthContract.test_registration_required_fields_types_and_names) (root_type='int') ... FAIL
|
||
test_registration_required_fields_types_and_names (__main__.AuthContract.test_registration_required_fields_types_and_names) (root_type='str') ... FAIL
|
||
test_registration_required_fields_types_and_names (__main__.AuthContract.test_registration_required_fields_types_and_names) (root_type='list') ... FAIL
|
||
test_registration_required_fields_types_and_names (__main__.AuthContract.test_registration_required_fields_types_and_names) ... FAIL
|
||
test_session_ttl_matches_configuration (__main__.AuthContract.test_session_ttl_matches_configuration) ... FAIL
|
||
test_tokens_distinct_opaque_and_tamper_rejected (__main__.AuthContract.test_tokens_distinct_opaque_and_tamper_rejected) ... FAIL
|
||
test_username_and_display_name_constraints (__main__.AuthContract.test_username_and_display_name_constraints) ...
|
||
test_username_and_display_name_constraints (__main__.AuthContract.test_username_and_display_name_constraints) (case='username', length=2) ... FAIL
|
||
test_username_and_display_name_constraints (__main__.AuthContract.test_username_and_display_name_constraints) (case='username', length=33) ... FAIL
|
||
test_username_and_display_name_constraints (__main__.AuthContract.test_username_and_display_name_constraints) (case='username', length=3) ... FAIL
|
||
test_username_and_display_name_constraints (__main__.AuthContract.test_username_and_display_name_constraints) (case='username', length=3) ... FAIL
|
||
test_username_and_display_name_constraints (__main__.AuthContract.test_username_and_display_name_constraints) (case='username', length=8) ... FAIL
|
||
test_username_and_display_name_constraints (__main__.AuthContract.test_username_and_display_name_constraints) (case='username', length=8) ... FAIL
|
||
test_username_and_display_name_constraints (__main__.AuthContract.test_username_and_display_name_constraints) (case='username', length=4) ... FAIL
|
||
test_username_and_display_name_constraints (__main__.AuthContract.test_username_and_display_name_constraints) (case='display_name', length=0) ... FAIL
|
||
test_username_and_display_name_constraints (__main__.AuthContract.test_username_and_display_name_constraints) (case='display_name', length=3) ... FAIL
|
||
test_username_and_display_name_constraints (__main__.AuthContract.test_username_and_display_name_constraints) (case='display_name', length=2) ... FAIL
|
||
test_username_and_display_name_constraints (__main__.AuthContract.test_username_and_display_name_constraints) (case='display_name', length=101) ... FAIL
|
||
test_username_and_display_name_constraints (__main__.AuthContract.test_username_and_display_name_constraints) (case='valid_display_name', length=1) ... FAIL
|
||
test_username_and_display_name_constraints (__main__.AuthContract.test_username_and_display_name_constraints) (case='valid_display_name', length=100) ... FAIL
|
||
test_username_and_display_name_constraints (__main__.AuthContract.test_username_and_display_name_constraints) ... FAIL
|
||
test_wrong_credentials_have_same_public_error (__main__.AuthContract.test_wrong_credentials_have_same_public_error) ... FAIL
|
||
|
||
======================================================================
|
||
FAIL: test_duplicate_username_concurrent_registration (__main__.AuthContract.test_duplicate_username_concurrent_registration)
|
||
----------------------------------------------------------------------
|
||
Traceback (most recent call last):
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 357, in test_duplicate_username_concurrent_registration
|
||
error(self.c, "POST", LOGIN, 401, "unauthorized",
|
||
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
headers=basic(candidate["username"], candidate["password"]))
|
||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 51, in error
|
||
response = c.call(method, path, status, **kwargs)
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/tests/client.py", line 125, in call
|
||
raise Failure(method + ' ' + path.split('?')[0] + ': connection/TLS failure (' + type(exc).__name__ + ')') from None
|
||
client.Failure: POST /api/v1/auth/sessions: connection/TLS failure (RemoteDisconnected)
|
||
|
||
======================================================================
|
||
FAIL: test_identity_acl_and_sender_ignore_legacy_header (__main__.AuthContract.test_identity_acl_and_sender_ignore_legacy_header)
|
||
----------------------------------------------------------------------
|
||
Traceback (most recent call last):
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 262, in test_identity_acl_and_sender_ignore_legacy_header
|
||
alice, bob, eve = (create_actor(self.c) for _ in range(3))
|
||
^^^^^^^^^^^^^^^
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 262, in <genexpr>
|
||
alice, bob, eve = (create_actor(self.c) for _ in range(3))
|
||
~~~~~~~~~~~~^^^^^^^^
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 63, in create_actor
|
||
user = c.call("POST", "/api/v1/users", 201, body=body, schema="User")["json"]
|
||
~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/tests/client.py", line 125, in call
|
||
raise Failure(method + ' ' + path.split('?')[0] + ': connection/TLS failure (' + type(exc).__name__ + ')') from None
|
||
client.Failure: POST /api/v1/users: connection/TLS failure (RemoteDisconnected)
|
||
|
||
======================================================================
|
||
FAIL: test_invalid_chat_does_not_leave_visible_partial_chat (__main__.AuthContract.test_invalid_chat_does_not_leave_visible_partial_chat)
|
||
----------------------------------------------------------------------
|
||
Traceback (most recent call last):
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 287, in test_invalid_chat_does_not_leave_visible_partial_chat
|
||
actor = create_actor(self.c)
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 63, in create_actor
|
||
user = c.call("POST", "/api/v1/users", 201, body=body, schema="User")["json"]
|
||
~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/tests/client.py", line 125, in call
|
||
raise Failure(method + ' ' + path.split('?')[0] + ': connection/TLS failure (' + type(exc).__name__ + ')') from None
|
||
client.Failure: POST /api/v1/users: connection/TLS failure (RemoteDisconnected)
|
||
|
||
======================================================================
|
||
FAIL: test_invalid_password_length_and_blank (__main__.AuthContract.test_invalid_password_length_and_blank) (case='empty')
|
||
----------------------------------------------------------------------
|
||
Traceback (most recent call last):
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 125, in test_invalid_password_length_and_blank
|
||
error(self.c, "POST", "/api/v1/users", 400, "invalid_request", body=body)
|
||
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 51, in error
|
||
response = c.call(method, path, status, **kwargs)
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/tests/client.py", line 125, in call
|
||
raise Failure(method + ' ' + path.split('?')[0] + ': connection/TLS failure (' + type(exc).__name__ + ')') from None
|
||
client.Failure: POST /api/v1/users: connection/TLS failure (RemoteDisconnected)
|
||
|
||
======================================================================
|
||
FAIL: test_invalid_password_length_and_blank (__main__.AuthContract.test_invalid_password_length_and_blank) (case='ascii_short')
|
||
----------------------------------------------------------------------
|
||
Traceback (most recent call last):
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 125, in test_invalid_password_length_and_blank
|
||
error(self.c, "POST", "/api/v1/users", 400, "invalid_request", body=body)
|
||
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 51, in error
|
||
response = c.call(method, path, status, **kwargs)
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/tests/client.py", line 125, in call
|
||
raise Failure(method + ' ' + path.split('?')[0] + ': connection/TLS failure (' + type(exc).__name__ + ')') from None
|
||
client.Failure: POST /api/v1/users: connection/TLS failure (RemoteDisconnected)
|
||
|
||
======================================================================
|
||
FAIL: test_invalid_password_length_and_blank (__main__.AuthContract.test_invalid_password_length_and_blank) (case='ascii_long')
|
||
----------------------------------------------------------------------
|
||
Traceback (most recent call last):
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 125, in test_invalid_password_length_and_blank
|
||
error(self.c, "POST", "/api/v1/users", 400, "invalid_request", body=body)
|
||
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 51, in error
|
||
response = c.call(method, path, status, **kwargs)
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/tests/client.py", line 125, in call
|
||
raise Failure(method + ' ' + path.split('?')[0] + ': connection/TLS failure (' + type(exc).__name__ + ')') from None
|
||
client.Failure: POST /api/v1/users: connection/TLS failure (RemoteDisconnected)
|
||
|
||
======================================================================
|
||
FAIL: test_invalid_password_length_and_blank (__main__.AuthContract.test_invalid_password_length_and_blank) (case='unicode_short')
|
||
----------------------------------------------------------------------
|
||
Traceback (most recent call last):
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 125, in test_invalid_password_length_and_blank
|
||
error(self.c, "POST", "/api/v1/users", 400, "invalid_request", body=body)
|
||
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 51, in error
|
||
response = c.call(method, path, status, **kwargs)
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/tests/client.py", line 125, in call
|
||
raise Failure(method + ' ' + path.split('?')[0] + ': connection/TLS failure (' + type(exc).__name__ + ')') from None
|
||
client.Failure: POST /api/v1/users: connection/TLS failure (RemoteDisconnected)
|
||
|
||
======================================================================
|
||
FAIL: test_invalid_password_length_and_blank (__main__.AuthContract.test_invalid_password_length_and_blank) (case='unicode_long')
|
||
----------------------------------------------------------------------
|
||
Traceback (most recent call last):
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 125, in test_invalid_password_length_and_blank
|
||
error(self.c, "POST", "/api/v1/users", 400, "invalid_request", body=body)
|
||
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 51, in error
|
||
response = c.call(method, path, status, **kwargs)
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/tests/client.py", line 125, in call
|
||
raise Failure(method + ' ' + path.split('?')[0] + ': connection/TLS failure (' + type(exc).__name__ + ')') from None
|
||
client.Failure: POST /api/v1/users: connection/TLS failure (RemoteDisconnected)
|
||
|
||
======================================================================
|
||
FAIL: test_invalid_password_length_and_blank (__main__.AuthContract.test_invalid_password_length_and_blank) (case='blank_ascii')
|
||
----------------------------------------------------------------------
|
||
Traceback (most recent call last):
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 125, in test_invalid_password_length_and_blank
|
||
error(self.c, "POST", "/api/v1/users", 400, "invalid_request", body=body)
|
||
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 51, in error
|
||
response = c.call(method, path, status, **kwargs)
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/tests/client.py", line 125, in call
|
||
raise Failure(method + ' ' + path.split('?')[0] + ': connection/TLS failure (' + type(exc).__name__ + ')') from None
|
||
client.Failure: POST /api/v1/users: connection/TLS failure (RemoteDisconnected)
|
||
|
||
======================================================================
|
||
FAIL: test_invalid_password_length_and_blank (__main__.AuthContract.test_invalid_password_length_and_blank) (case='blank_unicode')
|
||
----------------------------------------------------------------------
|
||
Traceback (most recent call last):
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 125, in test_invalid_password_length_and_blank
|
||
error(self.c, "POST", "/api/v1/users", 400, "invalid_request", body=body)
|
||
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 51, in error
|
||
response = c.call(method, path, status, **kwargs)
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/tests/client.py", line 125, in call
|
||
raise Failure(method + ' ' + path.split('?')[0] + ': connection/TLS failure (' + type(exc).__name__ + ')') from None
|
||
client.Failure: POST /api/v1/users: connection/TLS failure (RemoteDisconnected)
|
||
|
||
======================================================================
|
||
FAIL: test_login_does_not_accept_json_credentials (__main__.AuthContract.test_login_does_not_accept_json_credentials)
|
||
----------------------------------------------------------------------
|
||
Traceback (most recent call last):
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 231, in test_login_does_not_accept_json_credentials
|
||
actor = create_actor(self.c)
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 63, in create_actor
|
||
user = c.call("POST", "/api/v1/users", 201, body=body, schema="User")["json"]
|
||
~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/tests/client.py", line 125, in call
|
||
raise Failure(method + ' ' + path.split('?')[0] + ': connection/TLS failure (' + type(exc).__name__ + ')') from None
|
||
client.Failure: POST /api/v1/users: connection/TLS failure (RemoteDisconnected)
|
||
|
||
======================================================================
|
||
FAIL: test_login_rejects_missing_or_malformed_basic (__main__.AuthContract.test_login_rejects_missing_or_malformed_basic)
|
||
----------------------------------------------------------------------
|
||
Traceback (most recent call last):
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 214, in test_login_rejects_missing_or_malformed_basic
|
||
actor = create_actor(self.c)
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 63, in create_actor
|
||
user = c.call("POST", "/api/v1/users", 201, body=body, schema="User")["json"]
|
||
~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/tests/client.py", line 125, in call
|
||
raise Failure(method + ' ' + path.split('?')[0] + ': connection/TLS failure (' + type(exc).__name__ + ')') from None
|
||
client.Failure: POST /api/v1/users: connection/TLS failure (RemoteDisconnected)
|
||
|
||
======================================================================
|
||
FAIL: test_logout_revokes_only_current_session (__main__.AuthContract.test_logout_revokes_only_current_session)
|
||
----------------------------------------------------------------------
|
||
Traceback (most recent call last):
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 299, in test_logout_revokes_only_current_session
|
||
actor = create_actor(self.c)
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 63, in create_actor
|
||
user = c.call("POST", "/api/v1/users", 201, body=body, schema="User")["json"]
|
||
~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/tests/client.py", line 125, in call
|
||
raise Failure(method + ' ' + path.split('?')[0] + ': connection/TLS failure (' + type(exc).__name__ + ')') from None
|
||
client.Failure: POST /api/v1/users: connection/TLS failure (RemoteDisconnected)
|
||
|
||
======================================================================
|
||
FAIL: test_password_unicode_boundaries_and_colon (__main__.AuthContract.test_password_unicode_boundaries_and_colon) (case='ascii_min')
|
||
----------------------------------------------------------------------
|
||
Traceback (most recent call last):
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 110, in test_password_unicode_boundaries_and_colon
|
||
actor = create_actor(self.c, password)
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 63, in create_actor
|
||
user = c.call("POST", "/api/v1/users", 201, body=body, schema="User")["json"]
|
||
~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/tests/client.py", line 125, in call
|
||
raise Failure(method + ' ' + path.split('?')[0] + ': connection/TLS failure (' + type(exc).__name__ + ')') from None
|
||
client.Failure: POST /api/v1/users: connection/TLS failure (RemoteDisconnected)
|
||
|
||
======================================================================
|
||
FAIL: test_password_unicode_boundaries_and_colon (__main__.AuthContract.test_password_unicode_boundaries_and_colon) (case='ascii_max')
|
||
----------------------------------------------------------------------
|
||
Traceback (most recent call last):
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 110, in test_password_unicode_boundaries_and_colon
|
||
actor = create_actor(self.c, password)
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 63, in create_actor
|
||
user = c.call("POST", "/api/v1/users", 201, body=body, schema="User")["json"]
|
||
~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/tests/client.py", line 125, in call
|
||
raise Failure(method + ' ' + path.split('?')[0] + ': connection/TLS failure (' + type(exc).__name__ + ')') from None
|
||
client.Failure: POST /api/v1/users: connection/TLS failure (RemoteDisconnected)
|
||
|
||
======================================================================
|
||
FAIL: test_password_unicode_boundaries_and_colon (__main__.AuthContract.test_password_unicode_boundaries_and_colon) (case='unicode_min')
|
||
----------------------------------------------------------------------
|
||
Traceback (most recent call last):
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 110, in test_password_unicode_boundaries_and_colon
|
||
actor = create_actor(self.c, password)
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 63, in create_actor
|
||
user = c.call("POST", "/api/v1/users", 201, body=body, schema="User")["json"]
|
||
~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/tests/client.py", line 125, in call
|
||
raise Failure(method + ' ' + path.split('?')[0] + ': connection/TLS failure (' + type(exc).__name__ + ')') from None
|
||
client.Failure: POST /api/v1/users: connection/TLS failure (RemoteDisconnected)
|
||
|
||
======================================================================
|
||
FAIL: test_password_unicode_boundaries_and_colon (__main__.AuthContract.test_password_unicode_boundaries_and_colon) (case='unicode_max')
|
||
----------------------------------------------------------------------
|
||
Traceback (most recent call last):
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 110, in test_password_unicode_boundaries_and_colon
|
||
actor = create_actor(self.c, password)
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 63, in create_actor
|
||
user = c.call("POST", "/api/v1/users", 201, body=body, schema="User")["json"]
|
||
~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/tests/client.py", line 125, in call
|
||
raise Failure(method + ' ' + path.split('?')[0] + ': connection/TLS failure (' + type(exc).__name__ + ')') from None
|
||
client.Failure: POST /api/v1/users: connection/TLS failure (RemoteDisconnected)
|
||
|
||
======================================================================
|
||
FAIL: test_password_unicode_boundaries_and_colon (__main__.AuthContract.test_password_unicode_boundaries_and_colon) (case='colon')
|
||
----------------------------------------------------------------------
|
||
Traceback (most recent call last):
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 110, in test_password_unicode_boundaries_and_colon
|
||
actor = create_actor(self.c, password)
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 63, in create_actor
|
||
user = c.call("POST", "/api/v1/users", 201, body=body, schema="User")["json"]
|
||
~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/tests/client.py", line 125, in call
|
||
raise Failure(method + ' ' + path.split('?')[0] + ': connection/TLS failure (' + type(exc).__name__ + ')') from None
|
||
client.Failure: POST /api/v1/users: connection/TLS failure (RemoteDisconnected)
|
||
|
||
======================================================================
|
||
FAIL: test_password_unicode_boundaries_and_colon (__main__.AuthContract.test_password_unicode_boundaries_and_colon) (case='spaces_are_significant')
|
||
----------------------------------------------------------------------
|
||
Traceback (most recent call last):
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 110, in test_password_unicode_boundaries_and_colon
|
||
actor = create_actor(self.c, password)
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 63, in create_actor
|
||
user = c.call("POST", "/api/v1/users", 201, body=body, schema="User")["json"]
|
||
~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/tests/client.py", line 125, in call
|
||
raise Failure(method + ' ' + path.split('?')[0] + ': connection/TLS failure (' + type(exc).__name__ + ')') from None
|
||
client.Failure: POST /api/v1/users: connection/TLS failure (RemoteDisconnected)
|
||
|
||
======================================================================
|
||
FAIL: test_protected_routes_require_bearer_before_validation (__main__.AuthContract.test_protected_routes_require_bearer_before_validation)
|
||
----------------------------------------------------------------------
|
||
Traceback (most recent call last):
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 240, in test_protected_routes_require_bearer_before_validation
|
||
actor = create_actor(self.c)
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 63, in create_actor
|
||
user = c.call("POST", "/api/v1/users", 201, body=body, schema="User")["json"]
|
||
~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/tests/client.py", line 125, in call
|
||
raise Failure(method + ' ' + path.split('?')[0] + ': connection/TLS failure (' + type(exc).__name__ + ')') from None
|
||
client.Failure: POST /api/v1/users: connection/TLS failure (RemoteDisconnected)
|
||
|
||
======================================================================
|
||
FAIL: test_public_health_and_registration (__main__.AuthContract.test_public_health_and_registration) (path='/health/live')
|
||
----------------------------------------------------------------------
|
||
Traceback (most recent call last):
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 94, in test_public_health_and_registration
|
||
self.c.call("GET", path, schema="Health")
|
||
~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/tests/client.py", line 125, in call
|
||
raise Failure(method + ' ' + path.split('?')[0] + ': connection/TLS failure (' + type(exc).__name__ + ')') from None
|
||
client.Failure: GET /health/live: connection/TLS failure (RemoteDisconnected)
|
||
|
||
======================================================================
|
||
FAIL: test_public_health_and_registration (__main__.AuthContract.test_public_health_and_registration) (path='/health/ready')
|
||
----------------------------------------------------------------------
|
||
Traceback (most recent call last):
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 94, in test_public_health_and_registration
|
||
self.c.call("GET", path, schema="Health")
|
||
~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/tests/client.py", line 125, in call
|
||
raise Failure(method + ' ' + path.split('?')[0] + ': connection/TLS failure (' + type(exc).__name__ + ')') from None
|
||
client.Failure: GET /health/ready: connection/TLS failure (RemoteDisconnected)
|
||
|
||
======================================================================
|
||
FAIL: test_public_health_and_registration (__main__.AuthContract.test_public_health_and_registration)
|
||
----------------------------------------------------------------------
|
||
Traceback (most recent call last):
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 97, in test_public_health_and_registration
|
||
user = self.c.call("POST", "/api/v1/users", 201, body=body,
|
||
~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
headers={"Authorization": "Bearer invalid"}, schema="User")["json"]
|
||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/tests/client.py", line 125, in call
|
||
raise Failure(method + ' ' + path.split('?')[0] + ': connection/TLS failure (' + type(exc).__name__ + ')') from None
|
||
client.Failure: POST /api/v1/users: connection/TLS failure (RemoteDisconnected)
|
||
|
||
======================================================================
|
||
FAIL: test_registration_bytes_json_and_content_type (__main__.AuthContract.test_registration_bytes_json_and_content_type) (case='empty')
|
||
----------------------------------------------------------------------
|
||
Traceback (most recent call last):
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 159, in test_registration_bytes_json_and_content_type
|
||
error(self.c, "POST", "/api/v1/users", 400, "invalid_request",
|
||
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
raw=raw, headers={"Content-Type": "application/json"})
|
||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 51, in error
|
||
response = c.call(method, path, status, **kwargs)
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/tests/client.py", line 125, in call
|
||
raise Failure(method + ' ' + path.split('?')[0] + ': connection/TLS failure (' + type(exc).__name__ + ')') from None
|
||
client.Failure: POST /api/v1/users: connection/TLS failure (RemoteDisconnected)
|
||
|
||
======================================================================
|
||
FAIL: test_registration_bytes_json_and_content_type (__main__.AuthContract.test_registration_bytes_json_and_content_type) (case='malformed')
|
||
----------------------------------------------------------------------
|
||
Traceback (most recent call last):
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 159, in test_registration_bytes_json_and_content_type
|
||
error(self.c, "POST", "/api/v1/users", 400, "invalid_request",
|
||
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
raw=raw, headers={"Content-Type": "application/json"})
|
||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 51, in error
|
||
response = c.call(method, path, status, **kwargs)
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/tests/client.py", line 125, in call
|
||
raise Failure(method + ' ' + path.split('?')[0] + ': connection/TLS failure (' + type(exc).__name__ + ')') from None
|
||
client.Failure: POST /api/v1/users: connection/TLS failure (RemoteDisconnected)
|
||
|
||
======================================================================
|
||
FAIL: test_registration_bytes_json_and_content_type (__main__.AuthContract.test_registration_bytes_json_and_content_type) (case='second_json')
|
||
----------------------------------------------------------------------
|
||
Traceback (most recent call last):
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 159, in test_registration_bytes_json_and_content_type
|
||
error(self.c, "POST", "/api/v1/users", 400, "invalid_request",
|
||
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
raw=raw, headers={"Content-Type": "application/json"})
|
||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 51, in error
|
||
response = c.call(method, path, status, **kwargs)
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/tests/client.py", line 125, in call
|
||
raise Failure(method + ' ' + path.split('?')[0] + ': connection/TLS failure (' + type(exc).__name__ + ')') from None
|
||
client.Failure: POST /api/v1/users: connection/TLS failure (RemoteDisconnected)
|
||
|
||
======================================================================
|
||
FAIL: test_registration_bytes_json_and_content_type (__main__.AuthContract.test_registration_bytes_json_and_content_type) (case='trailing_garbage')
|
||
----------------------------------------------------------------------
|
||
Traceback (most recent call last):
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 159, in test_registration_bytes_json_and_content_type
|
||
error(self.c, "POST", "/api/v1/users", 400, "invalid_request",
|
||
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
raw=raw, headers={"Content-Type": "application/json"})
|
||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 51, in error
|
||
response = c.call(method, path, status, **kwargs)
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/tests/client.py", line 125, in call
|
||
raise Failure(method + ' ' + path.split('?')[0] + ': connection/TLS failure (' + type(exc).__name__ + ')') from None
|
||
client.Failure: POST /api/v1/users: connection/TLS failure (RemoteDisconnected)
|
||
|
||
======================================================================
|
||
FAIL: test_registration_bytes_json_and_content_type (__main__.AuthContract.test_registration_bytes_json_and_content_type) (field='username', encoding='ff')
|
||
----------------------------------------------------------------------
|
||
Traceback (most recent call last):
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 168, in test_registration_bytes_json_and_content_type
|
||
error(self.c, "POST", "/api/v1/users", 400, "invalid_request",
|
||
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
raw=raw, headers={"Content-Type": "application/json"})
|
||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 51, in error
|
||
response = c.call(method, path, status, **kwargs)
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/tests/client.py", line 125, in call
|
||
raise Failure(method + ' ' + path.split('?')[0] + ': connection/TLS failure (' + type(exc).__name__ + ')') from None
|
||
client.Failure: POST /api/v1/users: connection/TLS failure (RemoteDisconnected)
|
||
|
||
======================================================================
|
||
FAIL: test_registration_bytes_json_and_content_type (__main__.AuthContract.test_registration_bytes_json_and_content_type) (field='username', encoding='overlong')
|
||
----------------------------------------------------------------------
|
||
Traceback (most recent call last):
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 168, in test_registration_bytes_json_and_content_type
|
||
error(self.c, "POST", "/api/v1/users", 400, "invalid_request",
|
||
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
raw=raw, headers={"Content-Type": "application/json"})
|
||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 51, in error
|
||
response = c.call(method, path, status, **kwargs)
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/tests/client.py", line 125, in call
|
||
raise Failure(method + ' ' + path.split('?')[0] + ': connection/TLS failure (' + type(exc).__name__ + ')') from None
|
||
client.Failure: POST /api/v1/users: connection/TLS failure (RemoteDisconnected)
|
||
|
||
======================================================================
|
||
FAIL: test_registration_bytes_json_and_content_type (__main__.AuthContract.test_registration_bytes_json_and_content_type) (field='username', encoding='truncated')
|
||
----------------------------------------------------------------------
|
||
Traceback (most recent call last):
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 168, in test_registration_bytes_json_and_content_type
|
||
error(self.c, "POST", "/api/v1/users", 400, "invalid_request",
|
||
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
raw=raw, headers={"Content-Type": "application/json"})
|
||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 51, in error
|
||
response = c.call(method, path, status, **kwargs)
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/tests/client.py", line 125, in call
|
||
raise Failure(method + ' ' + path.split('?')[0] + ': connection/TLS failure (' + type(exc).__name__ + ')') from None
|
||
client.Failure: POST /api/v1/users: connection/TLS failure (RemoteDisconnected)
|
||
|
||
======================================================================
|
||
FAIL: test_registration_bytes_json_and_content_type (__main__.AuthContract.test_registration_bytes_json_and_content_type) (field='username', encoding='surrogate')
|
||
----------------------------------------------------------------------
|
||
Traceback (most recent call last):
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 168, in test_registration_bytes_json_and_content_type
|
||
error(self.c, "POST", "/api/v1/users", 400, "invalid_request",
|
||
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
raw=raw, headers={"Content-Type": "application/json"})
|
||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 51, in error
|
||
response = c.call(method, path, status, **kwargs)
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/tests/client.py", line 125, in call
|
||
raise Failure(method + ' ' + path.split('?')[0] + ': connection/TLS failure (' + type(exc).__name__ + ')') from None
|
||
client.Failure: POST /api/v1/users: connection/TLS failure (RemoteDisconnected)
|
||
|
||
======================================================================
|
||
FAIL: test_registration_bytes_json_and_content_type (__main__.AuthContract.test_registration_bytes_json_and_content_type) (field='display_name', encoding='ff')
|
||
----------------------------------------------------------------------
|
||
Traceback (most recent call last):
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 168, in test_registration_bytes_json_and_content_type
|
||
error(self.c, "POST", "/api/v1/users", 400, "invalid_request",
|
||
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
raw=raw, headers={"Content-Type": "application/json"})
|
||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 51, in error
|
||
response = c.call(method, path, status, **kwargs)
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/tests/client.py", line 125, in call
|
||
raise Failure(method + ' ' + path.split('?')[0] + ': connection/TLS failure (' + type(exc).__name__ + ')') from None
|
||
client.Failure: POST /api/v1/users: connection/TLS failure (RemoteDisconnected)
|
||
|
||
======================================================================
|
||
FAIL: test_registration_bytes_json_and_content_type (__main__.AuthContract.test_registration_bytes_json_and_content_type) (field='display_name', encoding='overlong')
|
||
----------------------------------------------------------------------
|
||
Traceback (most recent call last):
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 168, in test_registration_bytes_json_and_content_type
|
||
error(self.c, "POST", "/api/v1/users", 400, "invalid_request",
|
||
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
raw=raw, headers={"Content-Type": "application/json"})
|
||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 51, in error
|
||
response = c.call(method, path, status, **kwargs)
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/tests/client.py", line 125, in call
|
||
raise Failure(method + ' ' + path.split('?')[0] + ': connection/TLS failure (' + type(exc).__name__ + ')') from None
|
||
client.Failure: POST /api/v1/users: connection/TLS failure (RemoteDisconnected)
|
||
|
||
======================================================================
|
||
FAIL: test_registration_bytes_json_and_content_type (__main__.AuthContract.test_registration_bytes_json_and_content_type) (field='display_name', encoding='truncated')
|
||
----------------------------------------------------------------------
|
||
Traceback (most recent call last):
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 168, in test_registration_bytes_json_and_content_type
|
||
error(self.c, "POST", "/api/v1/users", 400, "invalid_request",
|
||
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
raw=raw, headers={"Content-Type": "application/json"})
|
||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 51, in error
|
||
response = c.call(method, path, status, **kwargs)
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/tests/client.py", line 125, in call
|
||
raise Failure(method + ' ' + path.split('?')[0] + ': connection/TLS failure (' + type(exc).__name__ + ')') from None
|
||
client.Failure: POST /api/v1/users: connection/TLS failure (RemoteDisconnected)
|
||
|
||
======================================================================
|
||
FAIL: test_registration_bytes_json_and_content_type (__main__.AuthContract.test_registration_bytes_json_and_content_type) (field='display_name', encoding='surrogate')
|
||
----------------------------------------------------------------------
|
||
Traceback (most recent call last):
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 168, in test_registration_bytes_json_and_content_type
|
||
error(self.c, "POST", "/api/v1/users", 400, "invalid_request",
|
||
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
raw=raw, headers={"Content-Type": "application/json"})
|
||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 51, in error
|
||
response = c.call(method, path, status, **kwargs)
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/tests/client.py", line 125, in call
|
||
raise Failure(method + ' ' + path.split('?')[0] + ': connection/TLS failure (' + type(exc).__name__ + ')') from None
|
||
client.Failure: POST /api/v1/users: connection/TLS failure (RemoteDisconnected)
|
||
|
||
======================================================================
|
||
FAIL: test_registration_bytes_json_and_content_type (__main__.AuthContract.test_registration_bytes_json_and_content_type) (field='password', encoding='ff')
|
||
----------------------------------------------------------------------
|
||
Traceback (most recent call last):
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 168, in test_registration_bytes_json_and_content_type
|
||
error(self.c, "POST", "/api/v1/users", 400, "invalid_request",
|
||
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
raw=raw, headers={"Content-Type": "application/json"})
|
||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 51, in error
|
||
response = c.call(method, path, status, **kwargs)
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/tests/client.py", line 125, in call
|
||
raise Failure(method + ' ' + path.split('?')[0] + ': connection/TLS failure (' + type(exc).__name__ + ')') from None
|
||
client.Failure: POST /api/v1/users: connection/TLS failure (RemoteDisconnected)
|
||
|
||
======================================================================
|
||
FAIL: test_registration_bytes_json_and_content_type (__main__.AuthContract.test_registration_bytes_json_and_content_type) (field='password', encoding='overlong')
|
||
----------------------------------------------------------------------
|
||
Traceback (most recent call last):
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 168, in test_registration_bytes_json_and_content_type
|
||
error(self.c, "POST", "/api/v1/users", 400, "invalid_request",
|
||
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
raw=raw, headers={"Content-Type": "application/json"})
|
||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 51, in error
|
||
response = c.call(method, path, status, **kwargs)
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/tests/client.py", line 125, in call
|
||
raise Failure(method + ' ' + path.split('?')[0] + ': connection/TLS failure (' + type(exc).__name__ + ')') from None
|
||
client.Failure: POST /api/v1/users: connection/TLS failure (RemoteDisconnected)
|
||
|
||
======================================================================
|
||
FAIL: test_registration_bytes_json_and_content_type (__main__.AuthContract.test_registration_bytes_json_and_content_type) (field='password', encoding='truncated')
|
||
----------------------------------------------------------------------
|
||
Traceback (most recent call last):
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 168, in test_registration_bytes_json_and_content_type
|
||
error(self.c, "POST", "/api/v1/users", 400, "invalid_request",
|
||
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
raw=raw, headers={"Content-Type": "application/json"})
|
||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 51, in error
|
||
response = c.call(method, path, status, **kwargs)
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/tests/client.py", line 125, in call
|
||
raise Failure(method + ' ' + path.split('?')[0] + ': connection/TLS failure (' + type(exc).__name__ + ')') from None
|
||
client.Failure: POST /api/v1/users: connection/TLS failure (RemoteDisconnected)
|
||
|
||
======================================================================
|
||
FAIL: test_registration_bytes_json_and_content_type (__main__.AuthContract.test_registration_bytes_json_and_content_type) (field='password', encoding='surrogate')
|
||
----------------------------------------------------------------------
|
||
Traceback (most recent call last):
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 168, in test_registration_bytes_json_and_content_type
|
||
error(self.c, "POST", "/api/v1/users", 400, "invalid_request",
|
||
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
raw=raw, headers={"Content-Type": "application/json"})
|
||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 51, in error
|
||
response = c.call(method, path, status, **kwargs)
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/tests/client.py", line 125, in call
|
||
raise Failure(method + ' ' + path.split('?')[0] + ': connection/TLS failure (' + type(exc).__name__ + ')') from None
|
||
client.Failure: POST /api/v1/users: connection/TLS failure (RemoteDisconnected)
|
||
|
||
======================================================================
|
||
FAIL: test_registration_bytes_json_and_content_type (__main__.AuthContract.test_registration_bytes_json_and_content_type) (media='text/plain')
|
||
----------------------------------------------------------------------
|
||
Traceback (most recent call last):
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 172, in test_registration_bytes_json_and_content_type
|
||
error(self.c, "POST", "/api/v1/users", 415, "unsupported_media_type",
|
||
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
raw=json.dumps(registration()).encode(), headers={"Content-Type": media})
|
||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 51, in error
|
||
response = c.call(method, path, status, **kwargs)
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/tests/client.py", line 125, in call
|
||
raise Failure(method + ' ' + path.split('?')[0] + ': connection/TLS failure (' + type(exc).__name__ + ')') from None
|
||
client.Failure: POST /api/v1/users: connection/TLS failure (RemoteDisconnected)
|
||
|
||
======================================================================
|
||
FAIL: test_registration_bytes_json_and_content_type (__main__.AuthContract.test_registration_bytes_json_and_content_type) (media='application/octet-stream')
|
||
----------------------------------------------------------------------
|
||
Traceback (most recent call last):
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 172, in test_registration_bytes_json_and_content_type
|
||
error(self.c, "POST", "/api/v1/users", 415, "unsupported_media_type",
|
||
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
raw=json.dumps(registration()).encode(), headers={"Content-Type": media})
|
||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 51, in error
|
||
response = c.call(method, path, status, **kwargs)
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/tests/client.py", line 125, in call
|
||
raise Failure(method + ' ' + path.split('?')[0] + ': connection/TLS failure (' + type(exc).__name__ + ')') from None
|
||
client.Failure: POST /api/v1/users: connection/TLS failure (RemoteDisconnected)
|
||
|
||
======================================================================
|
||
FAIL: test_registration_required_fields_types_and_names (__main__.AuthContract.test_registration_required_fields_types_and_names) (field='username', case='missing')
|
||
----------------------------------------------------------------------
|
||
Traceback (most recent call last):
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 137, in test_registration_required_fields_types_and_names
|
||
error(self.c, "POST", "/api/v1/users", 400, "invalid_request", body=body)
|
||
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 51, in error
|
||
response = c.call(method, path, status, **kwargs)
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/tests/client.py", line 125, in call
|
||
raise Failure(method + ' ' + path.split('?')[0] + ': connection/TLS failure (' + type(exc).__name__ + ')') from None
|
||
client.Failure: POST /api/v1/users: connection/TLS failure (RemoteDisconnected)
|
||
|
||
======================================================================
|
||
FAIL: test_registration_required_fields_types_and_names (__main__.AuthContract.test_registration_required_fields_types_and_names) (field='username', case='null')
|
||
----------------------------------------------------------------------
|
||
Traceback (most recent call last):
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 137, in test_registration_required_fields_types_and_names
|
||
error(self.c, "POST", "/api/v1/users", 400, "invalid_request", body=body)
|
||
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 51, in error
|
||
response = c.call(method, path, status, **kwargs)
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/tests/client.py", line 125, in call
|
||
raise Failure(method + ' ' + path.split('?')[0] + ': connection/TLS failure (' + type(exc).__name__ + ')') from None
|
||
client.Failure: POST /api/v1/users: connection/TLS failure (RemoteDisconnected)
|
||
|
||
======================================================================
|
||
FAIL: test_registration_required_fields_types_and_names (__main__.AuthContract.test_registration_required_fields_types_and_names) (field='username', case='integer')
|
||
----------------------------------------------------------------------
|
||
Traceback (most recent call last):
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 137, in test_registration_required_fields_types_and_names
|
||
error(self.c, "POST", "/api/v1/users", 400, "invalid_request", body=body)
|
||
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 51, in error
|
||
response = c.call(method, path, status, **kwargs)
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/tests/client.py", line 125, in call
|
||
raise Failure(method + ' ' + path.split('?')[0] + ': connection/TLS failure (' + type(exc).__name__ + ')') from None
|
||
client.Failure: POST /api/v1/users: connection/TLS failure (RemoteDisconnected)
|
||
|
||
======================================================================
|
||
FAIL: test_registration_required_fields_types_and_names (__main__.AuthContract.test_registration_required_fields_types_and_names) (field='username', case='boolean')
|
||
----------------------------------------------------------------------
|
||
Traceback (most recent call last):
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 137, in test_registration_required_fields_types_and_names
|
||
error(self.c, "POST", "/api/v1/users", 400, "invalid_request", body=body)
|
||
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 51, in error
|
||
response = c.call(method, path, status, **kwargs)
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/tests/client.py", line 125, in call
|
||
raise Failure(method + ' ' + path.split('?')[0] + ': connection/TLS failure (' + type(exc).__name__ + ')') from None
|
||
client.Failure: POST /api/v1/users: connection/TLS failure (RemoteDisconnected)
|
||
|
||
======================================================================
|
||
FAIL: test_registration_required_fields_types_and_names (__main__.AuthContract.test_registration_required_fields_types_and_names) (field='username', case='array')
|
||
----------------------------------------------------------------------
|
||
Traceback (most recent call last):
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 137, in test_registration_required_fields_types_and_names
|
||
error(self.c, "POST", "/api/v1/users", 400, "invalid_request", body=body)
|
||
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 51, in error
|
||
response = c.call(method, path, status, **kwargs)
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/tests/client.py", line 125, in call
|
||
raise Failure(method + ' ' + path.split('?')[0] + ': connection/TLS failure (' + type(exc).__name__ + ')') from None
|
||
client.Failure: POST /api/v1/users: connection/TLS failure (RemoteDisconnected)
|
||
|
||
======================================================================
|
||
FAIL: test_registration_required_fields_types_and_names (__main__.AuthContract.test_registration_required_fields_types_and_names) (field='username', case='object')
|
||
----------------------------------------------------------------------
|
||
Traceback (most recent call last):
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 137, in test_registration_required_fields_types_and_names
|
||
error(self.c, "POST", "/api/v1/users", 400, "invalid_request", body=body)
|
||
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 51, in error
|
||
response = c.call(method, path, status, **kwargs)
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/tests/client.py", line 125, in call
|
||
raise Failure(method + ' ' + path.split('?')[0] + ': connection/TLS failure (' + type(exc).__name__ + ')') from None
|
||
client.Failure: POST /api/v1/users: connection/TLS failure (RemoteDisconnected)
|
||
|
||
======================================================================
|
||
FAIL: test_registration_required_fields_types_and_names (__main__.AuthContract.test_registration_required_fields_types_and_names) (field='username', alias='USERNAME', extra=False)
|
||
----------------------------------------------------------------------
|
||
Traceback (most recent call last):
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 143, in test_registration_required_fields_types_and_names
|
||
error(self.c, "POST", "/api/v1/users", 400, "invalid_request", body=body)
|
||
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 51, in error
|
||
response = c.call(method, path, status, **kwargs)
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/tests/client.py", line 125, in call
|
||
raise Failure(method + ' ' + path.split('?')[0] + ': connection/TLS failure (' + type(exc).__name__ + ')') from None
|
||
client.Failure: POST /api/v1/users: connection/TLS failure (RemoteDisconnected)
|
||
|
||
======================================================================
|
||
FAIL: test_registration_required_fields_types_and_names (__main__.AuthContract.test_registration_required_fields_types_and_names) (field='username', alias='USERNAME', extra=True)
|
||
----------------------------------------------------------------------
|
||
Traceback (most recent call last):
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 143, in test_registration_required_fields_types_and_names
|
||
error(self.c, "POST", "/api/v1/users", 400, "invalid_request", body=body)
|
||
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 51, in error
|
||
response = c.call(method, path, status, **kwargs)
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/tests/client.py", line 125, in call
|
||
raise Failure(method + ' ' + path.split('?')[0] + ': connection/TLS failure (' + type(exc).__name__ + ')') from None
|
||
client.Failure: POST /api/v1/users: connection/TLS failure (RemoteDisconnected)
|
||
|
||
======================================================================
|
||
FAIL: test_registration_required_fields_types_and_names (__main__.AuthContract.test_registration_required_fields_types_and_names) (field='username', alias='Username', extra=False)
|
||
----------------------------------------------------------------------
|
||
Traceback (most recent call last):
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 143, in test_registration_required_fields_types_and_names
|
||
error(self.c, "POST", "/api/v1/users", 400, "invalid_request", body=body)
|
||
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 51, in error
|
||
response = c.call(method, path, status, **kwargs)
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/tests/client.py", line 125, in call
|
||
raise Failure(method + ' ' + path.split('?')[0] + ': connection/TLS failure (' + type(exc).__name__ + ')') from None
|
||
client.Failure: POST /api/v1/users: connection/TLS failure (RemoteDisconnected)
|
||
|
||
======================================================================
|
||
FAIL: test_registration_required_fields_types_and_names (__main__.AuthContract.test_registration_required_fields_types_and_names) (field='username', alias='Username', extra=True)
|
||
----------------------------------------------------------------------
|
||
Traceback (most recent call last):
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 143, in test_registration_required_fields_types_and_names
|
||
error(self.c, "POST", "/api/v1/users", 400, "invalid_request", body=body)
|
||
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 51, in error
|
||
response = c.call(method, path, status, **kwargs)
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/tests/client.py", line 125, in call
|
||
raise Failure(method + ' ' + path.split('?')[0] + ': connection/TLS failure (' + type(exc).__name__ + ')') from None
|
||
client.Failure: POST /api/v1/users: connection/TLS failure (RemoteDisconnected)
|
||
|
||
======================================================================
|
||
FAIL: test_registration_required_fields_types_and_names (__main__.AuthContract.test_registration_required_fields_types_and_names) (field='display_name', case='missing')
|
||
----------------------------------------------------------------------
|
||
Traceback (most recent call last):
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 137, in test_registration_required_fields_types_and_names
|
||
error(self.c, "POST", "/api/v1/users", 400, "invalid_request", body=body)
|
||
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 51, in error
|
||
response = c.call(method, path, status, **kwargs)
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/tests/client.py", line 125, in call
|
||
raise Failure(method + ' ' + path.split('?')[0] + ': connection/TLS failure (' + type(exc).__name__ + ')') from None
|
||
client.Failure: POST /api/v1/users: connection/TLS failure (RemoteDisconnected)
|
||
|
||
======================================================================
|
||
FAIL: test_registration_required_fields_types_and_names (__main__.AuthContract.test_registration_required_fields_types_and_names) (field='display_name', case='null')
|
||
----------------------------------------------------------------------
|
||
Traceback (most recent call last):
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 137, in test_registration_required_fields_types_and_names
|
||
error(self.c, "POST", "/api/v1/users", 400, "invalid_request", body=body)
|
||
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 51, in error
|
||
response = c.call(method, path, status, **kwargs)
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/tests/client.py", line 125, in call
|
||
raise Failure(method + ' ' + path.split('?')[0] + ': connection/TLS failure (' + type(exc).__name__ + ')') from None
|
||
client.Failure: POST /api/v1/users: connection/TLS failure (RemoteDisconnected)
|
||
|
||
======================================================================
|
||
FAIL: test_registration_required_fields_types_and_names (__main__.AuthContract.test_registration_required_fields_types_and_names) (field='display_name', case='integer')
|
||
----------------------------------------------------------------------
|
||
Traceback (most recent call last):
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 137, in test_registration_required_fields_types_and_names
|
||
error(self.c, "POST", "/api/v1/users", 400, "invalid_request", body=body)
|
||
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 51, in error
|
||
response = c.call(method, path, status, **kwargs)
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/tests/client.py", line 125, in call
|
||
raise Failure(method + ' ' + path.split('?')[0] + ': connection/TLS failure (' + type(exc).__name__ + ')') from None
|
||
client.Failure: POST /api/v1/users: connection/TLS failure (RemoteDisconnected)
|
||
|
||
======================================================================
|
||
FAIL: test_registration_required_fields_types_and_names (__main__.AuthContract.test_registration_required_fields_types_and_names) (field='display_name', case='boolean')
|
||
----------------------------------------------------------------------
|
||
Traceback (most recent call last):
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 137, in test_registration_required_fields_types_and_names
|
||
error(self.c, "POST", "/api/v1/users", 400, "invalid_request", body=body)
|
||
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 51, in error
|
||
response = c.call(method, path, status, **kwargs)
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/tests/client.py", line 125, in call
|
||
raise Failure(method + ' ' + path.split('?')[0] + ': connection/TLS failure (' + type(exc).__name__ + ')') from None
|
||
client.Failure: POST /api/v1/users: connection/TLS failure (RemoteDisconnected)
|
||
|
||
======================================================================
|
||
FAIL: test_registration_required_fields_types_and_names (__main__.AuthContract.test_registration_required_fields_types_and_names) (field='display_name', case='array')
|
||
----------------------------------------------------------------------
|
||
Traceback (most recent call last):
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 137, in test_registration_required_fields_types_and_names
|
||
error(self.c, "POST", "/api/v1/users", 400, "invalid_request", body=body)
|
||
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 51, in error
|
||
response = c.call(method, path, status, **kwargs)
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/tests/client.py", line 125, in call
|
||
raise Failure(method + ' ' + path.split('?')[0] + ': connection/TLS failure (' + type(exc).__name__ + ')') from None
|
||
client.Failure: POST /api/v1/users: connection/TLS failure (RemoteDisconnected)
|
||
|
||
======================================================================
|
||
FAIL: test_registration_required_fields_types_and_names (__main__.AuthContract.test_registration_required_fields_types_and_names) (field='display_name', case='object')
|
||
----------------------------------------------------------------------
|
||
Traceback (most recent call last):
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 137, in test_registration_required_fields_types_and_names
|
||
error(self.c, "POST", "/api/v1/users", 400, "invalid_request", body=body)
|
||
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 51, in error
|
||
response = c.call(method, path, status, **kwargs)
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/tests/client.py", line 125, in call
|
||
raise Failure(method + ' ' + path.split('?')[0] + ': connection/TLS failure (' + type(exc).__name__ + ')') from None
|
||
client.Failure: POST /api/v1/users: connection/TLS failure (RemoteDisconnected)
|
||
|
||
======================================================================
|
||
FAIL: test_registration_required_fields_types_and_names (__main__.AuthContract.test_registration_required_fields_types_and_names) (field='display_name', alias='DISPLAY_NAME', extra=False)
|
||
----------------------------------------------------------------------
|
||
Traceback (most recent call last):
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 143, in test_registration_required_fields_types_and_names
|
||
error(self.c, "POST", "/api/v1/users", 400, "invalid_request", body=body)
|
||
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 51, in error
|
||
response = c.call(method, path, status, **kwargs)
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/tests/client.py", line 125, in call
|
||
raise Failure(method + ' ' + path.split('?')[0] + ': connection/TLS failure (' + type(exc).__name__ + ')') from None
|
||
client.Failure: POST /api/v1/users: connection/TLS failure (RemoteDisconnected)
|
||
|
||
======================================================================
|
||
FAIL: test_registration_required_fields_types_and_names (__main__.AuthContract.test_registration_required_fields_types_and_names) (field='display_name', alias='DISPLAY_NAME', extra=True)
|
||
----------------------------------------------------------------------
|
||
Traceback (most recent call last):
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 143, in test_registration_required_fields_types_and_names
|
||
error(self.c, "POST", "/api/v1/users", 400, "invalid_request", body=body)
|
||
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 51, in error
|
||
response = c.call(method, path, status, **kwargs)
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/tests/client.py", line 125, in call
|
||
raise Failure(method + ' ' + path.split('?')[0] + ': connection/TLS failure (' + type(exc).__name__ + ')') from None
|
||
client.Failure: POST /api/v1/users: connection/TLS failure (RemoteDisconnected)
|
||
|
||
======================================================================
|
||
FAIL: test_registration_required_fields_types_and_names (__main__.AuthContract.test_registration_required_fields_types_and_names) (field='display_name', alias='Display_name', extra=False)
|
||
----------------------------------------------------------------------
|
||
Traceback (most recent call last):
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 143, in test_registration_required_fields_types_and_names
|
||
error(self.c, "POST", "/api/v1/users", 400, "invalid_request", body=body)
|
||
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 51, in error
|
||
response = c.call(method, path, status, **kwargs)
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/tests/client.py", line 125, in call
|
||
raise Failure(method + ' ' + path.split('?')[0] + ': connection/TLS failure (' + type(exc).__name__ + ')') from None
|
||
client.Failure: POST /api/v1/users: connection/TLS failure (RemoteDisconnected)
|
||
|
||
======================================================================
|
||
FAIL: test_registration_required_fields_types_and_names (__main__.AuthContract.test_registration_required_fields_types_and_names) (field='display_name', alias='Display_name', extra=True)
|
||
----------------------------------------------------------------------
|
||
Traceback (most recent call last):
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 143, in test_registration_required_fields_types_and_names
|
||
error(self.c, "POST", "/api/v1/users", 400, "invalid_request", body=body)
|
||
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 51, in error
|
||
response = c.call(method, path, status, **kwargs)
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/tests/client.py", line 125, in call
|
||
raise Failure(method + ' ' + path.split('?')[0] + ': connection/TLS failure (' + type(exc).__name__ + ')') from None
|
||
client.Failure: POST /api/v1/users: connection/TLS failure (RemoteDisconnected)
|
||
|
||
======================================================================
|
||
FAIL: test_registration_required_fields_types_and_names (__main__.AuthContract.test_registration_required_fields_types_and_names) (field='password', case='missing')
|
||
----------------------------------------------------------------------
|
||
Traceback (most recent call last):
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 137, in test_registration_required_fields_types_and_names
|
||
error(self.c, "POST", "/api/v1/users", 400, "invalid_request", body=body)
|
||
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 51, in error
|
||
response = c.call(method, path, status, **kwargs)
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/tests/client.py", line 125, in call
|
||
raise Failure(method + ' ' + path.split('?')[0] + ': connection/TLS failure (' + type(exc).__name__ + ')') from None
|
||
client.Failure: POST /api/v1/users: connection/TLS failure (RemoteDisconnected)
|
||
|
||
======================================================================
|
||
FAIL: test_registration_required_fields_types_and_names (__main__.AuthContract.test_registration_required_fields_types_and_names) (field='password', case='null')
|
||
----------------------------------------------------------------------
|
||
Traceback (most recent call last):
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 137, in test_registration_required_fields_types_and_names
|
||
error(self.c, "POST", "/api/v1/users", 400, "invalid_request", body=body)
|
||
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 51, in error
|
||
response = c.call(method, path, status, **kwargs)
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/tests/client.py", line 125, in call
|
||
raise Failure(method + ' ' + path.split('?')[0] + ': connection/TLS failure (' + type(exc).__name__ + ')') from None
|
||
client.Failure: POST /api/v1/users: connection/TLS failure (RemoteDisconnected)
|
||
|
||
======================================================================
|
||
FAIL: test_registration_required_fields_types_and_names (__main__.AuthContract.test_registration_required_fields_types_and_names) (field='password', case='integer')
|
||
----------------------------------------------------------------------
|
||
Traceback (most recent call last):
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 137, in test_registration_required_fields_types_and_names
|
||
error(self.c, "POST", "/api/v1/users", 400, "invalid_request", body=body)
|
||
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 51, in error
|
||
response = c.call(method, path, status, **kwargs)
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/tests/client.py", line 125, in call
|
||
raise Failure(method + ' ' + path.split('?')[0] + ': connection/TLS failure (' + type(exc).__name__ + ')') from None
|
||
client.Failure: POST /api/v1/users: connection/TLS failure (RemoteDisconnected)
|
||
|
||
======================================================================
|
||
FAIL: test_registration_required_fields_types_and_names (__main__.AuthContract.test_registration_required_fields_types_and_names) (field='password', case='boolean')
|
||
----------------------------------------------------------------------
|
||
Traceback (most recent call last):
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 137, in test_registration_required_fields_types_and_names
|
||
error(self.c, "POST", "/api/v1/users", 400, "invalid_request", body=body)
|
||
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 51, in error
|
||
response = c.call(method, path, status, **kwargs)
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/tests/client.py", line 125, in call
|
||
raise Failure(method + ' ' + path.split('?')[0] + ': connection/TLS failure (' + type(exc).__name__ + ')') from None
|
||
client.Failure: POST /api/v1/users: connection/TLS failure (URLError)
|
||
|
||
======================================================================
|
||
FAIL: test_registration_required_fields_types_and_names (__main__.AuthContract.test_registration_required_fields_types_and_names) (field='password', case='array')
|
||
----------------------------------------------------------------------
|
||
Traceback (most recent call last):
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 137, in test_registration_required_fields_types_and_names
|
||
error(self.c, "POST", "/api/v1/users", 400, "invalid_request", body=body)
|
||
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 51, in error
|
||
response = c.call(method, path, status, **kwargs)
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/tests/client.py", line 125, in call
|
||
raise Failure(method + ' ' + path.split('?')[0] + ': connection/TLS failure (' + type(exc).__name__ + ')') from None
|
||
client.Failure: POST /api/v1/users: connection/TLS failure (URLError)
|
||
|
||
======================================================================
|
||
FAIL: test_registration_required_fields_types_and_names (__main__.AuthContract.test_registration_required_fields_types_and_names) (field='password', case='object')
|
||
----------------------------------------------------------------------
|
||
Traceback (most recent call last):
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 137, in test_registration_required_fields_types_and_names
|
||
error(self.c, "POST", "/api/v1/users", 400, "invalid_request", body=body)
|
||
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 51, in error
|
||
response = c.call(method, path, status, **kwargs)
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/tests/client.py", line 125, in call
|
||
raise Failure(method + ' ' + path.split('?')[0] + ': connection/TLS failure (' + type(exc).__name__ + ')') from None
|
||
client.Failure: POST /api/v1/users: connection/TLS failure (URLError)
|
||
|
||
======================================================================
|
||
FAIL: test_registration_required_fields_types_and_names (__main__.AuthContract.test_registration_required_fields_types_and_names) (field='password', alias='PASSWORD', extra=False)
|
||
----------------------------------------------------------------------
|
||
Traceback (most recent call last):
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 143, in test_registration_required_fields_types_and_names
|
||
error(self.c, "POST", "/api/v1/users", 400, "invalid_request", body=body)
|
||
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 51, in error
|
||
response = c.call(method, path, status, **kwargs)
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/tests/client.py", line 125, in call
|
||
raise Failure(method + ' ' + path.split('?')[0] + ': connection/TLS failure (' + type(exc).__name__ + ')') from None
|
||
client.Failure: POST /api/v1/users: connection/TLS failure (URLError)
|
||
|
||
======================================================================
|
||
FAIL: test_registration_required_fields_types_and_names (__main__.AuthContract.test_registration_required_fields_types_and_names) (field='password', alias='PASSWORD', extra=True)
|
||
----------------------------------------------------------------------
|
||
Traceback (most recent call last):
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 143, in test_registration_required_fields_types_and_names
|
||
error(self.c, "POST", "/api/v1/users", 400, "invalid_request", body=body)
|
||
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 51, in error
|
||
response = c.call(method, path, status, **kwargs)
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/tests/client.py", line 125, in call
|
||
raise Failure(method + ' ' + path.split('?')[0] + ': connection/TLS failure (' + type(exc).__name__ + ')') from None
|
||
client.Failure: POST /api/v1/users: connection/TLS failure (URLError)
|
||
|
||
======================================================================
|
||
FAIL: test_registration_required_fields_types_and_names (__main__.AuthContract.test_registration_required_fields_types_and_names) (field='password', alias='Password', extra=False)
|
||
----------------------------------------------------------------------
|
||
Traceback (most recent call last):
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 143, in test_registration_required_fields_types_and_names
|
||
error(self.c, "POST", "/api/v1/users", 400, "invalid_request", body=body)
|
||
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 51, in error
|
||
response = c.call(method, path, status, **kwargs)
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/tests/client.py", line 125, in call
|
||
raise Failure(method + ' ' + path.split('?')[0] + ': connection/TLS failure (' + type(exc).__name__ + ')') from None
|
||
client.Failure: POST /api/v1/users: connection/TLS failure (URLError)
|
||
|
||
======================================================================
|
||
FAIL: test_registration_required_fields_types_and_names (__main__.AuthContract.test_registration_required_fields_types_and_names) (field='password', alias='Password', extra=True)
|
||
----------------------------------------------------------------------
|
||
Traceback (most recent call last):
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 143, in test_registration_required_fields_types_and_names
|
||
error(self.c, "POST", "/api/v1/users", 400, "invalid_request", body=body)
|
||
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 51, in error
|
||
response = c.call(method, path, status, **kwargs)
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/tests/client.py", line 125, in call
|
||
raise Failure(method + ' ' + path.split('?')[0] + ': connection/TLS failure (' + type(exc).__name__ + ')') from None
|
||
client.Failure: POST /api/v1/users: connection/TLS failure (URLError)
|
||
|
||
======================================================================
|
||
FAIL: test_registration_required_fields_types_and_names (__main__.AuthContract.test_registration_required_fields_types_and_names) (root_type='NoneType')
|
||
----------------------------------------------------------------------
|
||
Traceback (most recent call last):
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 146, in test_registration_required_fields_types_and_names
|
||
error(self.c, "POST", "/api/v1/users", 400, "invalid_request",
|
||
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
raw=json.dumps(root).encode(), headers={"Content-Type": "application/json"})
|
||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 51, in error
|
||
response = c.call(method, path, status, **kwargs)
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/tests/client.py", line 125, in call
|
||
raise Failure(method + ' ' + path.split('?')[0] + ': connection/TLS failure (' + type(exc).__name__ + ')') from None
|
||
client.Failure: POST /api/v1/users: connection/TLS failure (URLError)
|
||
|
||
======================================================================
|
||
FAIL: test_registration_required_fields_types_and_names (__main__.AuthContract.test_registration_required_fields_types_and_names) (root_type='bool')
|
||
----------------------------------------------------------------------
|
||
Traceback (most recent call last):
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 146, in test_registration_required_fields_types_and_names
|
||
error(self.c, "POST", "/api/v1/users", 400, "invalid_request",
|
||
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
raw=json.dumps(root).encode(), headers={"Content-Type": "application/json"})
|
||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 51, in error
|
||
response = c.call(method, path, status, **kwargs)
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/tests/client.py", line 125, in call
|
||
raise Failure(method + ' ' + path.split('?')[0] + ': connection/TLS failure (' + type(exc).__name__ + ')') from None
|
||
client.Failure: POST /api/v1/users: connection/TLS failure (URLError)
|
||
|
||
======================================================================
|
||
FAIL: test_registration_required_fields_types_and_names (__main__.AuthContract.test_registration_required_fields_types_and_names) (root_type='int')
|
||
----------------------------------------------------------------------
|
||
Traceback (most recent call last):
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 146, in test_registration_required_fields_types_and_names
|
||
error(self.c, "POST", "/api/v1/users", 400, "invalid_request",
|
||
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
raw=json.dumps(root).encode(), headers={"Content-Type": "application/json"})
|
||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 51, in error
|
||
response = c.call(method, path, status, **kwargs)
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/tests/client.py", line 125, in call
|
||
raise Failure(method + ' ' + path.split('?')[0] + ': connection/TLS failure (' + type(exc).__name__ + ')') from None
|
||
client.Failure: POST /api/v1/users: connection/TLS failure (URLError)
|
||
|
||
======================================================================
|
||
FAIL: test_registration_required_fields_types_and_names (__main__.AuthContract.test_registration_required_fields_types_and_names) (root_type='str')
|
||
----------------------------------------------------------------------
|
||
Traceback (most recent call last):
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 146, in test_registration_required_fields_types_and_names
|
||
error(self.c, "POST", "/api/v1/users", 400, "invalid_request",
|
||
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
raw=json.dumps(root).encode(), headers={"Content-Type": "application/json"})
|
||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 51, in error
|
||
response = c.call(method, path, status, **kwargs)
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/tests/client.py", line 125, in call
|
||
raise Failure(method + ' ' + path.split('?')[0] + ': connection/TLS failure (' + type(exc).__name__ + ')') from None
|
||
client.Failure: POST /api/v1/users: connection/TLS failure (URLError)
|
||
|
||
======================================================================
|
||
FAIL: test_registration_required_fields_types_and_names (__main__.AuthContract.test_registration_required_fields_types_and_names) (root_type='list')
|
||
----------------------------------------------------------------------
|
||
Traceback (most recent call last):
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 146, in test_registration_required_fields_types_and_names
|
||
error(self.c, "POST", "/api/v1/users", 400, "invalid_request",
|
||
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
raw=json.dumps(root).encode(), headers={"Content-Type": "application/json"})
|
||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 51, in error
|
||
response = c.call(method, path, status, **kwargs)
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/tests/client.py", line 125, in call
|
||
raise Failure(method + ' ' + path.split('?')[0] + ': connection/TLS failure (' + type(exc).__name__ + ')') from None
|
||
client.Failure: POST /api/v1/users: connection/TLS failure (URLError)
|
||
|
||
======================================================================
|
||
FAIL: test_registration_required_fields_types_and_names (__main__.AuthContract.test_registration_required_fields_types_and_names)
|
||
----------------------------------------------------------------------
|
||
Traceback (most recent call last):
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 150, in test_registration_required_fields_types_and_names
|
||
error(self.c, "POST", "/api/v1/users", 400, "invalid_request", body=body)
|
||
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 51, in error
|
||
response = c.call(method, path, status, **kwargs)
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/tests/client.py", line 125, in call
|
||
raise Failure(method + ' ' + path.split('?')[0] + ': connection/TLS failure (' + type(exc).__name__ + ')') from None
|
||
client.Failure: POST /api/v1/users: connection/TLS failure (URLError)
|
||
|
||
======================================================================
|
||
FAIL: test_session_ttl_matches_configuration (__main__.AuthContract.test_session_ttl_matches_configuration)
|
||
----------------------------------------------------------------------
|
||
Traceback (most recent call last):
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 313, in test_session_ttl_matches_configuration
|
||
actor = create_actor(self.c)
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 63, in create_actor
|
||
user = c.call("POST", "/api/v1/users", 201, body=body, schema="User")["json"]
|
||
~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/tests/client.py", line 125, in call
|
||
raise Failure(method + ' ' + path.split('?')[0] + ': connection/TLS failure (' + type(exc).__name__ + ')') from None
|
||
client.Failure: POST /api/v1/users: connection/TLS failure (URLError)
|
||
|
||
======================================================================
|
||
FAIL: test_tokens_distinct_opaque_and_tamper_rejected (__main__.AuthContract.test_tokens_distinct_opaque_and_tamper_rejected)
|
||
----------------------------------------------------------------------
|
||
Traceback (most recent call last):
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 321, in test_tokens_distinct_opaque_and_tamper_rejected
|
||
actor = create_actor(self.c)
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 63, in create_actor
|
||
user = c.call("POST", "/api/v1/users", 201, body=body, schema="User")["json"]
|
||
~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/tests/client.py", line 125, in call
|
||
raise Failure(method + ' ' + path.split('?')[0] + ': connection/TLS failure (' + type(exc).__name__ + ')') from None
|
||
client.Failure: POST /api/v1/users: connection/TLS failure (URLError)
|
||
|
||
======================================================================
|
||
FAIL: test_username_and_display_name_constraints (__main__.AuthContract.test_username_and_display_name_constraints) (case='username', length=2)
|
||
----------------------------------------------------------------------
|
||
Traceback (most recent call last):
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 180, in test_username_and_display_name_constraints
|
||
error(self.c, "POST", "/api/v1/users", 400, "invalid_request", body=body)
|
||
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 51, in error
|
||
response = c.call(method, path, status, **kwargs)
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/tests/client.py", line 125, in call
|
||
raise Failure(method + ' ' + path.split('?')[0] + ': connection/TLS failure (' + type(exc).__name__ + ')') from None
|
||
client.Failure: POST /api/v1/users: connection/TLS failure (URLError)
|
||
|
||
======================================================================
|
||
FAIL: test_username_and_display_name_constraints (__main__.AuthContract.test_username_and_display_name_constraints) (case='username', length=33)
|
||
----------------------------------------------------------------------
|
||
Traceback (most recent call last):
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 180, in test_username_and_display_name_constraints
|
||
error(self.c, "POST", "/api/v1/users", 400, "invalid_request", body=body)
|
||
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 51, in error
|
||
response = c.call(method, path, status, **kwargs)
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/tests/client.py", line 125, in call
|
||
raise Failure(method + ' ' + path.split('?')[0] + ': connection/TLS failure (' + type(exc).__name__ + ')') from None
|
||
client.Failure: POST /api/v1/users: connection/TLS failure (URLError)
|
||
|
||
======================================================================
|
||
FAIL: test_username_and_display_name_constraints (__main__.AuthContract.test_username_and_display_name_constraints) (case='username', length=3)
|
||
----------------------------------------------------------------------
|
||
Traceback (most recent call last):
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 180, in test_username_and_display_name_constraints
|
||
error(self.c, "POST", "/api/v1/users", 400, "invalid_request", body=body)
|
||
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 51, in error
|
||
response = c.call(method, path, status, **kwargs)
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/tests/client.py", line 125, in call
|
||
raise Failure(method + ' ' + path.split('?')[0] + ': connection/TLS failure (' + type(exc).__name__ + ')') from None
|
||
client.Failure: POST /api/v1/users: connection/TLS failure (URLError)
|
||
|
||
======================================================================
|
||
FAIL: test_username_and_display_name_constraints (__main__.AuthContract.test_username_and_display_name_constraints) (case='username', length=3)
|
||
----------------------------------------------------------------------
|
||
Traceback (most recent call last):
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 180, in test_username_and_display_name_constraints
|
||
error(self.c, "POST", "/api/v1/users", 400, "invalid_request", body=body)
|
||
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 51, in error
|
||
response = c.call(method, path, status, **kwargs)
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/tests/client.py", line 125, in call
|
||
raise Failure(method + ' ' + path.split('?')[0] + ': connection/TLS failure (' + type(exc).__name__ + ')') from None
|
||
client.Failure: POST /api/v1/users: connection/TLS failure (URLError)
|
||
|
||
======================================================================
|
||
FAIL: test_username_and_display_name_constraints (__main__.AuthContract.test_username_and_display_name_constraints) (case='username', length=8)
|
||
----------------------------------------------------------------------
|
||
Traceback (most recent call last):
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 180, in test_username_and_display_name_constraints
|
||
error(self.c, "POST", "/api/v1/users", 400, "invalid_request", body=body)
|
||
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 51, in error
|
||
response = c.call(method, path, status, **kwargs)
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/tests/client.py", line 125, in call
|
||
raise Failure(method + ' ' + path.split('?')[0] + ': connection/TLS failure (' + type(exc).__name__ + ')') from None
|
||
client.Failure: POST /api/v1/users: connection/TLS failure (URLError)
|
||
|
||
======================================================================
|
||
FAIL: test_username_and_display_name_constraints (__main__.AuthContract.test_username_and_display_name_constraints) (case='username', length=8)
|
||
----------------------------------------------------------------------
|
||
Traceback (most recent call last):
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 180, in test_username_and_display_name_constraints
|
||
error(self.c, "POST", "/api/v1/users", 400, "invalid_request", body=body)
|
||
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 51, in error
|
||
response = c.call(method, path, status, **kwargs)
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/tests/client.py", line 125, in call
|
||
raise Failure(method + ' ' + path.split('?')[0] + ': connection/TLS failure (' + type(exc).__name__ + ')') from None
|
||
client.Failure: POST /api/v1/users: connection/TLS failure (URLError)
|
||
|
||
======================================================================
|
||
FAIL: test_username_and_display_name_constraints (__main__.AuthContract.test_username_and_display_name_constraints) (case='username', length=4)
|
||
----------------------------------------------------------------------
|
||
Traceback (most recent call last):
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 180, in test_username_and_display_name_constraints
|
||
error(self.c, "POST", "/api/v1/users", 400, "invalid_request", body=body)
|
||
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 51, in error
|
||
response = c.call(method, path, status, **kwargs)
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/tests/client.py", line 125, in call
|
||
raise Failure(method + ' ' + path.split('?')[0] + ': connection/TLS failure (' + type(exc).__name__ + ')') from None
|
||
client.Failure: POST /api/v1/users: connection/TLS failure (URLError)
|
||
|
||
======================================================================
|
||
FAIL: test_username_and_display_name_constraints (__main__.AuthContract.test_username_and_display_name_constraints) (case='display_name', length=0)
|
||
----------------------------------------------------------------------
|
||
Traceback (most recent call last):
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 185, in test_username_and_display_name_constraints
|
||
error(self.c, "POST", "/api/v1/users", 400, "invalid_request", body=body)
|
||
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 51, in error
|
||
response = c.call(method, path, status, **kwargs)
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/tests/client.py", line 125, in call
|
||
raise Failure(method + ' ' + path.split('?')[0] + ': connection/TLS failure (' + type(exc).__name__ + ')') from None
|
||
client.Failure: POST /api/v1/users: connection/TLS failure (URLError)
|
||
|
||
======================================================================
|
||
FAIL: test_username_and_display_name_constraints (__main__.AuthContract.test_username_and_display_name_constraints) (case='display_name', length=3)
|
||
----------------------------------------------------------------------
|
||
Traceback (most recent call last):
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 185, in test_username_and_display_name_constraints
|
||
error(self.c, "POST", "/api/v1/users", 400, "invalid_request", body=body)
|
||
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 51, in error
|
||
response = c.call(method, path, status, **kwargs)
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/tests/client.py", line 125, in call
|
||
raise Failure(method + ' ' + path.split('?')[0] + ': connection/TLS failure (' + type(exc).__name__ + ')') from None
|
||
client.Failure: POST /api/v1/users: connection/TLS failure (URLError)
|
||
|
||
======================================================================
|
||
FAIL: test_username_and_display_name_constraints (__main__.AuthContract.test_username_and_display_name_constraints) (case='display_name', length=2)
|
||
----------------------------------------------------------------------
|
||
Traceback (most recent call last):
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 185, in test_username_and_display_name_constraints
|
||
error(self.c, "POST", "/api/v1/users", 400, "invalid_request", body=body)
|
||
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 51, in error
|
||
response = c.call(method, path, status, **kwargs)
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/tests/client.py", line 125, in call
|
||
raise Failure(method + ' ' + path.split('?')[0] + ': connection/TLS failure (' + type(exc).__name__ + ')') from None
|
||
client.Failure: POST /api/v1/users: connection/TLS failure (URLError)
|
||
|
||
======================================================================
|
||
FAIL: test_username_and_display_name_constraints (__main__.AuthContract.test_username_and_display_name_constraints) (case='display_name', length=101)
|
||
----------------------------------------------------------------------
|
||
Traceback (most recent call last):
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 185, in test_username_and_display_name_constraints
|
||
error(self.c, "POST", "/api/v1/users", 400, "invalid_request", body=body)
|
||
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 51, in error
|
||
response = c.call(method, path, status, **kwargs)
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/tests/client.py", line 125, in call
|
||
raise Failure(method + ' ' + path.split('?')[0] + ': connection/TLS failure (' + type(exc).__name__ + ')') from None
|
||
client.Failure: POST /api/v1/users: connection/TLS failure (URLError)
|
||
|
||
======================================================================
|
||
FAIL: test_username_and_display_name_constraints (__main__.AuthContract.test_username_and_display_name_constraints) (case='valid_display_name', length=1)
|
||
----------------------------------------------------------------------
|
||
Traceback (most recent call last):
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 190, in test_username_and_display_name_constraints
|
||
user = self.c.call("POST", "/api/v1/users", 201, body=body, schema="User")["json"]
|
||
~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/tests/client.py", line 125, in call
|
||
raise Failure(method + ' ' + path.split('?')[0] + ': connection/TLS failure (' + type(exc).__name__ + ')') from None
|
||
client.Failure: POST /api/v1/users: connection/TLS failure (URLError)
|
||
|
||
======================================================================
|
||
FAIL: test_username_and_display_name_constraints (__main__.AuthContract.test_username_and_display_name_constraints) (case='valid_display_name', length=100)
|
||
----------------------------------------------------------------------
|
||
Traceback (most recent call last):
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 190, in test_username_and_display_name_constraints
|
||
user = self.c.call("POST", "/api/v1/users", 201, body=body, schema="User")["json"]
|
||
~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/tests/client.py", line 125, in call
|
||
raise Failure(method + ' ' + path.split('?')[0] + ': connection/TLS failure (' + type(exc).__name__ + ')') from None
|
||
client.Failure: POST /api/v1/users: connection/TLS failure (URLError)
|
||
|
||
======================================================================
|
||
FAIL: test_username_and_display_name_constraints (__main__.AuthContract.test_username_and_display_name_constraints)
|
||
----------------------------------------------------------------------
|
||
Traceback (most recent call last):
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 194, in test_username_and_display_name_constraints
|
||
user = self.c.call("POST", "/api/v1/users", 201, body=body, schema="User")["json"]
|
||
~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/tests/client.py", line 125, in call
|
||
raise Failure(method + ' ' + path.split('?')[0] + ': connection/TLS failure (' + type(exc).__name__ + ')') from None
|
||
client.Failure: POST /api/v1/users: connection/TLS failure (URLError)
|
||
|
||
======================================================================
|
||
FAIL: test_wrong_credentials_have_same_public_error (__main__.AuthContract.test_wrong_credentials_have_same_public_error)
|
||
----------------------------------------------------------------------
|
||
Traceback (most recent call last):
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 198, in test_wrong_credentials_have_same_public_error
|
||
actor = create_actor(self.c)
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/student-tests/auth_contract.py", line 63, in create_actor
|
||
user = c.call("POST", "/api/v1/users", 201, body=body, schema="User")["json"]
|
||
~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
File "/private/var/folders/29/ynjlk2qn0w36p604jk6_2_180000gn/T/lab2-clone-5dhau3ib/путь с пробелами/HighLoad/tests/client.py", line 125, in call
|
||
raise Failure(method + ' ' + path.split('?')[0] + ': connection/TLS failure (' + type(exc).__name__ + ')') from None
|
||
client.Failure: POST /api/v1/users: connection/TLS failure (URLError)
|
||
|
||
----------------------------------------------------------------------
|
||
Ran 16 tests in 1.244s
|
||
|
||
FAILED (failures=94)
|