generate_test_frontends.py

View code on Github

Functionality to copy the test frontend files from the package to the present working directory.

i18n_check.cli.generate_test_frontends.get_test_frontend_config_file_text() str[source]

Return the text for the configuration file for the i18n-check test frontends.

Returns:
str

The text for the configuration file for the i18n-check test frontends.

i18n_check.cli.generate_test_frontends.write_test_frontends_config_file(config_file_name: str) None[source]

Write a YAML configuration file for the i18n-check test frontends.

Parameters:
config_file_namestr

The name for the i18n-check configuration file.

Returns:
None

The contents of a configuration file are written to match the test frontends.

i18n_check.cli.generate_test_frontends.generate_test_frontends() None[source]

Copy the i18n_check/test_frontends directory to the present working directory.