[Python-modules-commits] [python-pyld] 21/276: Update testing docs and pyld path.

Wolfgang Borgert debacle at moszumanska.debian.org
Wed Oct 8 23:47:49 UTC 2014


This is an automated email from the git hooks/post-receive script.

debacle pushed a commit to branch master
in repository python-pyld.

commit 59cc33532cc1a8455bfda31ee1b0be05e41c2011
Author: David I. Lehn <dlehn at digitalbazaar.com>
Date:   Mon Sep 5 20:06:02 2011 -0400

    Update testing docs and pyld path.
---
 README              | 6 +++---
 tests/TestRunner.py | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/README b/README
index 5cc8f72..b1e5305 100644
--- a/README
+++ b/README
@@ -16,11 +16,11 @@ This library includes a sample testing utility which may be used to verify
 that changes to the processor maintain the correct output.
 
 To run the sample tests you will need to get the test files from Digital
-Bazaar's Forge repository hosted on GitHub.
+Bazaar's jsonld.js repository hosted on GitHub.
 
-https://github.com/digitalbazaar/forge
+https://github.com/digitalbazaar/jsonld.js
 
 Then run the TestRunner application and point it at the directory
 containing the tests.
 
-> python TestRunner -d PATH_TO_TESTS
+> python tests/TestRunner.py -d {PATH_TO_JSONLD_JS/tests}
diff --git a/tests/TestRunner.py b/tests/TestRunner.py
index 9fcf20a..48d4e4d 100644
--- a/tests/TestRunner.py
+++ b/tests/TestRunner.py
@@ -10,7 +10,7 @@ import os, sys, json
 from os.path import join
 from optparse import OptionParser
 
-sys.path += ('../lib',)
+sys.path.append(os.path.join(os.path.dirname(__file__), '..', 'lib'))
 from pyld import jsonld
 
 ##

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-pyld.git



More information about the Python-modules-commits mailing list