next-exp/IC

Reorganize, simplify and clean up fixtures

Open

#913 创建于 2024年10月30日

在 GitHub 查看
 (0 评论) (0 反应) (1 负责人)Python (77 fork)auto 404
easygood first issuehelp wantedtesting

仓库指标

Star
 (10 star)
PR 合并指标
 (PR 指标待抓取)

描述

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.

贡献者指南