aio-libs / aio-libs/multidict

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

Ouverte
#922 13 commentaires 2 réactions 1 personne assignée Réclamée par @Vizonex Voir sur GitHub
enhancement good first issue Hacktoberfest help wanted
Langage dominant
Python
Étoiles
492
Forks
129
Merge moyen
14 h 28 min
PR mergées (30 j)
35

Description

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

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.