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:
Alessio Quaglino
2025-01-28 09:54:48 -08:00
committed by Copybara-Service
parent f4096bcab9
commit 5b330ca19c
2 changed files with 24 additions and 33 deletions
+1 -1
View File
@@ -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