def METHOD_NAME():
    """Test reading the network via a string"""
    hnn_core_root = op.dirname(hnn_core.__file__)
    # prepare network
    params_fname = op.join(hnn_core_root, 'param', 'default.json')
    params = read_params(params_fname)
    net = jones_2009_model(params, add_drives_from_params=True)
    pickled_net = _pickle_data(net)
    input_str = '@start_of_net@' + pickled_net.decode() + \
        '@end_of_net:%d@\n' % (len(pickled_net))
    received_net = _str_to_net(input_str)
    assert isinstance(received_net, Network)
    # muck with the data size in the signal
    input_str = '@start_of_net@' + pickled_net.decode() + \
        '@end_of_net:%d@\n' % (len(pickled_net) + 1)
    expected_string = "Got incorrect network size: %d bytes " % \
        len(pickled_net) + "expected length: %d" % \
        (len(pickled_net) + 1)
    # process input from queue
    with pytest.raises(ValueError, match=expected_string):
        _str_to_net(input_str)