File: test_mjcf_parser.py

package info (click to toggle)
dart 6.13.2%2Bds-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 56,948 kB
  • sloc: cpp: 274,310; python: 3,973; xml: 1,272; sh: 404; makefile: 31
file content (16 lines) | stat: -rw-r--r-- 302 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import platform

import pytest
import dartpy as dart
import os

from tests.util import get_asset_path


def test_parse_fetch():
    assert dart.utils.MjcfParser.readWorld(
        'dart://sample/mjcf/openai/robotics/fetch/pick_and_place.xml') is not None


if __name__ == "__main__":
    pytest.main()