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


Ignore:
Timestamp:
Nov 27, 2014, 8:24:00 PM (10 years ago)
Author:
Welborn Productions

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