diff options
| author | Martin Brochhaus <mbrochh@gmail.com> | 2014-05-19 13:23:45 +0800 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-05-19 07:59:13 -0400 |
| commit | 950b6de16ac2f8135612f2ed5984c090dd8e4dcf (patch) | |
| tree | 111743c752fd84867fb8f77af2c04675a6df8a3d /tests/utils_tests/test_module | |
| parent | bfac6bef833d2520853c88188560b81bc7e3988d (diff) | |
Fixed #20477: Allowed settings.FORMAT_MODULE_PATH to be a list of modules.
Previously the FORMAT_MODULE_PATH setting only accepted one string (dotted
module path).
This is useful when using several reusable third party apps that define new
formats. We can now use them all and we can even override some of the formats
by providing a project-wide format module.
Diffstat (limited to 'tests/utils_tests/test_module')
6 files changed, 4 insertions, 0 deletions
diff --git a/tests/utils_tests/test_module/formats/__init__.py b/tests/utils_tests/test_module/formats/__init__.py new file mode 100644 index 0000000000..6dc04db23d --- /dev/null +++ b/tests/utils_tests/test_module/formats/__init__.py @@ -0,0 +1,4 @@ +""" +Custom format module. Used by tests in ``tests/utils_tests/test_formats.py``. + +""" diff --git a/tests/utils_tests/test_module/formats/en/__init__.py b/tests/utils_tests/test_module/formats/en/__init__.py new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/tests/utils_tests/test_module/formats/en/__init__.py diff --git a/tests/utils_tests/test_module/formats/en/formats.py b/tests/utils_tests/test_module/formats/en/formats.py new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/tests/utils_tests/test_module/formats/en/formats.py diff --git a/tests/utils_tests/test_module/formats2/__init__.py b/tests/utils_tests/test_module/formats2/__init__.py new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/tests/utils_tests/test_module/formats2/__init__.py diff --git a/tests/utils_tests/test_module/formats2/en/__init__.py b/tests/utils_tests/test_module/formats2/en/__init__.py new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/tests/utils_tests/test_module/formats2/en/__init__.py diff --git a/tests/utils_tests/test_module/formats2/en/formats.py b/tests/utils_tests/test_module/formats2/en/formats.py new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/tests/utils_tests/test_module/formats2/en/formats.py |
