• jsmith-bdai's avatar
    Fixes warp library access in unit tests (#378) · 5b954cc9
    jsmith-bdai authored
    # Description
    
    Recently, tests were discovered that import from `utils`: `from
    omni.isaac.orbit.utils` cause a `ModuleNotFoundError` for `warp` within
    a container workflow fail as they weren't starting up the simulation
    app.
    
    This PR fixes this issue by setting up simulation app in any tests that
    need it.
    
    Fixes #372
    
    ## Type of change
    
    - Bug fix (non-breaking change which fixes an issue)
    
    ## Checklist
    
    - [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with
    `./orbit.sh --format`
    - [ ] I have made corresponding changes to the documentation
    - [x] My changes generate no new warnings
    - [ ] I have added tests that prove my fix is effective or that my
    feature works
    - [x] I have run all the tests with `./orbit.sh --test` and they pass
    - [ ] I have updated the changelog and the corresponding version in the
    extension's `config/extension.toml` file
    - [x] I have added my name to the `CONTRIBUTORS.md` or my name already
    exists there
    5b954cc9
test_timer.py 1.78 KB