diff --git a/test/BowTieBuilder/test_btb.py b/test/BowTieBuilder/test_btb.py index 8b7997692..60e894fe3 100644 --- a/test/BowTieBuilder/test_btb.py +++ b/test/BowTieBuilder/test_btb.py @@ -1,19 +1,13 @@ import shutil -import sys from pathlib import Path import pytest import spras.config.config as config +from spras.btb import BowTieBuilder as BTB config.init_from_file("config/config.yaml") -# TODO consider refactoring to simplify the import -# Modify the path because of the - in the directory -SPRAS_ROOT = Path(__file__).parent.parent.parent.absolute() -sys.path.append(str(Path(SPRAS_ROOT, 'docker-wrappers', 'BowTieBuilder'))) -from spras.btb import BowTieBuilder as BTB - TEST_DIR = Path('test', 'BowTieBuilder/') OUT_FILE_DEFAULT = Path(TEST_DIR, 'output', 'raw-pathway.txt')