diff --git a/README.md b/README.md index 25e80c5..9b8cfa5 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,8 @@ # binfootprint +[![Build Status](https://travis-ci.org/cimatosa/binfootprint.svg?branch=master)](https://travis-ci.org/cimatosa/binfootprint) + + Calculate a unique binary representation (binary footprint) for simple data structures with the intension to use this binary footprint as a loop up key for example in a data base. diff --git a/tests/test_binfootprint.py b/tests/test_binfootprint.py index 7760581..11e7489 100644 --- a/tests/test_binfootprint.py +++ b/tests/test_binfootprint.py @@ -8,13 +8,16 @@ import sys if sys.version_info.major > 2: import pathlib path = pathlib.PosixPath(__file__).absolute() - jobmanager = path.parent.parent - sys.path.insert(0, str(jobmanager)) + bf_package = path.parent.parent + print(bf_package) + sys.path.insert(0, str(bf_package)) else: from os.path import abspath, dirname, split # Add parent directory to beginning of path variable sys.path = [split(dirname(abspath(__file__)))[0]] + sys.path +print(sys.path[0]) + import binfootprint as bfp import numpy as np