• David Runge's avatar
    Add fixture helper for json files · 3b9c7b5a
    David Runge authored
    tests/fixtures.py:
    Add `create_empty_json_files()` which creates a set of empty .json files
    in a temporary directory and can be used by fixtures (which remove the
    temporary directory afterwards).
    Add `create_json_files()` which creates a set of valid JSON files in a
    temporary directory using the `models.OutputPackageBase` model.
    3b9c7b5a
fixtures.py 2.15 KB