From 903c28344c5fbe787c5882d4ba255bf220277cd9 Mon Sep 17 00:00:00 2001 From: Chris Lalancette Date: Tue, 6 Feb 2024 15:21:54 -0500 Subject: [PATCH] Add an ament_lint test dependency on python3-pytest. (#473) While we don't actually have any tests in here, this ensures that colcon will use pytest (and not unittest) to run any tests. Signed-off-by: Chris Lalancette --- ament_lint/package.xml | 2 ++ ament_lint/setup.py | 1 + 2 files changed, 3 insertions(+) diff --git a/ament_lint/package.xml b/ament_lint/package.xml index a55b4540..a3dfd9e1 100644 --- a/ament_lint/package.xml +++ b/ament_lint/package.xml @@ -17,6 +17,8 @@ Dirk Thomas Michel Hidalgo + python3-pytest + ament_python diff --git a/ament_lint/setup.py b/ament_lint/setup.py index 3122988b..b418f1b6 100644 --- a/ament_lint/setup.py +++ b/ament_lint/setup.py @@ -32,6 +32,7 @@ Providing common API for ament linter packages, e.g. the `linter` marker for pytest.""", license='Apache License, Version 2.0', + tests_require=['pytest'], entry_points={ 'pytest11': [ 'ament_lint = ament_lint.pytest_marker',