tests/test-template-engine.t
changeset 36977 ff9cb7067329
parent 36976 e55d80804ace
child 37274 7d3bc1d4e871
--- a/tests/test-template-engine.t	Fri Mar 16 23:59:13 2018 +0900
+++ b/tests/test-template-engine.t	Sat Mar 17 00:06:14 2018 +0900
@@ -16,8 +16,7 @@
   >         props = self._defaults.copy()
   >         props.update(map)
   >         for k, v in props.items():
-  >             if k in (b'templ', b'ctx', b'repo', b'revcache', b'cache',
-  >                      b'troubles'):
+  >             if b'{{%s}}' % k not in tmpl:
   >                 continue
   >             if callable(v) and getattr(v, '_requires', None) is None:
   >                 props = self._resources.copy()