-
-
Notifications
You must be signed in to change notification settings - Fork 8.4k
🌐 Add Russian translation for docs/ru/docs/advanced/async-tests.md
#13227
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🌐 Add Russian translation for docs/ru/docs/advanced/async-tests.md
#13227
Conversation
|
📝 Docs preview for commit e8e9448 at: https://a70075dd.fastapitiangolo.pages.dev Modified Pages |
|
@alv2017 @gitgernit @alejsdev Добрый день! Сделайте, пожалуйста, ревью на перевод |
Co-authored-by: alv2017 <v.alishauskaite@gmail.com>
|
📝 Docs preview for commit 6b9d0bf at: https://4befc184.fastapitiangolo.pages.dev Modified Pages |
Co-authored-by: alv2017 <v.alishauskaite@gmail.com>
Co-authored-by: alv2017 <v.alishauskaite@gmail.com>
Co-authored-by: alv2017 <v.alishauskaite@gmail.com>
|
📝 Docs preview for commit e9eb496 at: https://212d0185.fastapitiangolo.pages.dev Modified Pages |
|
📝 Docs preview for commit 5eb7311 at: https://66761d23.fastapitiangolo.pages.dev Modified Pages |
docs/ru/docs/advanced/async-tests.md
|
@gitgernit, @AlertRED, @Xewus, @andreygaag, @anklav24 , @Yarous Ребят, сделайте ревью пожалуйста, поддержите новенького! 😃 @gitgernit, @Yarous 😄 👍 |
Co-authored-by: Yaroslav Luchinsky <61277193+Yarous@users.noreply.github.com>
|
📝 Docs preview for commit d118c74 at: https://152f6de9.fastapitiangolo.pages.dev Modified Pages |
There was a problem hiding this 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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Какая-то устаревшая информация. Не нужно как-то специально помечать асинхронные тесты...
There was a problem hiding this comment.
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 это одна из опций.
|
Thanks for your help! @Rishat-F 🚀 |
No description provided.