adamchainz / time-machine
Travel through time in your tests.
β833Updated this week
Alternatives and similar repositories for time-machine:
Users that are interested in time-machine are comparing it to the libraries listed below
- Mock HTTPX with awesome request patterns and response side effects π¦β681Updated 3 weeks ago
- Import Linter allows you to define and enforce rules for the internal and external imports within your Python project.β758Updated 3 weeks ago
- pytest fixture to mock HTTPXβ401Updated 5 months ago
- factory_boy integration the pytest runnerβ382Updated last month
- A plugin for Flake8 finding likely bugs and design problems in your program. Contains warnings that don't belong in pyflakes and pycodestβ¦β1,088Updated last month
- Pytest plugin to randomly order tests and control random.seedβ657Updated this week
- Dev tools for pythonβ1,022Updated 3 months ago
- Reusable constraint types to use with typing.Annotatedβ547Updated 2 months ago
- Production-grade retries for Pythonβ1,145Updated this week
- Tool for automatically sorting python statements within a moduleβ373Updated 3 months ago
- Run `black` on python code blocks in documentation filesβ662Updated this week
- Rewrites source to reorder python importsβ751Updated last month
- A pytest plugin powered by VCR.py to record and replay HTTP traffic.β498Updated last week
- Composable custom class converters for attrs, dataclasses and friends.β889Updated 3 weeks ago
- Selects tests affected by changed files. Executes the right tests first. Continuous test runner when used with pytest-watch.β874Updated 4 months ago
- A plugin to improve the output of pytest with colourful unified diffsβ444Updated last year
- Doing dirty (but extremely useful) things with equals.β868Updated 3 months ago
- Pytest Plugin to disable socket calls during testsβ310Updated last month
- Mocked responses for the requests libraryβ460Updated 9 months ago
- Apply black reformatting to Python files only in regions changed since a given commit. For a practical usage example, see the blog post aβ¦β653Updated last month
- βοΈ A flake8 plugin to help you write better list/set/dict comprehensions.β468Updated this week
- better error messages for assert equals in pytestβ322Updated 8 months ago
- A Flexible Service Locator for Python.β346Updated 3 weeks ago
- Simple and powerful factories for mock data generationβ1,195Updated this week
- Enforce the same settings on multiple projectsβ402Updated last week
- Pytest plugin to test alembic migrations (with default tests) and which enables you to write tests specific to your migrations.β208Updated 3 weeks ago
- a plugin for py.test that changes the default look and feel of py.test (e.g. progressbar, show tests that fail instantly)β1,387Updated 4 months ago
- The slightly less uncompromising Python code formatter.β401Updated last year
- PyCharm plugin for pydantic. This plugin provides autocompletion, inspection, type-checking, inserting unfilled argument, and more.β492Updated this week
- Implementation of Redis API in python without having a server running. Fully compatible with using redis-py.β336Updated this week