Skip to content

Commit

Permalink
use_gazeboオプションを確認するCIを追加
Browse files Browse the repository at this point in the history
  • Loading branch information
Kuwamai committed Oct 13, 2023
1 parent cb7b90a commit 21d413e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/test_robot_description_loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,10 @@ def test_change_description_path():
with pytest.raises(Exception) as e:
exec_load(rdl)
assert e.value


def test_use_gazebo():
# use_gazeboが変更され、xacroにgazeboタグがセットされることを期待
rdl = RobotDescriptionLoader()
rdl.use_gazebo = 'true'
assert '<gazebo' in exec_load(rdl)

0 comments on commit 21d413e

Please sign in to comment.