Changes between Initial Version and Version 1 of Ticket #23525, comment 6
- Timestamp:
- 11/28/14 02:24:00 (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #23525, comment 6
initial v1 1 To be honest I'm not sure how I would test for this. The function has no arguments. It depends on `template.get_templatetags_modules()` to gather module names, import them, determine the directory for each module, and list the directory contents. How could I introduce a module with no `__file__` to test with?1 To be honest I'm not sure how I would test for this. The function has no arguments. It depends on `template.get_templatetags_modules()` to gather module names, import them, determine the directory for each module, and list the directory contents. How would I introduce a module with no `__file__` to test with? 2 2 3 3 This patch doesn't change the way template libraries are loaded. It just lets it fail with a little more grace. If anyone knows how I might go about testing this I would be glad to put in the work.