next-exp/IC

Reorganize, simplify and clean up fixtures

Open

#913 aberto em 30 de out. de 2024

Ver no GitHub
 (0 comments) (0 reactions) (1 assignee)Python (77 forks)auto 404
easygood first issuehelp wantedtesting

Métricas do repositório

Stars
 (10 stars)
Métricas de merge de PR
 (Métricas PR pendentes)

Description

We use many fixtures. Most of them are thrown into invisible_cities/conftest.py without thinking much. Let's reorganize them following the following logic:

  • If they are used only in one file, move them to that file
  • If they are used only in one folder, move them to the conftest.py file in that folder
  • Otherwise, keep them in invisible_cities/conftest.py

Moreover, some of those fixtures are monstrous. Let's try to simplify them or replace them with test files whenever possible to keep things readable.

Guia do colaborador