Skip to content

Commit a692834

Browse files
IGNITE-29167 Use example file names as test_examples ids
The ids were the absolute path to each example script, so the test name depended on the build agent's work directory. On TeamCity, agents with different work roots gave the same test different names and histories. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent fb8596d commit a692834

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎tests/test_examples.py‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ def server():
4141
@pytest.mark.examples
4242
@pytest.mark.parametrize(
4343
'example_script',
44-
examples_scripts_gen()
44+
examples_scripts_gen(),
45+
ids=os.path.basename
4546
)
4647
def test_examples(example_script):
4748
proc = subprocess.run([

0 commit comments

Comments
 (0)