def METHOD_NAME(we_are_currently_root, FakeConfig):
    """Check that a UID != 0 will receive a message and exit non-zero"""
    cfg = FakeConfig()
    with pytest.raises(exceptions.NonRootUserError):
        action_auto_attach(mock.MagicMock(), cfg=cfg)