Example #1
0
def test_fail__valid_stream_resolution(arg: Any) -> None:
    with pytest.raises(ValidatorError):
        print(valid_stream_resolution(arg))
Example #2
0
def test_ok__valid_stream_resolution(arg: Any) -> None:
    value = valid_stream_resolution(arg)
    assert type(value) == str  # pylint: disable=unidiomatic-typecheck
    assert value == str(arg).strip()