File: test_mjcf_parser.py

package info (click to toggle)
dart 6.12.1%2Bdfsg4-12
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 57,000 kB
  • sloc: cpp: 269,461; python: 3,911; xml: 1,273; sh: 404; makefile: 30
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()