MockData
Custom mock data: the SDK reports a signed-in supporter with exactly these contributions.
On this page
Class in sponsorkit.mock.
from sponsorkit import MockDataAlso importable from sponsorkit.mock.
@dataclass(frozen=True)
class MockData:
...Custom mock data: the SDK reports a signed-in supporter with exactly these contributions.
Constructor#
MockData(contributions: tuple[Contribution, ...]) -> NoneInstances are immutable; every field below is a constructor parameter.
Fields#
contributions#
contributions: tuple[Contribution, ...]The contributions mock mode reports for a signed-in supporter.