def METHOD_NAME(resources_mock):
    tag_tool = TagTool(
        TagsTool(), name=None, pk=None, priority=None, project=None, slug=7
    )
    resources_mock.configure_mock(**{"return_value.unlink.return_value": 23})
    # unlink_resources returns resources.unlink()
    assert tag_tool.unlink_resources(13) == 23
    # resources.unlink() is called with correct args
    assert list(resources_mock.return_value.unlink.call_args) == [
        (7,),
        {"resources": 13},
    ]