From 75ba846d8b0d420e49db24c40beec1190f394c02 Mon Sep 17 00:00:00 2001 From: Guilhem Saurel <guilhem.saurel@laas.fr> Date: Fri, 17 Aug 2018 19:06:26 +0200 Subject: [PATCH] [Tests] remove a tests that need deprecated sot-dynamic --- tests/CMakeLists.txt | 1 - tests/test_joint_state.py | 13 ------------- 2 files changed, 14 deletions(-) delete mode 100755 tests/test_joint_state.py diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 456b955..d32a1d4 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -1,4 +1,3 @@ IF(BUILD_PYTHON_INTERFACE) ADD_PYTHON_UNIT_TEST("py-import" "tests/test_import.py") - ADD_PYTHON_UNIT_TEST("py-joint_state" "tests/test_joint_state.py") ENDIF(BUILD_PYTHON_INTERFACE) diff --git a/tests/test_joint_state.py b/tests/test_joint_state.py deleted file mode 100755 index 4819640..0000000 --- a/tests/test_joint_state.py +++ /dev/null @@ -1,13 +0,0 @@ -#!/usr/bin/python - -try: - from dynamic_graph.sot.dynamics.tools import * -except: - print("This test requires sot-dynamic.") - exit(42) - -from dynamic_graph.ros import RosJointState - -rjs = RosJointState('rosjointstate') -plug(robot.device.state, rjs.state) -rjs.trigger.recompute(rjs.trigger.time + 1) -- GitLab