python-coincidence / coincidence

Helper functions for pytest.

Home Page:https://coincidence.readthedocs.io/en/latest

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Missing test dependency: `pytest-datadir`

mtelka opened this issue · comments

Description

The tests/requirements.txt file is missing the pytest-datadir as test dependency. Without the pytest-datadir installed many tests fails.

Steps to Reproduce

Run coincidence tests without the pytest-datadir installed.

Actual result:

Example of test failure:

  def advanced_data_regression(datadir, original_datadir, request) -> AdvancedDataRegressionFixture:  # noqa: MAN001
E       fixture 'datadir' not found

Expected result:

All tests pass.

Reproduces how often:

Easily reproduced

Version

  • Operating System: OpenIndiana
  • Python: 3.9.19
  • coincidence: 0.6.6

Installation source

PyPI

Other Additional Information:

It looks like the pytest-datadir test dependency is not missing because coincidence depends on pytest-regressions and pytest-regressions depends on pytest-datadir.