tests-upgrade
All checks were successful
Deploy on push / deploy (push) Successful in 57m1s

This commit is contained in:
2025-09-25 09:40:12 +03:00
parent 1992434a13
commit ac0111cdb9
17 changed files with 766 additions and 363 deletions

View File

@@ -231,7 +231,8 @@ with (
body_content = response.body
if isinstance(body_content, memoryview):
body_content = bytes(body_content)
assert "Invalid or expired OAuth state" in body_content.decode()
response_data = body_content.decode()
assert "oauth_state_expired" in response_data # 🔍 Проверяем новый формат ошибки
@pytest.mark.asyncio
async def test_oauth_callback_missing_state(mock_request):