Revert "[bugfix] import MWSite in generate_family_file.py for tests"
Revert "[bugfix] import MWSite in generate_family_file.py for tests"

pwb_tests and script_tests are failing.

This reverts commit 4cd790567da33ebd29a21f24b8ce43b33e733acb.

Bug: T212988
Change-Id: I0d8e50ed65f6c95e2a2801ff9fb3397b780b1913

wikimedia/pywikibot-core,wikimedia/pywikibot-core,PersianWikipedia/pywikibot-core