1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
# Copyright (c) 2011-2022, The DART development contributors
# All rights reserved.
#
# The list of contributors can be found at:
# https://github.com/dartsim/dart/blob/master/LICENSE
#
# This file is provided under the "BSD-style" License
import pytest
import dartpy as dart
def test_read_world():
assert dart.utils.SkelParser.readWorld(
'dart://sample/skel/cubes.skel') is not None
assert dart.utils.SkelParser.readWorld(
'dart://sample/skel/cubes.skel', None) is not None
if __name__ == "__main__":
pytest.main()
|