get_original_name

lsst.pipe.base.tests.mocks.get_original_name(mock: str) str

Return the name of the original storage class, dataset type, or task label that corresponds to the given mock name.

Parameters:
mockstr

The mocked name.

Returns:
originalstr

The original name.