Hide navigation sidebar
Hide table of contents sidebar
Skip to content
Back to top
View this page
Toggle table of contents sidebar

# betty.test_utils.model package

## Submodules

- betty.test_utils.model.event_type module
  - `DummyEventType`
  - `EventTypeTestBase`

## Module contents

Test utilities for `betty.model`.

class betty.test_utils.model.DummyEntity

  Bases: `DummyPlugin`, `Entity`

  A dummy plugin implementation.

  classmethod plugin_label_plural() → Localizable

    The human-readable entity type label, plural.

class betty.test_utils.model.EntityTestBase

  Bases: `PluginTestBase`[`Entity`]

  A base class for testing `betty.plugin.Plugin` implementations.

  async test_plugin_label_plural() → None

    Tests `betty.plugin.Plugin.plugin_label_plural()` implementations.