mockslurm.process_db.find_db_file

mockslurm.process_db.find_db_file() Path[source]

Return a path to the location of the mock database hdf5 file.

The database file location is searched among various locations typically available.

Returns:

Path to the mock database hdf5 file.

Return type:

Path

Raises:

FileNotFoundError – If a suitable location for the database file could not be found.