Skip to content

Commit

Permalink
Updated test cases to ad .. to sys.path.
Browse files Browse the repository at this point in the history
  • Loading branch information
ricmoo committed May 30, 2014
1 parent 59fe2dd commit 49183fc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/run-tests-file.py
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
2 changes: 2 additions & 0 deletions tests/run-tests-hash.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 49183fc

Please sign in to comment.