Changes between Initial Version and Version 1 of Ticket #23525, comment 6


Ignore:
Timestamp:
11/28/14 02:24:00 (9 years ago)
Author:
Welborn Productions
Comment:

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?
     1To 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?
    22
    33This 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.
Back to Top