Change keyword argument asset to include in spec.from_file and spec.from_string.
PiperOrigin-RevId: 720611881 Change-Id: I92f5e72cece8d3223bc552ea4f2ef742c47cb8c9
This commit is contained in:
committed by
Copybara-Service
parent
f4096bcab9
commit
5b330ca19c
@@ -765,7 +765,7 @@ class SpecsTest(absltest.TestCase):
|
||||
<include file="included.xml"/>
|
||||
</mujoco>
|
||||
"""),
|
||||
{'included.xml': included_xml.encode('utf-8')},
|
||||
include={'included.xml': included_xml.encode('utf-8')},
|
||||
)
|
||||
self.assertEqual(
|
||||
spec.worldbody.first_body().first_geom().type, mujoco.mjtGeom.mjGEOM_BOX
|
||||
|
||||
Reference in New Issue
Block a user