Responses is a Python mocking library designed to intercept outgoing HTTP calls made with the Requests library to return predefined simulated responses. It functions as a request verification framework and a network simulation tool, allowing for the verification of application behavior against various API response patterns without making real network calls. The project distinguishes itself through a traffic recorder that captures real network interactions and saves them to files for deterministic replay. It further enables the simulation of complex network scenarios, including the triggering
Automatically mock your HTTP interactions to simplify and speed up testing
a socket mock framework - for all kinds of socket animals, web-clients included
Freezegun is a Python time mocking library and system clock emulator used to freeze the system clock to a fixed date and time. It serves as a testing utility to ensure that time-dependent logic produces consistent and predictable results during software verification. The library provides an asyncio compatible mock that preserves real monotonic clock values to prevent event loops from hanging while other system time functions remain frozen. It supports simulating the passage of time through manual clock advancement, jumping to designated dates, or using a ticking clock simulation that incremen
A mocking library for requests
Las características principales de patrys/httmock son: Mocking Libraries.
Las alternativas de código abierto para patrys/httmock incluyen: getsentry/responses — Responses is a Python mocking library designed to intercept outgoing HTTP calls made with the Requests library to… kevin1024/vcrpy — Automatically mock your HTTP interactions to simplify and speed up testing. mindflayer/python-mocket — a socket mock framework - for all kinds of socket animals, web-clients included. spulec/freezegun — Freezegun is a Python time mocking library and system clock emulator used to freeze the system clock to a fixed date…