Skip to content

Commit 1ba3f90

Browse files
committed
fix: adjust broken import links caused by test sources root not being treated like a viable import path
Ideally, we just use pytest plugins instead of modules under tests, but low priority for now.
1 parent bf28928 commit 1ba3f90

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/unit_tests/test_github_workflows.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
import pytest
55

6-
from util import templates_matching
6+
from tests.util import templates_matching
77

88

99
@pytest.mark.parametrize(

tests/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""Module containing utility functions used by tests."""
22
from pathlib import Path
33

4-
from constants import COOKIECUTTER_FOLDER
4+
from tests.constants import COOKIECUTTER_FOLDER
55

66

77
def templates_matching(pattern: str) -> list[Path]:

0 commit comments

Comments
 (0)