-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
19 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# Pygame specific test that can not be run in the CI | ||
|
||
Pygame can not be tested in the CI because it requires a display to be present. This test is meant to be run locally. | ||
# Pygame specific test that can not be run in the CI | ||
|
||
Pygame can not be tested in the CI because it requires a display to be present. This test is meant to be run locally. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
""" | ||
load a recording and play it back | ||
""" | ||
import loguru | ||
|
||
|
||
from robot_sf.render.playback_recording import load_states_and_visualize | ||
|
||
logger = loguru.logger | ||
|
||
def test_load_and_visualize_states(): | ||
logger.info("Testing load and visualize states") | ||
test_file = "test_pygame/recordings/2024-06-04_08-39-59.pkl" | ||
|
||
# Load the states from the file | ||
load_states_and_visualize(test_file) | ||
""" | ||
load a recording and play it back | ||
""" | ||
import loguru | ||
|
||
|
||
from robot_sf.render.playback_recording import load_states_and_visualize | ||
|
||
logger = loguru.logger | ||
|
||
def test_load_and_visualize_states(): | ||
logger.info("Testing load and visualize states") | ||
test_file = "test_pygame/recordings/2024-06-04_08-39-59.pkl" | ||
|
||
# Load the states from the file | ||
load_states_and_visualize(test_file) |