unskip
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
import pytest
|
||||
from pathlib import Path
|
||||
|
||||
@pytest.mark.skip(reason="For some reason 1_visualize_dataset.py downloads the dataset")
|
||||
@pytest.mark.parametrize(
|
||||
"path",
|
||||
[
|
||||
@@ -16,4 +15,5 @@ def test_example(path):
|
||||
file_contents = file.read()
|
||||
exec(file_contents)
|
||||
|
||||
assert Path("outputs/visualize_dataset/example/episode_0.mp4").exists()
|
||||
if path == "examples/1_visualize_dataset.py":
|
||||
assert Path("outputs/visualize_dataset/example/episode_0.mp4").exists()
|
||||
|
||||
Reference in New Issue
Block a user