diff --git a/tests/run-tests-file.py b/tests/run-tests-file.py index 5d5f360..96eb355 100644 --- a/tests/run-tests-file.py +++ b/tests/run-tests-file.py @@ -1,9 +1,15 @@ +import sys +sys.path += '..' + import os import cStringIO as StringIO +import pyscrypt from pyscrypt import ScryptFile +print "Version:", ".".join(str(p) for p in pyscrypt.VERSION) + # Test decrypted output is equal to the input for text_length in [3, 16, 127, 128, 129, 1500]: plaintext = os.urandom(text_length) diff --git a/tests/run-tests-hash.py b/tests/run-tests-hash.py index 68adee0..5526c66 100644 --- a/tests/run-tests-hash.py +++ b/tests/run-tests-hash.py @@ -20,6 +20,8 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN # THE SOFTWARE. +import sys +sys.path += '..' import pyscrypt