betty.test_utils.locale package¶
Submodules¶
Module contents¶
Test utilities for betty.locale
.
- class betty.test_utils.locale.PotFileTestBase[source]¶
Bases:
object
A base class for testing that a *.pot file is up to date.
- assets_directory_path() Path [source]¶
The assets directory path containing the translations that are being tested.
- class betty.test_utils.locale.ProjectPotFileTestBase[source]¶
Bases:
PotFileTestBase
A base class for testing that an end user’s project’s *.pot file is up to date.
- assets_directory_path() Path [source]¶
The assets directory path containing the translations that are being tested.
- command() str [source]¶
The command to suggest the developer runs in case the translations are out of date.