Skip to content

Commit cdcec2d

Browse files
committed
switch config file ini -> toml
1 parent 4ebe681 commit cdcec2d

3 files changed

Lines changed: 13 additions & 18 deletions

File tree

feature_integration_tests/test_cases/BUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,6 @@ score_py_pytest(
4949
env = {
5050
"RUST_BACKTRACE": "1",
5151
},
52-
pytest_config = ":pytest.ini",
52+
pytest_config = "//:pyproject.toml",
5353
deps = all_requirements,
5454
)

feature_integration_tests/test_cases/pytest.ini

Lines changed: 0 additions & 16 deletions
This file was deleted.

pyproject.toml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,20 @@
11
[tool.pytest]
2+
addopts = ["-v"]
23
pythonpath = [
34
".",
45
"scripts/tooling",
6+
"feature_integration_tests/test_cases"
7+
]
8+
testpaths = [
9+
"scripts/tooling/tests",
10+
"feature_integration_tests/test_cases/tests"
11+
]
12+
junit_log_passing_tests = true
13+
junit_family = "xunit1"
14+
filterwarnings = [
15+
'ignore:record_property is incompatible with junit_family:pytest.PytestWarning',
16+
'ignore:record_xml_attribute is an experimental feature:pytest.PytestExperimentalApiWarning',
517
]
6-
testpaths = ["scripts/tooling/tests"]
718

819
[tool.ruff]
920
# Exclude a variety of commonly ignored directories.

0 commit comments

Comments
 (0)