betty.test_utils.locale package#

Submodules#

Module contents#

Test utilities for betty.locale.

class betty.test_utils.locale.PotFileTestBase#

Bases: object

A base class for testing that a *.pot file is up to date.

asset_directory() StrPath#

The asset directory path containing the translations that are being tested.

command() str#

The command to suggest the developer runs in case the translations are out of date.

final async test() None#

Test the translations.

async update_translations(output_asset_directory_override: Path, /) None#

Update the translations into the given directory.