John Vandenberg has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/231203

Change subject: Remove siteinfo key maxuploadsize from tests
......................................................................

Remove siteinfo key maxuploadsize from tests

It is not present on all wikis from v1.14+
and is not used by pywikibot.

Change-Id: I85559e7089940376b1b5070d3e9a5a57dff58fc4
---
M tests/site_tests.py
1 file changed, 0 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/pywikibot/core 
refs/changes/03/231203/1

diff --git a/tests/site_tests.py b/tests/site_tests.py
index 182cd7f..70e2b15 100644
--- a/tests/site_tests.py
+++ b/tests/site_tests.py
@@ -1784,7 +1784,6 @@
         self.assertIsInstance(
             datetime.strptime(mysite.siteinfo['time'], '%Y-%m-%dT%H:%M:%SZ'),
             datetime)
-        self.assertGreater(mysite.siteinfo['maxuploadsize'], 0)
         self.assertIn(mysite.siteinfo['case'], ["first-letter", 
"case-sensitive"])
         self.assertEqual(mysite.case(), mysite.siteinfo['case'])
         self.assertEqual(re.findall("\$1", mysite.siteinfo['articlepath']), 
["$1"])

-- 
To view, visit https://gerrit.wikimedia.org/r/231203
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I85559e7089940376b1b5070d3e9a5a57dff58fc4
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: John Vandenberg <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to