biolink / ontobio

python library for working with ontologies and ontology associations
https://ontobio.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
119 stars 30 forks source link

Fix filepaths for resources in tests #519

Open deepakunni3 opened 3 years ago

deepakunni3 commented 3 years ago

Use proper paths for resources instead of relative paths in tests.

For example,

cwd = os.path.abspath(os.path.dirname(__file__))
resource_dir = os.path.join(cwd, '../resources')
target_dir = os.path.join(cwd, '../target')