**List of steps to reproduce**:
* Running script_test on appveyor, all tests fail and commonscat test halts (or runs infinitely)
**What happens?**:
* Running the test locally works as expected:
`pwb.py script_tests -v TestScriptHelp.test_commonscat`
```
C:\pwb\GIT\core>pwb.py script_tests -v TestScriptHelp.test_commonscat
tests: max_retries reduced from 15 to 1
commons_information depends on mwparserfromhell, which isn't available
patrol depends on mwparserfromhell, which isn't available
weblinkchecker depends on memento_client, which isn't available
test_commonscat (__main__.TestScriptHelp)
Test running commonscat -help. ... ok
----------------------------------------------------------------------
Ran 1 test in 0.804s
OK
C:\pwb\GIT\core>
```
* Running tests on Appveyor fails and commonscat -help test never stops
https://ci.appveyor.com/project/Ladsgroup/pywikibot-g4xqx/builds/41621236/job/a9qghdg7itht37kf
**What should have happened instead?**:
The test should pass
**Software version**:
Pywikibot 7.0.0.dev0 after adding `pwb` script entry point in
rPWBC4f0ee4d