Beispiel #1
0
def test_zoom():
    # Would raise exception if a name is invalid
    # pylint: disable=expression-not-assigned
    [argtypes.Zoom(name) for name in ["in", "out"]]
Beispiel #2
0
def test_fail_zoom():
    with pytest.raises(ValueError, match="not a valid Zoom"):
        argtypes.Zoom("other")
Beispiel #3
0
def test_zoom():
    # Would raise exception if a name is invalid
    [argtypes.Zoom(name) for name in ["in", "out"]]