We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d89a75d commit 425c9edCopy full SHA for 425c9ed
tests/test_optic.py
@@ -219,3 +219,9 @@ def test_from_dict(self):
219
def test_invalid_field_type(self):
220
with pytest.raises(ValueError):
221
self.optic.set_field_type('invalid')
222
+
223
+ def test_no_stop(self):
224
+ for surface in self.optic.surface_group.surfaces:
225
+ surface.is_stop = False
226
+ with pytest.raises(ValueError):
227
+ self.optic.surface_group.stop_index
0 commit comments