Skip to content

Commit

Permalink
Merge pull request #796 from GoogleCloudPlatform/jccb/test-examples-f…
Browse files Browse the repository at this point in the history
…ix-name

Remove duplicate path component from doc_examples test names.
  • Loading branch information
juliocc authored Sep 7, 2022
2 parents 718f9d8 + 70b03b5 commit 1e62078
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/doc_examples/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def pytest_generate_tests(metafunc):
continue
examples.append(code)
path = module.relative_to(FABRIC_ROOT)
name = f'{path}/{module.stem}:{last_header}'
name = f'{path}:{last_header}'
if index > 1:
name += f' {index}'
ids.append(name)
Expand Down

0 comments on commit 1e62078

Please sign in to comment.