Fixed a broken unittest and fixed a bug that required multiple tests to be put into parentheses for chaning.
--HG--
branch : trunk
diff --git a/tests/test_various.py b/tests/test_various.py
index 535b97c..36f039a 100644
--- a/tests/test_various.py
+++ b/tests/test_various.py
@@ -67,7 +67,7 @@
for env in Environment(), SandboxedEnvironment():
tmpl = env.from_string('{{ foo.items() }}')
assert tmpl.render(foo={'items': 42}) == "[('items', 42)]"
- tmpl = env.from_string('{{ foo|attr("items") }}')
+ tmpl = env.from_string('{{ foo|attr("items")() }}')
assert tmpl.render(foo={'items': 42}) == "[('items', 42)]"
tmpl = env.from_string('{{ foo["items"] }}')
assert tmpl.render(foo={'items': 42}) == '42'