RUVIDEO
Поделитесь видео 🙏

FastAPI testing | Pytest and TestClient demonstration смотреть онлайн

A demonstration of the FastAPI testing examples and some tips on what aspects of Pytest to look at if you are new to Pytest, and a good book to check out. *Note x-auth-token just happens to feature in the example being tested, it is NOT required in any way to use TestClient with Pytest.

https://fastapi.tiangolo.com/tutorial/testing/
https://fastapi.tiangolo.com/tutorial/testing #extended-testing-file

? Check out these amazing FastAPI courses ?
? https://testdriven.io/courses/tdd-fastapi/?utm_source=python360
? https://testdriven.io/courses/scalable-fastapi-aws/?utm_source=python360
? https://testdriven.io/courses/fastapi-celery/?utm_source=python360

If you want a fast VPS server with Python installed check out :
? https://webdock.io/en?maff=wdaff--170


See also:

Python Testing with pytest,
Second Edition
Simple, Rapid, Effective, and Scalable
by Brian Okken

If you want to learn about fixtures then this is a good link as well:
https://pybit.es/articles/pytest-fixtures/

-- chapters --
00:00 Introduction (x-auth-token)
01:48 import TestClient
04:16 client.get
09:30 Union (pre Python 3.10)
12:45 Other Pytest features to learn if you are starting with Pytest
16:25 Python Testing with pytest

? 10% off ScraperAPI : https://www.scraperapi.com?fpr=ken49
◼️ Coupon Code: DRPI10
(You can also get started with 5000 free API calls. No credit card required.)

? Become a patron ?
? https://www.patreon.com/drpi

Buy Dr Pi a coffee (or Tea)
☕ https://www.buymeacoffee.com/DrPi

Proxies
=================================================
If you need a good, easy to use proxy, I was recommended this one, and having used ScraperAPI for a while I can vouch for them. If you were going to sign up anyway, then maybe you would be kind enough to use the link and the coupon code below?

You can also do a full working trial first as well, (unlike some other companies). The trial doesn't ask for any payment details either so all good! ?

? 10% off ScraperAPI : https://www.scraperapi.com?fpr=ken49
◼️ Coupon Code: DRPI10

Thumbs up yeah? (cos Algos..)

#pytest #fastapi #python

Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «FastAPI testing | Pytest and TestClient demonstration» бесплатно и без регистрации, вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.

Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.

Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!

Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.