From 7974bd4baa545dc821b5afbda9c82fbc74647df7 Mon Sep 17 00:00:00 2001 From: Chris Lalancette Date: Fri, 19 Jun 2020 10:56:38 -0400 Subject: [PATCH] Add pytest.ini so local tests don't display warning (#152) Signed-off-by: Chris Lalancette --- launch_ros/pytest.ini | 2 ++ launch_testing_ros/pytest.ini | 1 + ros2launch/pytest.ini | 2 ++ test_launch_ros/pytest.ini | 2 ++ 4 files changed, 7 insertions(+) create mode 100644 launch_ros/pytest.ini create mode 100644 ros2launch/pytest.ini create mode 100644 test_launch_ros/pytest.ini diff --git a/launch_ros/pytest.ini b/launch_ros/pytest.ini new file mode 100644 index 000000000..fe55d2ed6 --- /dev/null +++ b/launch_ros/pytest.ini @@ -0,0 +1,2 @@ +[pytest] +junit_family=xunit2 diff --git a/launch_testing_ros/pytest.ini b/launch_testing_ros/pytest.ini index 0535da1e7..1ac72ac43 100644 --- a/launch_testing_ros/pytest.ini +++ b/launch_testing_ros/pytest.ini @@ -1,3 +1,4 @@ [pytest] # Set testpaths, otherwise pytest finds 'tests' in the examples directory testpaths = test +junit_family=xunit2 diff --git a/ros2launch/pytest.ini b/ros2launch/pytest.ini new file mode 100644 index 000000000..fe55d2ed6 --- /dev/null +++ b/ros2launch/pytest.ini @@ -0,0 +1,2 @@ +[pytest] +junit_family=xunit2 diff --git a/test_launch_ros/pytest.ini b/test_launch_ros/pytest.ini new file mode 100644 index 000000000..fe55d2ed6 --- /dev/null +++ b/test_launch_ros/pytest.ini @@ -0,0 +1,2 @@ +[pytest] +junit_family=xunit2