I've checked out /pywikibot/core.git. When I run the tests, I get a number of failures:
FAILED tests/make_dist_tests.py::TestMakeDist::test_handle_args - AssertionError: '/Users/roy/dev/pywikibot/pywikibot-git/tests/make_dist_tests.py' != '/Users/roy/dev/pywikibot/venv/bin/pytest'
FAILED tests/make_dist_tests.py::TestMakeDist::test_handle_args_empty - AssertionError: '/Users/roy/dev/pywikibot/pywikibot-git/tests/make_dist_tests.py' != '/Users/roy/dev/pywikibot/venv/bin/pytest'
FAILED tests/page_tests.py::TestShortLink::test_create_short_link - pywikibot.exceptions.NoUsernameError: ERROR: username for meta:meta is undefined.
FAILED tests/script_tests.py::TestScriptSimulate::test_category - AssertionError: 'Traceback (most recent call last)' unexpectedly found in 'ERROR: An error occurred for uri https://en.wikipedia.org/w/api.php\nERROR: Traceback (most recent call last... FAILED tests/script_tests.py::TestScriptSimulate::test_category_redirect - AssertionError: 'Traceback (most recent call last)' unexpectedly found in 'Checking hard-redirect category pages.\nERROR: An error occurred for uri https://en.wikipedia.org/w/api.php\... FAILED tests/site_detect_tests.py::MediaWikiSiteTestCase::test_proofreadwiki - pywikibot.exceptions.ClientError: (403) Request forbidden -- authorization will not help
I'm trying to get up to speed on the pywikibot project culture. How many of these are known issues? Are they being worked on? Should I work on them?
I took a look in more detail at the first one (TestHttpStatus::test_follow_redirects). I'm not sure what this test is trying to do. It depends on how the requests library processes redirects and/or how
en.wikipedia.org responds to escaped spaces in URLs, neither of which seem like anything that has to do with the pywikibot codebase, so I don't understand what value this test is adding.