test Package

test Package

domaintest Module

Base module to be used by all domain test modules

class stoqlib.domain.test.domaintest.ReadOnlyStore(database, real_store)[source]

Bases: stoqlib.database.runtime.StoqlibStore

Wraps a normal store but doesn’t actually modify it, commit/rollback/close etc are no-ops

class stoqlib.domain.test.domaintest.FakeNamespace[source]

Bases: object

Commonly used mock objects goes in here