From 85b0a4d3985481ac6a6467d9397dca72fbbca66c Mon Sep 17 00:00:00 2001 From: myint Date: Sun, 9 Sep 2012 14:05:38 -0700 Subject: [PATCH] Generalize HTML check a bit --- htmlreport/test_htmlreport.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/htmlreport/test_htmlreport.py b/htmlreport/test_htmlreport.py index 5cfff8279..f8042ce73 100755 --- a/htmlreport/test_htmlreport.py +++ b/htmlreport/test_htmlreport.py @@ -27,7 +27,7 @@ class TestHTMLReport(unittest.TestCase): with runCheck(os.path.join( ROOT_DIR, 'samples', 'memleak', 'bad.c')) as (report, output_directory): - self.assertIn('', report) + self.assertIn('', detail_contents) + self.assertIn('', report) + self.assertIn('