def test_get_network_object(network):
    # non-existent object should yield 404
    with raises(HTTPError, match='404'):
        bf_get_network_object_text('missing_object')
    # object should exist after being placed
    bf_put_network_object('new_object', 'goodbye')
    assert bf_get_network_object_text('new_object') == 'goodbye'
def test_get_network_object(network):
    # non-existent object should yield 404
    with raises(HTTPError, match="404"):
        bf_get_network_object_text("missing_object")
    # object should exist after being placed
    bf_put_network_object("new_object", "goodbye")
    assert bf_get_network_object_text("new_object") == "goodbye"
def test_delete_network_object(network):
    bf_put_network_object("new_object", "goodbye")
    bf_delete_network_object("new_object")
    # the object should be non-existent now
    with raises(HTTPError, match="404"):
        bf_get_network_object_text("new_object")
def test_delete_network_object(network):
    bf_put_network_object('new_object', 'goodbye')
    bf_delete_network_object('new_object')
    # the object should be non-existent now
    with raises(HTTPError, match='404'):
        bf_get_network_object_text('new_object')