scitacean.testing.backend.seed#

Initial contents of the SciCat testing backend.

The contents of this module are used to initialize the local database before making it available to tests.

Module Attributes

INITIAL_DATASETS

Initial datasets in the testing database.

INITIAL_ORIG_DATABLOCKS

Initial orig datablocks in the testing database.

Functions

save_seed(target_dir)

Save the processed seed to a file.

seed_database(*, client, scicat_access)

Seed the database for testing.

seed_worker(target_dir)

Load the processed seed from a file.