Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions scripts/tests/test_base_not_main_no_paths_filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
import sys
from pathlib import Path

import pytest
import yaml

REPO_ROOT = Path(__file__).resolve().parents[2]
Expand Down
2 changes: 2 additions & 0 deletions scripts/tests/test_candidate_delivered.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
import sys
import os

import pytest

sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))

from candidate_delivered import classify, is_epic, _parse_cross_ref_events # noqa: E402
Expand Down
2 changes: 2 additions & 0 deletions scripts/tests/test_pr_close_keyword_guard.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
import sys
from pathlib import Path

import pytest

# Make ``scripts/ci`` importable (sibling of ``scripts/tests``).
sys.path.insert(0, str(Path(__file__).resolve().parents[1] / "ci"))

Expand Down
2 changes: 2 additions & 0 deletions scripts/tests/test_series_saturation.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
import sys
from pathlib import Path

import pytest

REPO_ROOT = Path(__file__).resolve().parents[2]
sys.path.insert(0, str(REPO_ROOT / "scripts"))

Expand Down
2 changes: 2 additions & 0 deletions scripts/tests/test_variation_genre_recensement.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
import os
import sys

import pytest

# Make scripts/ importable (sibling of tests/), same pattern as test_grain_tag.py
sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))

Expand Down
Loading