John Vandenberg has uploaded a new change for review.

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

Change subject: Remove lists of missing tests
......................................................................

Remove lists of missing tests

These lists become out of date, and are now tracked in Phabricator T60941.

Bug: T60941
Change-Id: I3bb608c91e47252013ebd0eeef917215c03ce15e
---
M tests/page_tests.py
M tests/site_tests.py
2 files changed, 0 insertions(+), 24 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/pywikibot/core 
refs/changes/53/179053/1

diff --git a/tests/page_tests.py b/tests/page_tests.py
index 2168ff2..84338e2 100644
--- a/tests/page_tests.py
+++ b/tests/page_tests.py
@@ -515,27 +515,6 @@
         page_copy.isDisambig()
         self.assertTrue(page_copy.isRedirectPage())
 
-# methods that still need tests implemented or expanded:
-
-#    def autoFormat(self):
-#    def isAutoTitle(self):
-#    def getOldVersion(self, oldid, force=False, get_redirect=False,
-#                      sysop=False):
-#    text = property(_textgetter, _textsetter, _cleartext,
-#                    "The edited wikitext (unicode) of this Page")
-#    def getReferences(self, follow_redirects=True, withTemplateInclusion=True,
-#                      onlyTemplateInclusion=False, redirectsOnly=False,
-#                      namespaces=None):
-#    def backlinks(self, followRedirects=True, filterRedirects=None,
-#                  namespaces=None):
-#    def embeddedin(self, filter_redirects=None, namespaces=None):
-#    def getVersionHistory(self, reverseOrder=False, getAll=False,
-#                          revCount=500):
-#    def getVersionHistoryTable(self, forceReload=False, reverseOrder=False,
-#                               getAll=False, revCount=500):
-#    def fullVersionHistory(self):
-#    def contributingUsers(self):
-
 
 class TestPageRedirects(TestCase):
 
diff --git a/tests/site_tests.py b/tests/site_tests.py
index 4b56794..e956a72 100644
--- a/tests/site_tests.py
+++ b/tests/site_tests.py
@@ -1201,9 +1201,6 @@
             self.assertIsInstance(rndpage, pywikibot.Page)
             self.assertIn(rndpage.namespace(), [6, 7])
 
-    # TODO: test newimages, longpages, shortpages, ancientpages, unwatchedpages
-    #       and the other following methods in site.py
-
 
 class TestSiteTokens(DefaultSiteTestCase):
 

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I3bb608c91e47252013ebd0eeef917215c03ce15e
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