Пакет: python3-pytest-httpx (0.35.0-1)
Връзки за python3-pytest-httpx
Ресурси за Debian:
- Доклади за грешки
- Developer Information
- Журнал на промените в Debian
- Авторски права
- Управление на кръпките в Debian
Изтегляне на пакет-източник pytest-httpx.
Отговорници:
Външни препратки:
- Начална страница [github.com]
Подобни пакети:
Intercept and mock HTTPX requests in pytest
Provides an `httpx_mock` fixture for the pytest framework. This fixture allows you to intercept and mock HTTP requests made using the HTTPX library. It supports both synchronous and asynchronous HTTPX requests, enabling you to define custom responses, including JSON bodies, headers, status codes, and more.
This library is useful for testing scenarios where making actual network calls is not feasible or desired. You can simulate various HTTP responses and conditions, ensuring your code handles them correctly. Additionally, pytest-httpx supports dynamic responses via callbacks, request verification, and partial mocking, allowing specific requests to go through unmocked.
Ideal for developers needing to test HTTP interactions in their applications without relying on external services.
Други пакети, свързани с python3-pytest-httpx
|
|
|
|
-
- dep: python3
- interactive high-level object-oriented language (default python3 version)
-
- dep: python3-httpx (>= 0.28)
- next generation HTTP client
-
- dep: python3-pytest
- Simple, powerful testing in Python3
Изтегляне на python3-pytest-httpx
Архитектура | Големина на пакета | Големина след инсталиране | Файлове |
---|---|---|---|
all | 29,5 кБ | 105,0 кБ | [списък на файловете] |