diff tests/test-template-engine @ 10056:1a114aca93fa

cmdutil: extract file changes closures into templatekw
author Patrick Mezard <pmezard@gmail.com>
date Sun, 13 Dec 2009 18:06:24 +0100
parents e400a511e63a
children babc00a82c5e
line wrap: on
line diff
--- a/tests/test-template-engine	Sun Dec 13 18:06:23 2009 +0100
+++ b/tests/test-template-engine	Sun Dec 13 18:06:24 2009 +0100
@@ -11,7 +11,7 @@
     def process(self, t, map):
         tmpl = self.loader(t)
         for k, v in map.iteritems():
-            if k in ('templ', 'ctx', 'repo'):
+            if k in ('templ', 'ctx', 'repo', 'revcache'):
                 continue
             if hasattr(v, '__call__'):
                 v = v(**map)