Пример #1
0
def test_marshaller_raises(target):
    with pytest.raises(ValueError):
        _marshal_target(urlparse(target))
Пример #2
0
def test_marshaller_raises(target):
    with pytest.raises(ValueError):
        _marshal_target(urlparse(target))
Пример #3
0
def test_marshaller_not_raises(target):
    assert target == _unmarshal_target(_marshal_target(urlparse(target)))
Пример #4
0
def test_marshaller_not_raises(target):
    assert target == _unmarshal_target(_marshal_target(urlparse(target)))