Moves the Redis testcontainer helper classes into tests/integration/conftest.py and removes the misleading redis_container_test.py module.
Inlines _RedisPingWaitStrategy, RedisTestContainer, and REDIS_PORT next to the redis_container fixture that uses them
Removes the collect_ignore workaround that was only needed because the helper lived in a *_test.py file with no tests
Test plan
uv run pytest tests/integration/ --collect-only -q
Pre-commit hooks passed on commit (ruff, mypy, pyupgrade)
## Summary
Moves the Redis testcontainer helper classes into `tests/integration/conftest.py` and removes the misleading `redis_container_test.py` module.
- Inlines `_RedisPingWaitStrategy`, `RedisTestContainer`, and `REDIS_PORT` next to the `redis_container` fixture that uses them
- Removes the `collect_ignore` workaround that was only needed because the helper lived in a `*_test.py` file with no tests
## Test plan
- [x] `uv run pytest tests/integration/ --collect-only -q`
- [x] Pre-commit hooks passed on commit (`ruff`, `mypy`, `pyupgrade`)
Colocate RedisTestContainer with the fixtures that use it and remove the misleading redis_container_test module plus collect_ignore workaround.
Co-authored-by: Cursor <[email protected]>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
Moves the Redis testcontainer helper classes into
tests/integration/conftest.pyand removes the misleadingredis_container_test.pymodule._RedisPingWaitStrategy,RedisTestContainer, andREDIS_PORTnext to theredis_containerfixture that uses themcollect_ignoreworkaround that was only needed because the helper lived in a*_test.pyfile with no testsTest plan
uv run pytest tests/integration/ --collect-only -qruff,mypy,pyupgrade)Test Coverage Report: