From df879bf759caa47a680bbabcbeaf153de0ffb3c2 Mon Sep 17 00:00:00 2001 From: Chris Lalancette Date: Mon, 25 Mar 2024 18:22:14 -0400 Subject: [PATCH] Add a test dependency on pytest. (#306) 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 --- rqt/package.xml | 2 ++ rqt/setup.py | 1 + 2 files changed, 3 insertions(+) diff --git a/rqt/package.xml b/rqt/package.xml index 9f1fca65..abff9458 100644 --- a/rqt/package.xml +++ b/rqt/package.xml @@ -20,6 +20,8 @@ rqt_gui_py rqt_py_common + python3-pytest + ament_python diff --git a/rqt/setup.py b/rqt/setup.py index f9d37e41..413f76af 100644 --- a/rqt/setup.py +++ b/rqt/setup.py @@ -30,4 +30,5 @@ ), packages=[], license='BSD', + tests_require=['pytest'], )