test_node_failure.py
Go to the documentation of this file.
1 import rospy
2 import pytest
3 
4 from visualization_msgs.msg import MarkerArray as VisMarkerArray
5 
6 
7 @pytest.fixture
8 def node():
9  return rospy.init_node('aruco_pose_test', anonymous=True)
10 
12  with pytest.raises(rospy.exceptions.ROSException):
13  rospy.wait_for_message('aruco_map/visualization', VisMarkerArray, timeout=5)
def test_node_failure(node)


aruco_pose
Author(s): Oleg Kalachev
autogenerated on Mon Feb 28 2022 22:08:24