Move tests out to project root. Use absolute import in project

tests/ directory in project root is more standard.
Just had to use absolute path for internal module imports to get it to
work
This commit is contained in:
Debanjum Singh Solanky
2021-09-30 04:12:14 -07:00
parent 58bb420f69
commit d2905c4be6
18 changed files with 27 additions and 27 deletions

11
tests/data/config.yml Normal file
View File

@@ -0,0 +1,11 @@
content-type:
org:
input-files: [ "~/first_from_config.org", "~/second_from_config.org" ]
input-filter: "*.org"
compressed-jsonl: ".notes.json.gz"
embeddings-file: ".note_embeddings.pt"
search-type:
asymmetric:
encoder: "sentence-transformers/msmarco-MiniLM-L-6-v3"
cross-encoder: "cross-encoder/ms-marco-MiniLM-L-6-v2"