Unverified Commit 9e474c3c authored by Philip Meier's avatar Philip Meier Committed by GitHub
Browse files

Add explanation for injected fake data in dataset tests (#3576)

parent d0abd1f3
......@@ -266,6 +266,10 @@ class DatasetTestCase(unittest.TestCase):
def inject_fake_data(self, tmpdir: str, config: Dict[str, Any]) -> Union[int, Dict[str, Any]]:
"""Inject fake data for dataset into a temporary directory.
During the creation of the dataset the download and extract logic is disabled. Thus, the fake data injected
here needs to resemble the raw data, i.e. the state of the dataset directly after the files are downloaded and
potentially extracted.
Args:
tmpdir (str): Path to a temporary directory. For most cases this acts as root directory for the dataset
to be created and in turn also for the fake data injected here.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment