Group :: Development/Python3
RPM: python3-module-requests-mock
Principal Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
A versão atual: 1.11.0-alt1
Data da compilação: 8 junho 2023, 16:04 ( 42.0 weeks ago )
Tamanho:: 52.05 Kb
Home page: https://pypi.org/project/requests-mock/
Licença: Apache-2.0
Sumário: Mock out responses from the requests package
Descrição:
Lista dos contribuidores Lista dos rpms provida por esta srpm:
ACL:
Data da compilação: 8 junho 2023, 16:04 ( 42.0 weeks ago )
Tamanho:: 52.05 Kb
Home page: https://pypi.org/project/requests-mock/
Licença: Apache-2.0
Sumário: Mock out responses from the requests package
Descrição:
The requests-mock library at its core is simply a transport adapter that
can be preloaded with responses that are returned if certain URIs are
requested. This is particularly useful in unit tests where you want to
return known responses from HTTP requests without making actual calls.
As the requests library has very limited options for how to load and use
adapters requests-mock also provides a number of ways to make sure the
mock adapter is used. These are only loading mechanisms, they do not
contain any logic and can be used as a reference to load the adapter in
whatever ways works best for your project.
Mantenedor currente: Stanislav Levin can be preloaded with responses that are returned if certain URIs are
requested. This is particularly useful in unit tests where you want to
return known responses from HTTP requests without making actual calls.
As the requests library has very limited options for how to load and use
adapters requests-mock also provides a number of ways to make sure the
mock adapter is used. These are only loading mechanisms, they do not
contain any logic and can be used as a reference to load the adapter in
whatever ways works best for your project.
Lista dos contribuidores Lista dos rpms provida por esta srpm:
- python3-module-requests-mock