8000 🌐 Add Russian translation for `docs/ru/docs/advanced/async-tests.md` by Rishat-F · Pull Request #13227 · fastapi/fastapi · GitHub 8000
[go: up one dir, main page]

Skip to content

Conversation

@Rishat-F
Copy link
Contributor

No description provided.

@github-actions github-actions bot added the lang-all Translations label Jan 18, 2025
@github-actions
Copy link
Contributor

@Rishat-F
Copy link
Contributor Author

@alv2017 @gitgernit @alejsdev Добрый день! Сделайте, пожалуйста, ревью на перевод

Co-authored-by: alv2017 <v.alishauskaite@gmail.com>
@github-actions
Copy link
Contributor

Rishat-F and others added 3 commits January 18, 2025 16:25
Co-authored-by: alv2017 <v.alishauskaite@gmail.com>
Co-authored-by: alv2017 <v.alishauskaite@gmail.com>
Co-authored-by: alv2017 <v.alishauskaite@gmail.com>
@github-actions
Copy link
Contributor

@Rishat-F Rishat-F requested a review from alv2017 January 18, 2025 13:35
@github-actions
Copy link
Contributor

📝 Docs preview for commit 5eb7311 at: https://66761d23.fastapitiangolo.pages.dev

Modified Pages

@alejsdev alejsdev changed the title 🌐 Add Russian translation for docs/ru/docs/advanced/async-tests.md 🌐 Add Russian translation for docs/ru/docs/advanced/async-tests.md Jan 18, 2025
@alejsdev alejsdev added lang-ru Russian translations approved-1 labels Jan 18, 2025
@alv2017
Copy link
Contributor
alv2017 commented Jan 23, 2025

@gitgernit, @AlertRED, @Xewus, @andreygaag, @anklav24 , @Yarous

Ребят, сделайте ревью пожалуйста, поддержите новенького! 😃

@gitgernit, @Yarous 😄 👍

Co-authored-by: Yaroslav Luchinsky <61277193+Yarous@users.noreply.github.com>
@github-actions
Copy link
Contributor

Copy link
Contributor
@gitgernit gitgernit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Спасибо :3


Давайте рассмотрим, как мы можем это реализовать.

## pytest.mark.anyio
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Какая-то устаревшая информация. Не нужно как-то специально помечать асинхронные тесты...

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Если асинхронные тесты не помечать, то они будут пропускаться:

PytestUnhandledCoroutineWarning: async def functions are not natively supported and have been skipped.
  You need to install a suitable plugin for your async framework, for example:
    - anyio
    - pytest-asyncio
    - pytest-tornasync
    - pytest-trio
    - pytest-twisted
    warnings.warn(PytestUnhandledCoroutineWarning(msg.format(nodeid)))

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html

Pytest не поддерживает выполнение асинхронных тестов. Для поддержки асинхронных тестов нужно устанавливать доп. плагины (см. выше), под каждый плагин нужны свои настройки. Для anyio это одна из опций.

@alejsdev
Copy link
Member

Thanks for your help! @Rishat-F 🚀
And thanks to everyone for the contribution ✨ 💯

@alejsdev alejsdev merged commit 24eb8ee into fastapi:master Jan 27, 2025
56 checks passed
628C
@Rishat-F Rishat-F deleted the translate-lang-ru-async-tests branch January 29, 2025 09:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved-2 lang-all Translations lang-ru Russian translations

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

0