[tests] Use subTest in reflinks_tests.py to avoid code duplications
[tests] Use subTest in reflinks_tests.py to avoid code duplications

Change-Id: Ia8fac78f2f8e959a27da176dd5d710cff72cc2ca

wikimedia/pywikibot-core,wikimedia/pywikibot-core