rofunc.utils.robolab.formatter.mjcf_parser.attribute_test#
Tests for dm_control.mjcf.attribute.
1. Module Contents#
1.1. Classes#
Test for Attribute classes. |
1.2. Data#
1.3. API#
- rofunc.utils.robolab.formatter.mjcf_parser.attribute_test.ASSETS_DIR = None#
- rofunc.utils.robolab.formatter.mjcf_parser.attribute_test.FAKE_SCHEMA_FILENAME = 'attribute_test_schema.xml'#
- rofunc.utils.robolab.formatter.mjcf_parser.attribute_test.ORIGINAL_SCHEMA_PATH = None#
- class rofunc.utils.robolab.formatter.mjcf_parser.attribute_test.AttributeTest(*args, **kwargs)[source]#
Bases:
absl.testing.parameterized.TestCaseTest for Attribute classes.
Our tests here reflect actual usages of the Attribute classes, namely that we never directly create attributes but instead access them through Elements.
Initialization
Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.
- testFileFromPath(basepath, value)#