Skip to content

Commit

Permalink
test: set path
Browse files Browse the repository at this point in the history
  • Loading branch information
weishan committed Jul 8, 2023
1 parent 846fbab commit e5e0806
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/test_image_retrieval.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
from collections import namedtuple
import os
from pathlib import Path
import sys

import pytest

sys.path.insert(0, "..")
from src.dinov2_retrieval.image_retriever import ImageRetriver
src_dir = os.path.join(os.path.dirname(os.path.abspath(__file__)), "..", "src")
sys.path.insert(0, src_dir)
from dinov2_retrieval.image_retriever import ImageRetriver


def test_init():
Expand Down

0 comments on commit e5e0806

Please sign in to comment.