diff options
Diffstat (limited to 'src/Tests/Template.py')
-rw-r--r-- | src/Tests/Template.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Tests/Template.py b/src/Tests/Template.py index 06f9768..085180d 100644 --- a/src/Tests/Template.py +++ b/src/Tests/Template.py @@ -338,7 +338,9 @@ class MultipleInheritanceSupport(TemplateTest): #return [4,5] + $boink() #end def ''' - template = Template.compile(template) + template = Template.compile(template, + moduleGlobals={'Useless' : Useless}, + compilerSettings={'autoImportForExtendsDirective' : False}) template = template() result = template.foo() print result |