Debian Codegraph @

debian/control

raw
1 Source: pytest-httpx
2 Maintainer: Debian Python Team <[email protected]>
3 Uploaders:
4 Edward Betts <[email protected]>,
5 Section: python
6 Build-Depends:
7 debhelper-compat (= 13),
8 dh-sequence-python3,
9 pybuild-plugin-pyproject,
10 python3-all,
11 python3-setuptools,
12 Build-Depends-Indep:
13 python3-httpx (>= 0.28) <!nocheck>,
14 python3-pytest <!nocheck>,
15 python3-pytest-asyncio <!nocheck>,
16 Standards-Version: 4.7.3
17 Homepage: https://github.com/Colin-b/pytest_httpx
18 Vcs-Browser: https://salsa.debian.org/python-team/packages/pytest-httpx
19 Vcs-Git: https://salsa.debian.org/python-team/packages/pytest-httpx.git
20 Testsuite: autopkgtest-pkg-pybuild
21
22 Package: python3-pytest-httpx
23 Architecture: all
24 Depends:
25 ${misc:Depends},
26 ${python3:Depends},
27 Description: Intercept and mock HTTPX requests in pytest
28 Provides an `httpx_mock` fixture for the pytest framework. This fixture allows
29 you to intercept and mock HTTP requests made using the HTTPX library. It
30 supports both synchronous and asynchronous HTTPX requests, enabling you to
31 define custom responses, including JSON bodies, headers, status codes, and
32 more.
33 .
34 This library is useful for testing scenarios where making actual network calls
35 is not feasible or desired. You can simulate various HTTP responses and
36 conditions, ensuring your code handles them correctly. Additionally,
37 pytest-httpx supports dynamic responses via callbacks, request verification,
38 and partial mocking, allowing specific requests to go through unmocked.
39 .
40 Ideal for developers needing to test HTTP interactions in their applications
41 without relying on external services.