def METHOD_NAME(stats_mock):
    stats_mock.configure_mock(**{"return_value.data": 23})
    tag_tool = TagTool(
        TagsTool(), name=None, pk=None, priority=None, project=None, slug=7
    )
    # locale_stats returns self.tags_tool.stats_tool().data
    assert tag_tool.locale_stats == 23
    # stats_tool was called with slug and groupby
    assert list(stats_mock.call_args) == [(), {"groupby": "locale", "slug": 7}]