Commit 0e5f0389 authored by CY Chen's avatar CY Chen Committed by Kelly Guo

Fixes test_selection_strategy.py unit test (#226)

# 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
-->

The `test_selection_strategy.py` unit test throws `ModuleNotFoundError:
No module named 'isaacsim.core'` error.
Fixing it by starting omniverse app to import needed dependencies.

## Type of change

<!-- As you go through the list, delete the ones that are not
applicable. -->

- Bug fix (non-breaking change which fixes an issue)

## 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
- [x] 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

<!--
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
-->
parent 53a0b614
[package]
# Semantic Versioning is used: https://semver.org/
version = "1.0.1"
version = "1.0.2"
# Description
category = "isaaclab"
......
Changelog
---------
1.0.2 (2025-01-10)
~~~~~~~~~~~~~~~~~~
Fixed
^^^^^^^
* Fixed test_selection_strategy.py test case by starting omniverse app to import needed dependencies.
1.0.1 (2024-12-16)
~~~~~~~~~~~~~~~~~~
......
......@@ -3,6 +3,11 @@
#
# SPDX-License-Identifier: Apache-2.0
from isaaclab.app import AppLauncher
# launch omniverse app
simulation_app = AppLauncher(headless=True).app
import numpy as np
import torch
import unittest
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment