Skip to content

Commit

Permalink
fix: change to relative import for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
KennethEnevoldsen committed Dec 7, 2023
1 parent 5e055da commit 3ec0673
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion tests/test_all_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@

import pytest
import seb
from dummy_task import create_test_encode_task # noqa: F401

from .dummy_task import create_test_encode_task # noqa: F401

all_models = seb.get_all_models()
openai_models = []
Expand Down
7 changes: 4 additions & 3 deletions tests/test_benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@

import pytest
import seb
from dummy_model import create_test_model # noqa: F401
from dummy_task import create_test_task # noqa: F401
from test_tasks import all_tasks_names

from .dummy_model import create_test_model # noqa: F401
from .dummy_task import create_test_task # noqa: F401
from .test_tasks import all_tasks_names


@pytest.mark.parametrize(
Expand Down

0 comments on commit 3ec0673

Please sign in to comment.