Skip to content

Commit

Permalink
Add a test dependency on pytest. (#306)
Browse files Browse the repository at this point in the history
While there aren't currently tests defined here, this sets it up so that it is ready for pytest tests.

This will also fix the build on Noble, where these are now hard failures rather than just warnings.

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
  • Loading branch information
clalancette authored Mar 25, 2024
1 parent 51aed01 commit df879bf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rqt/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
<exec_depend version_gte="0.3.0">rqt_gui_py</exec_depend>
<exec_depend>rqt_py_common</exec_depend>

<test_depend>python3-pytest</test_depend>

<export>
<build_type>ament_python</build_type>
</export>
Expand Down
1 change: 1 addition & 0 deletions rqt/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,5 @@
),
packages=[],
license='BSD',
tests_require=['pytest'],
)

0 comments on commit df879bf

Please sign in to comment.