1 new commit in pytest-codecheckers:

https://bitbucket.org/RonnyPfannschmidt/pytest-codecheckers/changeset/ffa881a66ef6/
changeset:   ffa881a66ef6
user:        RonnyPfannschmidt
date:        2012-12-24 10:59:33
summary:     include filename in reportinfo
affected #:  2 files

diff -r 78f7abc82494da686ecf5009e06047d25b6e1722 -r 
ffa881a66ef64576247bbdd2895b3b737e99469f CHANGES
--- /dev/null
+++ b/CHANGES
@@ -0,0 +1,1 @@
+* include filename in reportinfo


diff -r 78f7abc82494da686ecf5009e06047d25b6e1722 -r 
ffa881a66ef64576247bbdd2895b3b737e99469f codecheckers/plugin.py
--- a/codecheckers/plugin.py
+++ b/codecheckers/plugin.py
@@ -31,7 +31,8 @@
         return super(PyCodeCheckItem, self).repr_failure(excinfo)
 
     def reportinfo(self):
-        return (self.fspath, -1, "codecheck " + self._ep.name)
+        info = "%s: %s codecheck" % (self.filename, self._ep.name)
+        return self.fspath, None, info
 
 
 class PyCheckerCollector(py.test.collect.File):

Repository URL: https://bitbucket.org/RonnyPfannschmidt/pytest-codecheckers/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
_______________________________________________
py-svn mailing list
py-svn@codespeak.net
http://codespeak.net/mailman/listinfo/py-svn

Reply via email to