# This adds the --generate option.
# pylint: disable=invalid-name
pytest_plugins = "beancount.ingest.regression_pytest"
E AssertionError: Expected file '/Users/me/example_beancount/importers/utrade/.pytest_cache/.gitignore.file_name' is missing. Generate it?
E assert False
E + where False = <function exists at 0x109713048>('/Users/me/example_beancount/importers/utrade/.pytest_cache/.gitignore.file_name')
E + where <function exists at 0x109713048> = path.exists
___________________________________________________________________ ERROR collecting test session ____________________________________________________________________
Defining 'pytest_plugins' in a non-top-level conftest is no longer supported:
It affects the entire test suite instead of just below the conftest as expected.
/Users/me/beancount/examples/ingest/office/importers/conftest.py
Please move it to a top level conftest file at the rootdir:
None
For more information, visit:
https://docs.pytest.org/en/latest/deprecations.html#pytest-plugins-in-non-top-level-conftest-files