equal
deleted
inserted
replaced
18 ) |
18 ) |
19 |
19 |
20 |
20 |
21 def test_simple_failure(self): |
21 def test_simple_failure(self): |
22 js_tests = list(self._test_qunit(js('test_simple_failure.js'))) |
22 js_tests = list(self._test_qunit(js('test_simple_failure.js'))) |
23 self.assertEquals(len(js_tests), 3) |
23 self.assertEqual(len(js_tests), 3) |
24 test_1, test_2, test_3 = js_tests |
24 test_1, test_2, test_3 = js_tests |
25 self.assertRaises(self.failureException, test_1[0], *test_1[1:]) |
25 self.assertRaises(self.failureException, test_1[0], *test_1[1:]) |
26 self.assertRaises(self.failureException, test_2[0], *test_2[1:]) |
26 self.assertRaises(self.failureException, test_2[0], *test_2[1:]) |
27 test_3[0](*test_3[1:]) |
27 test_3[0](*test_3[1:]) |
28 |
28 |