DatastoreMock

class lsst.daf.butler.tests.DatastoreMock

Bases: object

Mocks a butler datastore.

Has functions that mock the datastore in a butler. Provides an apply function to replace the relevent butler datastore functions with the mock functions.

Methods Summary

apply(butler) Apply datastore mocks to a butler.

Methods Documentation

static apply(butler: lsst.daf.butler._butler.Butler) → None

Apply datastore mocks to a butler.