From e0036689eaf5331dd0fa198011cb38fbbe00793e Mon Sep 17 00:00:00 2001 From: Adam Tyson Date: Mon, 20 May 2024 16:55:45 +0100 Subject: [PATCH] Remove old test --- tests/test_scene.py | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/tests/test_scene.py b/tests/test_scene.py index 8ddf3cee..1a07d3b2 100644 --- a/tests/test_scene.py +++ b/tests/test_scene.py @@ -1,6 +1,3 @@ -import shutil -from pathlib import Path - import pytest from brainrender import Scene @@ -115,24 +112,6 @@ def test_scene_slice(): ("test.tiff", 1, ".png"), ], ) -def test_scene_screenshot(name, scale, expected_suffix): - screenshot_folder = Path.home() / "test_screenshots" - s = Scene(screenshots_folder=screenshot_folder) - out_path = s.screenshot(name=name, scale=scale) - - assert Path(out_path).suffix == expected_suffix - - # Vedo exports eps and svg files as gzipped files - # Append the .gz suffix to the expected path to check if file exists - if expected_suffix in [".eps", ".svg"]: - out_path += ".gz" - - assert Path(out_path).exists() - - shutil.rmtree(screenshot_folder) - del s - - def test_actor_removal(): s = Scene() th = s.add_brain_region("TH")