• peterd-NV's avatar
    Updates Mimic test cases to pytest format (#550) · 8fa76ddc
    peterd-NV authored
    # Description
    
    <!--
    Thank you for your interest in sending a pull request. Please make sure
    to check the contribution guidelines.
    
    Link:
    https://isaac-sim.github.io/IsaacLab/main/source/refs/contributing.html
    -->
    
    Updates the following tests to pytest format:
    
    - test_pink_ik.py
    - test_selection_strategy.py
    - test_generate_dataset.py
    
    Updates test_generate_dataset.py to check that the expected number of
    annotations are successfully generated in the HDF5 during the annotation
    phase. If not, then test returns failure. This ensures that physics is
    behaving correctly and that the correct annotated demos are being
    generated. Previously, if a physics issue is introduced, the test would
    timeout instead of failing.
    
    The annotate_demos.py script was updated to return the number of
    successfully annotated demos in order to support the above test.
    
    ## Type of change
    
    <!-- As you go through the list, delete the ones that are not
    applicable. -->
    
    - New feature (non-breaking change which adds functionality)
    
    ## Checklist
    
    - [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with
    `./isaaclab.sh --format`
    - [ ] I have made corresponding changes to the documentation
    - [x] My changes generate no new warnings
    - [x] I have added tests that prove my fix is effective or that my
    feature works
    - [ ] I have updated the changelog and the corresponding version in the
    extension's `config/extension.toml` file
    - [ ] I have added my name to the `CONTRIBUTORS.md` or my name already
    exists there
    
    <!--
    As you go through the checklist above, you can mark something as done by
    putting an x character in it
    
    For example,
    - [x] I have done this task
    - [ ] I have not done this task
    -->
    8fa76ddc
Name
Last commit
Last update
..
CHANGELOG.rst Loading commit data...