-
Notifications
You must be signed in to change notification settings - Fork 197
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
Add pytest for descriptions #342
Add pytest for descriptions #342
Conversation
Can we actually rather add integration tests? This file might be an interesting inspiration: |
This PR is the first step, just testing if xacro is happy with the urdf and if the view_robot.launch.py is starting without any errors. |
cf632e5
to
0e0bcdc
Compare
@Mergifyio backport iron humble |
✅ Backports have been created
|
4c3006f
to
cf8b9ed
Compare
cf8b9ed
to
f8841a8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good work. LTGM
Thank you
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thanks for the recent changes
(cherry picked from commit eba962d)
(cherry picked from commit eba962d)
(cherry picked from commit eba962d) Co-authored-by: Christoph Fröhlich <[email protected]>
(cherry picked from commit eba962d) Co-authored-by: Christoph Fröhlich <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dear @christophfroehlich thanks for the PR.
I believe that the license is not correct.
@@ -0,0 +1,54 @@ | |||
# Copyright (c) 2022 FZI Forschungszentrum Informatik |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dear @christophfroehlich thanks a lot for this very nice addition.
However I believe that all the licenses part is a copy pase that should be removed.
First it is a BSD Clause 2 license, while APACHE is the license claimed in the root license file.
Second the author is somebody else...
As this repository is for people learning ros2_control and that unit test is very important, removing this unnecessary part will help to keep the example clear.
Again thanks a lot for this welcome addition.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the hint, I'm not sure about the license stuff and how ament_copyright deals with it.. But I can try ;) You mean that I just remove the license part but let the line with the copyright claim?
@@ -0,0 +1,54 @@ | |||
# Copyright (c) 2022 FZI Forschungszentrum Informatik |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove license, just add instition and author name, and refer to the license in the repository's root.
@@ -0,0 +1,77 @@ | |||
# Copyright (c) 2022 FZI Forschungszentrum Informatik |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove license, just add instition and author name, and refer to the license in the repository's root.
@@ -0,0 +1,54 @@ | |||
# Copyright (c) 2022 FZI Forschungszentrum Informatik |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove license, just add instition and author name, and refer to the license in the repository's root.
@@ -0,0 +1,77 @@ | |||
# Copyright (c) 2022 FZI Forschungszentrum Informatik |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove license, just add instition and author name, and refer to the license in the repository's root.
@@ -0,0 +1,54 @@ | |||
# Copyright (c) 2022 FZI Forschungszentrum Informatik |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove license, just add instition and author name, and refer to the license in the repository's root.
I added some simple tests to this repo.
I copied them over from https://github.com/UniversalRobots/Universal_Robots_ROS2_Description
Locally,I had to manually installcolcon test
does not run it, why?pip install -U pytest
, otherwise an old version got installed causing import errors.