

def test_url_query_required():
    mock = Mock()
    mock.request.args.get.return_value = None
    url_query = URLQueryProperty(name='value')
    with raises(NotSupported):
        url_query.provide_value(mock)

dataset/ETHPy150Open douban/brownant/tests/test_pipeline/test_network.py test_url_query_required/original