Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add docstring to __init__.py #240

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion wikiteam3/dumpgenerator/dump/misc/site_info_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@


def test_mediawiki_version_match():
with get_config("1.39.6") as config:
with get_config("1.39.7") as config:
sess = requests.Session()
saveSiteInfo(config, sess)
with open(f"{config.path}/siteinfo.json") as f:
Expand Down
2 changes: 1 addition & 1 deletion wikiteam3/dumpgenerator/test/test_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def _new_config_from_parameter(params):

def get_config(mediawiki_ver, api=True):
assert api == True
if mediawiki_ver == "1.39.6":
if mediawiki_ver >= "1.39.6":
return _new_config_from_parameter(
[
"--api",
Expand Down
2 changes: 2 additions & 0 deletions wikiteam3/utils/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/usr/bin/env python3

from .domain import domain2prefix
from .login import botLogin, clientLogin, fetchLoginToken, indexLogin, uniLogin
from .monkey_patch import mod_requests_text
Expand Down
Loading