Testing¶
Configurations¶
-
conftest.
doctest_filer_example
(doctest_namespace: Dict[str, helpers.filer.Filer], tmp_path: pathlib.Path) → None¶ Fixture for instantiating an example Filer for use in doctests
- Parameters
doctest_namespace (Dict[str, Filer]) – pytest.fixture holding variables to be used in doctests
tmp_path (Path) – pytest.fixture containing a temporary file path
- Returns
None
-
conftest.
tmp_file
(tmp_path: pathlib.Path) → helpers.filer.Filer¶ Fixture for automating setup of files
- Parameters
tmp_path (Path) – pytest.fixture. Where to create the file
- Returns
Path – An instantiated tsv file