summaryrefslogtreecommitdiff
path: root/test/test_summary.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2012-11-10 18:19:25 -0500
committerNed Batchelder <ned@nedbatchelder.com>2012-11-10 18:19:25 -0500
commit5fc7c53a6d94cacf7f7b5fb26013ea28017abbc4 (patch)
tree810adfb449ede6ca20a66eb51ae8770a5fb87c42 /test/test_summary.py
parentbd179654c530a2d20a79104514e4f9e663d33cfe (diff)
downloadpython-coveragepy-5fc7c53a6d94cacf7f7b5fb26013ea28017abbc4.tar.gz
Add in assertNotIn.
Diffstat (limited to 'test/test_summary.py')
-rw-r--r--test/test_summary.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_summary.py b/test/test_summary.py
index fae91ba..d2be95d 100644
--- a/test/test_summary.py
+++ b/test/test_summary.py
@@ -208,8 +208,8 @@ class SummaryTest2(CoverageTest):
report = repout.getvalue().replace('\\', '/')
report = re.sub(r"\s+", " ", report)
- self.assert_("test/modules/pkg1/__init__ 1 0 100%" in report)
- self.assert_("test/modules/pkg2/__init__ 0 0 100%" in report)
+ self.assertIn("test/modules/pkg1/__init__ 1 0 100%", report)
+ self.assertIn("test/modules/pkg2/__init__ 0 0 100%", report)
class ReportingReturnValue(CoverageTest):