/
/
/
1"""Tests for repository-independent provider test setup."""
2
3from pathlib import Path
4
5import pytest
6
7
8@pytest.mark.parametrize("filename", ["__init__.py", "conftest.py"])
9def test_synced_test_setup_has_no_external_repository_paths(filename: str) -> None:
10 """Keep test setup independent of the workflow checkout layout."""
11 source = Path(__file__).with_name(filename).read_text(encoding="utf-8")
12
13 assert "ma-server" not in source
14 assert "Path.cwd()" not in source
15