Example #1
0
def test_exception():
    with pytest.raises(sm.SislException):
        raise sm.SislException('This is an error')
Example #2
0
def test_exception():
    raise sm.SislException('This is an error')