[diffoscope] 02/04: README.Source: Document PYTHONPATH usage when running tests.
Chris Lamb
chris at chris-lamb.co.uk
Mon Apr 3 10:33:33 CEST 2017
This is an automated email from the git hooks/post-receive script.
lamby pushed a commit to branch experimental
in repository diffoscope.
commit c4c26ce250849af31e91d395015ae072ecf7d3c6
Author: Chris Lamb <lamby at debian.org>
Date: Mon Apr 3 10:19:12 2017 +0200
README.Source: Document PYTHONPATH usage when running tests.
---
debian/README.source | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/debian/README.source b/debian/README.source
index 8dc0863..f873120 100644
--- a/debian/README.source
+++ b/debian/README.source
@@ -7,8 +7,8 @@ Running the test suite
Tests are meant to be run with PyTest. The easiest way is simple to run
the tests are then:
- $ py.test
+ $ PYTHONPATH=. py.test
To get code coverage:
- $ py.test --cov diffoscope --cov-report html
+ $ PYTHONPATH=. py.test --cov diffoscope --cov-report html
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/diffoscope.git
More information about the diffoscope
mailing list