Skip to content

Commit

Permalink
Merge pull request #928 from tue-robotics/fix/test_rips
Browse files Browse the repository at this point in the history
Fix/test rips
  • Loading branch information
ar13pit committed Nov 13, 2019
2 parents b1edde0 + daa0225 commit 306ad7d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 13 deletions.
14 changes: 5 additions & 9 deletions challenge_rips/package.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
<package>
<package format="2">
<name>challenge_rips</name>
<version>0.0.0</version>
<description>challenge rips</description>
Expand All @@ -10,13 +10,9 @@

<buildtool_depend>catkin</buildtool_depend>

<build_depend>rospy</build_depend>
<run_depend>rospy</run_depend>

<build_depend>robot_skills</build_depend>
<run_depend>robot_skills</run_depend>

<build_depend>robot_smach_states</build_depend>
<run_depend>robot_smach_states</run_depend>
<depend>robocup_knowledge</depend>
<depend>rospy</depend>
<depend>robot_skills</depend>
<depend>robot_smach_states</depend>

</package>
8 changes: 4 additions & 4 deletions challenge_rips/test/test_construction.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
import os
import unittest

from robot_skills.mockbot import Mockbot

from challenge_rips.rips import setup_statemachine


class TestChallengeConstruction(unittest.TestCase):
def test_construction(self):
"""
If no exception is raised, this test will succeed
"""
os.environ["ROBOT_ENV"] = "robotics_testlabs"
from robot_skills.mockbot import Mockbot
from challenge_rips.rips import setup_statemachine
robot = Mockbot()
setup_statemachine(robot)

Expand Down

0 comments on commit 306ad7d

Please sign in to comment.