[bugfix] fix api_tests.TestAPIMWException
[bugfix] fix api_tests.TestAPIMWException

Fix tests broken after:
    [IMPR] remove unneeded explicit params in fetch() and request()
    I335058809bf1c1732b305eac12a70cd1b82996d4

Bug: T270611
Change-Id: I559aa41b986f981e0cfcb514b5a935d4ce4c42fc

wikimedia/pywikibot-core,wikimedia/pywikibot-core