diff --git a/test_pygame/README.md b/test_pygame/README.md index fc31028..7cebc3c 100644 --- a/test_pygame/README.md +++ b/test_pygame/README.md @@ -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. diff --git a/test_pygame/test_load_and_visualize_states.py b/test_pygame/test_load_and_visualize_states.py index d751818..d46d0d9 100644 --- a/test_pygame/test_load_and_visualize_states.py +++ b/test_pygame/test_load_and_visualize_states.py @@ -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)