Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix potential bug in test_rosdep_sources_list.py #952

Conversation

SubaruArai
Copy link
Contributor

@SubaruArai SubaruArai commented Apr 15, 2024

When running pytest from anywhere else than the project root directory, test_rosdep_sources_list.py would fail because there were 2 hardcoded path that depended on where the test was run from.

This commit fixes this by using a relative path from the aforementioned file, which is the same logic used in other tests.

Related: #951

When running pytest from anywhere else than the project root directory,
test_rosdep_sources_list.py would fail because there was 2 hardcoded
path that depended on where the test was run from.

This commit fixes this by using a relative path from the aforementioned
file, which is the same logic used in other tests.
Copy link
Member

@cottsay cottsay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, thanks!

@cottsay cottsay merged commit ac4fc15 into ros-infrastructure:master Apr 16, 2024
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants