|
@@ -404,13 +404,13 @@ class TestTemplate(TreeEqualityTestCase): |
|
|
self.assertRaises(ValueError, node2.remove, "1") |
|
|
self.assertRaises(ValueError, node2.remove, "1") |
|
|
self.assertEqual("{{foo}}", node2) |
|
|
self.assertEqual("{{foo}}", node2) |
|
|
self.assertEqual("{{foo||abc=}}", node3) |
|
|
self.assertEqual("{{foo||abc=}}", node3) |
|
|
self.assertEqual("{{foo||baz}}", node4) |
|
|
|
|
|
|
|
|
self.assertEqual("{{foo|2=baz}}", node4) |
|
|
self.assertEqual("{{foo|b=c}}", node5) |
|
|
self.assertEqual("{{foo|b=c}}", node5) |
|
|
self.assertEqual("{{foo| a=|b=c}}", node6) |
|
|
self.assertEqual("{{foo| a=|b=c}}", node6) |
|
|
self.assertEqual("{{foo|1 =|2=c}}", node7) |
|
|
self.assertEqual("{{foo|1 =|2=c}}", node7) |
|
|
self.assertEqual("{{foo|2=c}}", node8) |
|
|
self.assertEqual("{{foo|2=c}}", node8) |
|
|
self.assertEqual("{{foo||c}}", node9) |
|
|
self.assertEqual("{{foo||c}}", node9) |
|
|
self.assertEqual("{{foo||c}}", node10) |
|
|
|
|
|
|
|
|
self.assertEqual("{{foo|2=c}}", node10) |
|
|
self.assertEqual("{{foo|b=c|a =d}}", node11) |
|
|
self.assertEqual("{{foo|b=c|a =d}}", node11) |
|
|
self.assertEqual("{{foo| a=|b=c|a =d}}", node12) |
|
|
self.assertEqual("{{foo| a=|b=c|a =d}}", node12) |
|
|
self.assertEqual("{{foo| a=b|a =d}}", node13) |
|
|
self.assertEqual("{{foo| a=b|a =d}}", node13) |
|
@@ -419,7 +419,7 @@ class TestTemplate(TreeEqualityTestCase): |
|
|
self.assertEqual("{{foo| a=b|b=c|a =}}", node16) |
|
|
self.assertEqual("{{foo| a=b|b=c|a =}}", node16) |
|
|
self.assertEqual("{{foo|b|c}}", node17) |
|
|
self.assertEqual("{{foo|b|c}}", node17) |
|
|
self.assertEqual("{{foo|1 =|b|c}}", node18) |
|
|
self.assertEqual("{{foo|1 =|b|c}}", node18) |
|
|
self.assertEqual("{{foo|1 =a||c}}", node19) |
|
|
|
|
|
|
|
|
self.assertEqual("{{foo|1 =a|2=c}}", node19) |
|
|
self.assertEqual("{{foo|1 =a||c}}", node20) |
|
|
self.assertEqual("{{foo|1 =a||c}}", node20) |
|
|
self.assertEqual("{{foo|c=d|e=f}}", node21) |
|
|
self.assertEqual("{{foo|c=d|e=f}}", node21) |
|
|
self.assertEqual("{{foo|a=|c=d|e=f}}", node22) |
|
|
self.assertEqual("{{foo|a=|c=d|e=f}}", node22) |
|
|