aio-libs / aio-libs/multidict

[TODO] Replace `tests/gen_pickles.py` with a pytest plugin

Đang mở
#922 13 bình luận 2 reaction 1 người được giao Được @Vizonex nhận Xem trên GitHub
enhancement good first issue Hacktoberfest help wanted
Ngôn ngữ chính
Python
Star
492
Fork
129
Merge trung bình
14 giờ 28 phút
Pull request đã merge (30 ngày)
35

Mô tả

The idea is simple:
* [ ] Make a session-scoped fixture in `tests/conftest.py`
* [ ] Move the logic from `gen_pickles.py` there and generate the pickles in a `tmppath`-provided dir
* [ ] Integrate that into the pickling tests
* [ ] Delete `tests/gen_pickles.py` and the pickle files in the `tests/` dir
* [ ] _Bonus points_: keep pickles in-memory, so they don't hit the disk
* [ ] _Bonus 2_: check if a session fixture is needed and switch to the normal function scope, if not

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.