Browse Source

assertEquals -> assertEqual

tags/v0.2
Ben Kurtovic 11 years ago
parent
commit
6af2f3b063
1 changed files with 9 additions and 9 deletions
  1. +9
    -9
      tests/test_template.py

+ 9
- 9
tests/test_template.py View File

@@ -172,15 +172,15 @@ class TestTemplate(TreeEqualityTestCase):
self.assertRaises(ValueError, node1.remove, 1)
self.assertRaises(ValueError, node1.remove, "a")
self.assertRaises(ValueError, node2.remove, "1")
self.assertEquals("{{foo}}", node2)
self.assertEquals("{{foo||abc=}}", node3)
self.assertEquals("{{foo||baz}}", node4)
self.assertEquals("{{foo|b=c}}", node5)
self.assertEquals("{{foo| a=|b=c}}", node6)
self.assertEquals("{{foo|1 =|2=c}}", node7)
self.assertEquals("{{foo|2=c}}", node8)
self.assertEquals("{{foo||c}}", node9)
self.assertEquals("{{foo||c}}", node10)
self.assertEqual("{{foo}}", node2)
self.assertEqual("{{foo||abc=}}", node3)
self.assertEqual("{{foo||baz}}", node4)
self.assertEqual("{{foo|b=c}}", node5)
self.assertEqual("{{foo| a=|b=c}}", node6)
self.assertEqual("{{foo|1 =|2=c}}", node7)
self.assertEqual("{{foo|2=c}}", node8)
self.assertEqual("{{foo||c}}", node9)
self.assertEqual("{{foo||c}}", node10)

if __name__ == "__main__":
unittest.main(verbosity=2)

Loading…
Cancel
Save