1786
1791
result = self._run_test('test_xfail')
1787
1792
self.assertEqual(1, len(result.expectedFailures))
1788
1793
result_content = result.expectedFailures[0][1]
1790
1796
self.assertNotContainsRe(result_content, 'test with expected failure')
1792
1798
def test_unexpected_success_has_log(self):