Skip to content

Commit

Permalink
Removed test_integration.py::test_screenshot as it's covered by test_…
Browse files Browse the repository at this point in the history
…scene.py::test_screenshot
  • Loading branch information
IgorTatarnikov committed Nov 27, 2023
1 parent 95ddf48 commit 78fcd6c
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions tests/test_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,18 +279,6 @@ def test_ruler(scene):
check_bounds(rul2_bounds, root_bounds)


def test_screenshot(scene, pytestconfig):
scene.add_brain_region("TH")

scene.render(interactive=False)
scene.screenshot(name="test_screenshot", scale=2)
screenshot_path = Path.cwd() / "test_screenshot.png"

assert screenshot_path.exists()

screenshot_path.unlink()


def test_slice(scene):
th, mos, ca1 = scene.add_brain_region(
"TH", "MOs", "CA1", alpha=0.2, color="green"
Expand Down

0 comments on commit 78fcd6c

Please sign in to comment.