diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2012-11-10 18:19:25 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2012-11-10 18:19:25 -0500 |
commit | 99480be7da89cb82cfff01e5d10a2514546faf39 (patch) | |
tree | 1268826ee7f83571ec20a7074edbb5c19aeb2224 /test/test_summary.py | |
parent | f52b43321aad4c8e50bafbfbe95f1e7e570b4b8d (diff) | |
download | python-coveragepy-git-99480be7da89cb82cfff01e5d10a2514546faf39.tar.gz |
Add in assertNotIn.
Diffstat (limited to 'test/test_summary.py')
-rw-r--r-- | test/test_summary.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_summary.py b/test/test_summary.py index fae91ba5..d2be95d9 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): |