From ca6ae947d69d035fe7a1c536ad933d2ea9a6219c 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 799466d9..9e1695c2 100644 --- a/ament_lint/package.xml +++ b/ament_lint/package.xml @@ -12,6 +12,8 @@ Dirk Thomas Claire Wang + python3-pytest + ament_python diff --git a/ament_lint/setup.py b/ament_lint/setup.py index aabcb8c0..877317c3 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',