Skip to content

Commit

Permalink
Check that the incorrect value raises an error
Browse files Browse the repository at this point in the history
  • Loading branch information
jennyfothergill committed Oct 26, 2021
1 parent e352da2 commit 73ba2b6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions gixstapose/tests/test_scene.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import os

import fresnel
import pytest

from gixstapose.draw_scene import get_scene

Expand Down Expand Up @@ -36,5 +37,5 @@ def test_scene_colors():
scene, info = get_scene(methanegsd, color="jet")
assert type(scene) is type(fresnel.Scene())

scene, info = get_scene(methanegsd, color="heck")
assert type(scene) is type(fresnel.Scene())
with pytest.raises(ValueError):
get_scene(methanegsd, color="heck")

0 comments on commit 73ba2b6

Please sign in to comment.