HomePhabricator

Add unit test for make_stats_for_one_grouping with grouping_link

Authored by JeanFred on Oct 15 2019, 5:18 PM.

Description

Add unit test for make_stats_for_one_grouping with grouping_link

make_stats_for_one_grouping behaves differently when there
is a grouping link, and that should be tested as well.

This involves additionally patching pywikibot.ItemPage,
because the method retrieves the English label.

Details

Committed
JeanFredOct 15 2019, 5:19 PM
Parents
R2566:d8901fd87d77: Add unit test for make_stats_for_no_group with higher_grouping
Branches
Unknown
Tags
Unknown
ChangeId
None