Skip to content

Commit 4984775

Browse files
authored
Merge pull request #419 from tristan-f-r/btb-drop-load
test(btb): drop useless pathloading
2 parents ff63657 + 1f19209 commit 4984775

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

test/BowTieBuilder/test_btb.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,13 @@
11
import shutil
2-
import sys
32
from pathlib import Path
43

54
import pytest
65

76
import spras.config.config as config
7+
from spras.btb import BowTieBuilder as BTB
88

99
config.init_from_file("config/config.yaml")
1010

11-
# TODO consider refactoring to simplify the import
12-
# Modify the path because of the - in the directory
13-
SPRAS_ROOT = Path(__file__).parent.parent.parent.absolute()
14-
sys.path.append(str(Path(SPRAS_ROOT, 'docker-wrappers', 'BowTieBuilder')))
15-
from spras.btb import BowTieBuilder as BTB
16-
1711
TEST_DIR = Path('test', 'BowTieBuilder/')
1812
OUT_FILE_DEFAULT = Path(TEST_DIR, 'output', 'raw-pathway.txt')
1913

0 commit comments

Comments
 (0)