def METHOD_NAME(capfd):
    os.environ['SCW_API_TOKEN'] = 'notrealtoken'
    pnid = 'b589b4cd-ef5g-678h-90i1-jk2345678l90'
    cid = 'c004b4cd-ef5g-678h-90i1-jk2345678l90'
    url = 'servers/' + cid + '/private_nics'
    set_module_args({"project": "a123b4cd-ef5g-678h-90i1-jk2345678l90",
                     "state": "absent",
                     "region": "par1",
                     "compute_id": cid,
                     "private_network_id": pnid
                     })
    with patch.object(Scaleway, 'get') as mock_scw_get:
        mock_scw_get.return_value = response_without_nics()
        with pytest.raises(SystemExit) as results:
            scaleway_compute_private_network.main()
    mock_scw_get.assert_any_call(url)
    out, err = capfd.readouterr()
    del os.environ['SCW_API_TOKEN']
    assert not err
    assert not json.loads(out)['changed']