Skip to content

Commit

Permalink
updated test class names to be unique
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreasAntener committed Mar 1, 2015
1 parent 9252124 commit 3f8c011
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions integrationtests/demo_tests/direct_offboard_posctl_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
# For the test to be successful it needs to stay on the predefined path
# and reach all setpoints in a certain time.
#
class OffboardPosctlTest(unittest.TestCase):
class DirectOffboardPosctlTest(unittest.TestCase):

def setUp(self):
rospy.init_node('test_node', anonymous=True)
Expand Down Expand Up @@ -163,5 +163,5 @@ def test_posctl(self):

if __name__ == '__main__':
import rostest
rostest.rosrun(PKG, 'direct_offboard_posctl_test', OffboardPosctlTest)
rostest.rosrun(PKG, 'direct_offboard_posctl_test', DirectOffboardPosctlTest)
#unittest.main()
4 changes: 2 additions & 2 deletions integrationtests/demo_tests/mavros_offboard_attctl_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
# For the test to be successful it needs to reach all setpoints in a certain time.
# FIXME: add flight path assertion (needs transformation from ROS frame to NED)
#
class OffboardAttctlTest(unittest.TestCase):
class MavrosOffboardAttctlTest(unittest.TestCase):

def setUp(self):
rospy.init_node('test_node', anonymous=True)
Expand Down Expand Up @@ -138,5 +138,5 @@ def test_attctl(self):

if __name__ == '__main__':
import rostest
rostest.rosrun(PKG, 'mavros_offboard_attctl_test', OffboardAttctlTest)
rostest.rosrun(PKG, 'mavros_offboard_attctl_test', MavrosOffboardAttctlTest)
#unittest.main()
4 changes: 2 additions & 2 deletions integrationtests/demo_tests/mavros_offboard_posctl_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
# For the test to be successful it needs to reach all setpoints in a certain time.
# FIXME: add flight path assertion (needs transformation from ROS frame to NED)
#
class OffboardPosctlTest(unittest.TestCase):
class MavrosOffboardPosctlTest(unittest.TestCase):

def setUp(self):
rospy.init_node('test_node', anonymous=True)
Expand Down Expand Up @@ -170,5 +170,5 @@ def test_posctl(self):

if __name__ == '__main__':
import rostest
rostest.rosrun(PKG, 'mavros_offboard_posctl_test', OffboardPosctlTest)
rostest.rosrun(PKG, 'mavros_offboard_posctl_test', MavrosOffboardPosctlTest)
#unittest.main()

0 comments on commit 3f8c011

Please sign in to comment.