Anonymous avatar Anonymous committed a2bf4ef

Update tests to match coverage output.

Previously for some reason coverage was reporting the number of missed
lines in the exec column. This now appears fixed and number of exec
lines is reported in the exec column.

Comments (0)

Files changed (2)

 import setuptools
 
 setuptools.setup(name='pytest-cov',
-                 version='0.13',
+                 version='0.14',
                  description='py.test plugin for coverage reporting with support for both centralised and distributed testing',
                  long_description=open('README.txt').read().strip(),
                  author='Meme Dough',

test_pytest_cov.py

                                '--cov=%s' % script.purebasename)
     result.stdout.fnmatch_lines([
             '*- coverage: platform *, python * -*',
-            'test_central * 18 * 5 * 72% *',
+            'test_central * 18 * 13 * 72% *',
             '*10 passed*'
             ])
     assert result.ret == 0
                                '--cov=%s' % script.purebasename)
     result.stdout.fnmatch_lines([
             '*- coverage: platform *, python * -*',
-            'test_module_selection * 3 * 0 * 100% *',
+            'test_module_selection * 3 * 3 * 100% *',
             '*1 passed*'
             ])
     assert result.ret == 0
                                '--tx=2*popen')
     result.stdout.fnmatch_lines([
             '*- coverage: platform *, python * -*',
-            'test_dist_load_collocated * 18 * 5 * 72% *',
+            'test_dist_load_collocated * 18 * 13 * 72% *',
             '*10 passed*'
             ])
     assert result.ret == 0
                                '--rsyncdir=%s' % script.basename)
     result.stdout.fnmatch_lines([
             '*- coverage: platform *, python * -*',
-            'test_dist_load_not_collocated * 18 * 5 * 72% *',
+            'test_dist_load_not_collocated * 18 * 13 * 72% *',
             '*10 passed*'
             ])
     assert result.ret == 0
                                '--tx=popen//python=/usr/local/python27b1/bin/python')
     result.stdout.fnmatch_lines([
            '*- coverage: platform *, python 2.4.6-final-0 -*',
-           'test_dist_each_many_reports_py2 * 18 * 5 * 72% *',
+           'test_dist_each_many_reports_py2 * 18 * 13 * 72% *',
            '*- coverage: platform *, python 2.5.5-final-0 -*',
-           'test_dist_each_many_reports_py2 * 18 * 5 * 72% *',
+           'test_dist_each_many_reports_py2 * 18 * 13 * 72% *',
             '*- coverage: platform *, python 2.6.5-final-0 -*',
-           'test_dist_each_many_reports_py2 * 18 * 5 * 72% *',
+           'test_dist_each_many_reports_py2 * 18 * 13 * 72% *',
             '*- coverage: platform *, python 2.7.0-beta-1 -*',
-           'test_dist_each_many_reports_py2 * 18 * 5 * 72% *',
+           'test_dist_each_many_reports_py2 * 18 * 13 * 72% *',
             '*40 passed*'
             ])
     assert result.ret == 0
             # results but ignore for this test as we want to see
             # multiple reports regardless of results.
             '*- coverage: platform *, python 3.0.1-final-0 -*',
-            'test_dist_each_many_reports_py3 * 18 * 1 * 94% *',
+            'test_dist_each_many_reports_py3 * 18 * 17 * 94% *',
             '*- coverage: platform *, python 3.1.2-final-0 -*',
-            'test_dist_each_many_reports_py3 * 18 * 5 * 72% *',
+            'test_dist_each_many_reports_py3 * 18 * 13 * 72% *',
             '*20 passed*'
             ])
     assert result.ret == 0
             '* platform *, python 2.5.5-final-0 *',
             '* platform *, python 2.6.5-final-0 *',
             '* platform *, python 2.7.0-beta-1 *',
-            'test_dist_each_one_report_py2 * 18 * 2 * 88% *',
+            'test_dist_each_one_report_py2 * 18 * 16 * 88% *',
             '*40 passed*'
             ])
     assert result.ret == 0
             '*- coverage -*',
             '* platform *, python 3.0.1-final-0 *',
             '* platform *, python 3.1.2-final-0 *',
-            'test_dist_each_one_report_py3 * 18 * 1 * 94% *',
+            'test_dist_each_one_report_py3 * 18 * 17 * 94% *',
             '*20 passed*'
             ])
     assert result.ret == 0
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.