[py-svn] pytest-coverage commit de6277ef78cf: make the test actually minimally check that the report contains the test function

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Wed Feb 10 21:06:53 CET 2010


# HG changeset patch -- Bitbucket.org
# Project pytest-coverage
# URL http://bitbucket.org/prologic/pytest-coverage/overview/
# User holger krekel <holger at merlinux.eu>
# Date 1265832400 -3600
# Node ID de6277ef78cf755f600c03ce485bf28ca97778a3
# Parent 3a8184250a7f416f46fd1f133feceeb8538d48a4
make the test actually minimally check that the report contains the test function

--- a/test_pytest_coverage.py
+++ b/test_pytest_coverage.py
@@ -16,6 +16,7 @@ def test_functional(testdir):
     assert result.ret == 0
     assert result.stdout.fnmatch_lines([
         '*Processing Coverage*',
+        'test_functional*4*3*75%*',
     ])
 
 def test_coverage_is_not_imported(testdir):



More information about the pytest-commit mailing list