Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- running nosetests
- running egg_info
- writing requirements to pywikibot.egg-info/requires.txt
- writing pywikibot.egg-info/PKG-INFO
- writing top-level names to pywikibot.egg-info/top_level.txt
- writing dependency_links to pywikibot.egg-info/dependency_links.txt
- reading manifest file 'pywikibot.egg-info/SOURCES.txt'
- writing manifest file 'pywikibot.egg-info/SOURCES.txt'
- Searching for ipaddr>=2.1.10
- Best match: ipaddr 2.1.11
- Processing ipaddr-2.1.11-py2.7.egg
- Using /Users/VcamX/Documents/workspace/core/.eggs/ipaddr-2.1.11-py2.7.egg
- Searching for unicodecsv
- Best match: unicodecsv 0.13.0
- Processing unicodecsv-0.13.0-py2.7.egg
- Using /Users/VcamX/Documents/workspace/core/.eggs/unicodecsv-0.13.0-py2.7.egg
- Test a static request. ... ERROR: Detected MediaWiki API exception fake; raising
- ok
- Test a Page instance as parameter using ASCII chars. ... ERROR: Detected MediaWiki API exception fake; raising
- ok
- Test a Page instance as parameter using non-ASCII chars. ... ERROR: Detected MediaWiki API exception fake; raising
- ok
- Test api.Request() constructor with implicit site creation. ... WARNING: /Users/VcamX/Documents/workspace/core/tests/api_tests.py:109: RuntimeWarning: Request() invoked without a site
- req = api.Request(action="test", foo="", bar="test")
- WARNING: /Users/VcamX/Documents/workspace/core/tests/api_tests.py:109: DeprecationWarning: Instead of using kwargs from Request.__init__, parameters for the request to the API should be added via the "parameters" parameter.
- req = api.Request(action="test", foo="", bar="test")
- ok
- test_internals (tests.api_tests.TestCachedRequest) ... WARNING: /Users/VcamX/Documents/workspace/core/pywikibot/data/api.py:2127: DeprecationWarning: Instead of using kwargs from Request.__init__, parameters for the request to the API should be added via the "parameters" parameter.
- super(CachedRequest, self).__init__(*args, **kwargs)
- ok
- test_normal_use (tests.api_tests.TestCachedRequest) ... WARNING: /Users/VcamX/Documents/workspace/core/pywikibot/data/api.py:2127: DeprecationWarning: Instead of using kwargs from Request.__init__, parameters for the request to the API should be added via the "parameters" parameter.
- super(CachedRequest, self).__init__(*args, **kwargs)
- WARNING: /Users/VcamX/Documents/workspace/core/pywikibot/data/api.py:2127: DeprecationWarning: Instead of using kwargs from Request.__init__, parameters for the request to the API should be added via the "parameters" parameter.
- super(CachedRequest, self).__init__(*args, **kwargs)
- WARNING: /Users/VcamX/Documents/workspace/core/pywikibot/data/api.py:2127: DeprecationWarning: Instead of using kwargs from Request.__init__, parameters for the request to the API should be added via the "parameters" parameter.
- super(CachedRequest, self).__init__(*args, **kwargs)
- ok
- Test api.Request() constructor. ... WARNING: /Users/VcamX/Documents/workspace/core/tests/utils.py:283: DeprecationWarning: Instead of using kwargs from Request.__init__, parameters for the request to the API should be added via the "parameters" parameter.
- _original_Request.__init__(self, *args, **kwargs)
- ok
- Test if parameters is used with kwargs. ... WARNING: /Users/VcamX/Documents/workspace/core/tests/utils.py:283: DeprecationWarning: Both kwargs and parameters are set in Request.__init__. It assumes that "parameters" is actually a parameter of the Request and is added to kwargs.
- _original_Request.__init__(self, *args, **kwargs)
- WARNING: /Users/VcamX/Documents/workspace/core/tests/utils.py:283: DeprecationWarning: Instead of using kwargs from Request.__init__, parameters for the request to the API should be added via the "parameters" parameter.
- _original_Request.__init__(self, *args, **kwargs)
- ok
- Test keys, values and items from MutableMapping. ... ok
- Test attributes method. ... ok
- test_generators (tests.api_tests.TestParamInfo) ... ok
- test_init (tests.api_tests.TestParamInfo) ... ok
- test_init_pageset (tests.api_tests.TestParamInfo) ... ok
- Test module paths use the complete paths. ... ok
- Test v1.8 modules exist. ... WARNING: /Users/VcamX/Documents/workspace/core/tests/api_tests.py:333: DeprecationWarning: pywikibot.data.api.ParamInfo.modules is deprecated, use submodules() or module_paths instead.
- self.assertIn('revisions', pi.modules)
- WARNING: /Users/VcamX/Documents/workspace/core/tests/api_tests.py:334: DeprecationWarning: pywikibot.data.api.ParamInfo.modules is deprecated, use submodules() or module_paths instead.
- self.assertIn('help', pi.modules)
- WARNING: /Users/VcamX/Documents/workspace/core/tests/api_tests.py:335: DeprecationWarning: pywikibot.data.api.ParamInfo.modules is deprecated, use submodules() or module_paths instead.
- self.assertIn('allpages', pi.modules)
- WARNING: /Users/VcamX/Documents/workspace/core/tests/api_tests.py:336: DeprecationWarning: pywikibot.data.api.ParamInfo.modules is deprecated, use submodules() or module_paths instead.
- for mod in pi.modules:
- ok
- test_multiple_modules (tests.api_tests.TestParamInfo) ... ok
- test_new_mode (tests.api_tests.TestParamInfo) ... WARNING: /Users/VcamX/Documents/workspace/core/tests/api_tests.py:405: DeprecationWarning: pywikibot.data.api.ParamInfo.prefixes is deprecated, use prefix_map instead.
- self.assertIn('revisions', pi.prefixes)
- WARNING: /Users/VcamX/Documents/workspace/core/pywikibot/data/api.py:961: DeprecationWarning: pywikibot.data.api.ParamInfo.module_attribute_map is deprecated, use attributes instead.
- self._prefixes = self.module_attribute_map('prefix')
- WARNING: /Users/VcamX/Documents/workspace/core/pywikibot/data/api.py:1013: DeprecationWarning: pywikibot.data.api.ParamInfo.modules is deprecated, use submodules() or module_paths instead.
- modules = self.modules | self._prefix_submodules(
- ok
- test_old_mode (tests.api_tests.TestParamInfo) ... WARNING: API warning (paraminfo): The querymodules parameter has been deprecated.
- WARNING: API warning (paraminfo): The mainmodule parameter has been deprecated.
- WARNING: API warning (paraminfo): The querymodules parameter has been deprecated.
- WARNING: /Users/VcamX/Documents/workspace/core/tests/api_tests.py:387: DeprecationWarning: pywikibot.data.api.ParamInfo.prefixes is deprecated, use prefix_map instead.
- self.assertIn('revisions', pi.prefixes)
- WARNING: /Users/VcamX/Documents/workspace/core/pywikibot/data/api.py:961: DeprecationWarning: pywikibot.data.api.ParamInfo.module_attribute_map is deprecated, use attributes instead.
- self._prefixes = self.module_attribute_map('prefix')
- WARNING: /Users/VcamX/Documents/workspace/core/pywikibot/data/api.py:1013: DeprecationWarning: pywikibot.data.api.ParamInfo.modules is deprecated, use submodules() or module_paths instead.
- modules = self.modules | self._prefix_submodules(
- WARNING: API warning (paraminfo): The querymodules parameter has been deprecated.
- ok
- Test module prefixes use the path. ... ok
- Test v1.8 module prefixes exist. ... WARNING: /Users/VcamX/Documents/workspace/core/tests/api_tests.py:352: DeprecationWarning: pywikibot.data.api.ParamInfo.prefixes is deprecated, use prefix_map instead.
- self.assertIn('revisions', pi.prefixes)
- WARNING: /Users/VcamX/Documents/workspace/core/pywikibot/data/api.py:961: DeprecationWarning: pywikibot.data.api.ParamInfo.module_attribute_map is deprecated, use attributes instead.
- self._prefixes = self.module_attribute_map('prefix')
- WARNING: /Users/VcamX/Documents/workspace/core/pywikibot/data/api.py:1013: DeprecationWarning: pywikibot.data.api.ParamInfo.modules is deprecated, use submodules() or module_paths instead.
- modules = self.modules | self._prefix_submodules(
- WARNING: /Users/VcamX/Documents/workspace/core/tests/api_tests.py:353: DeprecationWarning: pywikibot.data.api.ParamInfo.prefixes is deprecated, use prefix_map instead.
- self.assertIn('login', pi.prefixes)
- WARNING: /Users/VcamX/Documents/workspace/core/tests/api_tests.py:354: DeprecationWarning: pywikibot.data.api.ParamInfo.prefixes is deprecated, use prefix_map instead.
- self.assertIn('allpages', pi.prefixes)
- ok
- test_query_modules_with_limits (tests.api_tests.TestParamInfo) ... ok
- Test another module apart from query having submodules. ... WARNING: API warning (paraminfo): The module "query" does not have a submodule "foobar"
- ok
- test_with_invalid_module (tests.api_tests.TestParamInfo) ... WARNING: API warning (paraminfo): The module "main" does not have a submodule "foobar"
- WARNING: API warning (paraminfo): The module "main" does not have a submodule "foobar"
- WARNING: API warning (paraminfo): The module "main" does not have a submodule "foobar"
- ok
- test_with_module_info (tests.api_tests.TestParamInfo) ... ok
- test_with_module_revisions (tests.api_tests.TestParamInfo) ... ok
- Test CreatingPageBot class. ... WARNING: Page "Main Page" does already exist on local:en.
- ok
- Test ExistingPageBot class. ... WARNING: Page "Main PageX" does not exist on local:en.
- ok
- Test Request object when not a user. ... WARNING: /usr/local/var/pyenv/versions/2.7.9/lib/python2.7/unittest/case.py:993: DeprecationWarning: Instead of using kwargs from Request.__init__, parameters for the request to the API should be added via the "parameters" parameter.
- callable_obj(*args, **kwargs)
- WARNING: /usr/local/var/pyenv/versions/2.7.9/lib/python2.7/unittest/case.py:993: DeprecationWarning: Instead of using kwargs from Request.__init__, parameters for the request to the API should be added via the "parameters" parameter.
- callable_obj(*args, **kwargs)
- ok
- Test Request object when username is correct. ... WARNING: /Users/VcamX/Documents/workspace/core/tests/dry_api_tests.py:219: DeprecationWarning: Instead of using kwargs from Request.__init__, parameters for the request to the API should be added via the "parameters" parameter.
- Request(site=site, action='edit')
- WARNING: /Users/VcamX/Documents/workspace/core/pywikibot/data/api.py:1447: DrySiteNote: DrySite(u'en', 'local') returning version 1.24; override if unsuitable.
- if ((self.write and MediaWikiVersion(self.site.version()) >= MediaWikiVersion("1.23")) or
- ok
- Test Request object when username is not correct. ... WARNING: /Users/VcamX/Documents/workspace/core/tests/dry_api_tests.py:211: DeprecationWarning: Instead of using kwargs from Request.__init__, parameters for the request to the API should be added via the "parameters" parameter.
- Request(site=site, action='edit')
- WARNING: API write action by unexpected username commenced.
- userinfo: {u'name': u'other_username', u'groups': []}
- WARNING: /Users/VcamX/Documents/workspace/core/pywikibot/data/api.py:1447: DrySiteNote: DrySite(u'en', 'local') returning version 1.24; override if unsuitable.
- if ((self.write and MediaWikiVersion(self.site.version()) >= MediaWikiVersion("1.23")) or
- ok
- Test Request object prepared to upload. ... WARNING: /Users/VcamX/Documents/workspace/core/tests/dry_api_tests.py:262: DeprecationWarning: Instead of using kwargs from Request.__init__, parameters for the request to the API should be added via the "parameters" parameter.
- filename=os.path.join(_images_dir, 'MP_sounds.png'))
- WARNING: /Users/VcamX/Documents/workspace/core/pywikibot/data/api.py:1447: DrySiteNote: DrySite(u'en', 'local') returning version 1.24; override if unsuitable.
- if ((self.write and MediaWikiVersion(self.site.version()) >= MediaWikiVersion("1.23")) or
- ok
- test_attribute (tests.dry_api_tests.ParamInfoDictTests) ... ok
- test_new_format (tests.dry_api_tests.ParamInfoDictTests) ... ok
- test_old_format (tests.dry_api_tests.ParamInfoDictTests) ... ok
- test_parameter (tests.dry_api_tests.ParamInfoDictTests) ... ok
- Test QueryGenerator constructor. ... WARNING: /Users/VcamX/Documents/workspace/core/pywikibot/data/api.py:2489: DeprecationWarning: Instead of using kwargs from Request.__init__, parameters for the request to the API should be added via the "parameters" parameter.
- kwargs = self.request_class.clean_kwargs(kwargs)
- WARNING: /Users/VcamX/Documents/workspace/core/pywikibot/data/api.py:2411: DrySiteNote: DrySite(u'en', 'local') returning version 1.24; override if unsuitable.
- if MediaWikiVersion(self.site.version()) < MediaWikiVersion('1.21'):
- WARNING: /Users/VcamX/Documents/workspace/core/pywikibot/data/api.py:2489: DeprecationWarning: Instead of using kwargs from Request.__init__, parameters for the request to the API should be added via the "parameters" parameter.
- kwargs = self.request_class.clean_kwargs(kwargs)
- WARNING: /Users/VcamX/Documents/workspace/core/pywikibot/data/api.py:2411: DrySiteNote: DrySite(u'en', 'local') returning version 1.24; override if unsuitable.
- if MediaWikiVersion(self.site.version()) < MediaWikiVersion('1.21'):
- ok
- test_logged_in (tests.dry_site_tests.TestDrySite) ... ok
- test_user_agent (tests.dry_site_tests.TestDrySite) ... ok
- Test i18n.input falls back with missing message package. ... ok
- test_ignore_invalid_isbn (tests.isbn_tests.TestCosmeticChangesISBN) ... WARNING: /Users/VcamX/Documents/workspace/core/pywikibot/cosmetic_changes.py:203: ImportWarning: package stdnum.isbn not found; using scripts.isbn
- ok
- test_invalid_isbn (tests.isbn_tests.TestCosmeticChangesISBN) ... WARNING: /Users/VcamX/Documents/workspace/core/pywikibot/cosmetic_changes.py:203: ImportWarning: package stdnum.isbn not found; using scripts.isbn
- WARNING: /Users/VcamX/Documents/workspace/core/pywikibot/cosmetic_changes.py:203: ImportWarning: package stdnum.isbn not found; using scripts.isbn
- WARNING: /Users/VcamX/Documents/workspace/core/pywikibot/cosmetic_changes.py:203: ImportWarning: package stdnum.isbn not found; using scripts.isbn
- WARNING: /Users/VcamX/Documents/workspace/core/pywikibot/cosmetic_changes.py:203: ImportWarning: package stdnum.isbn not found; using scripts.isbn
- ok
- Test ISBN. ... WARNING: /Users/VcamX/Documents/workspace/core/pywikibot/cosmetic_changes.py:203: ImportWarning: package stdnum.isbn not found; using scripts.isbn
- WARNING: /Users/VcamX/Documents/workspace/core/pywikibot/cosmetic_changes.py:203: ImportWarning: package stdnum.isbn not found; using scripts.isbn
- ok
- Test combinations of parameters. ... ok
- Test that invalid titles raise InvalidTitle exception. ... ok
- Test that relative links are handled properly. ... ok
- Test that valid titles are correctly normalized. ... ok
- Test identity. ... ok
- Test login. ... Logged in to local:en via consumer f912b1e8556d297ac9d390b9c747fc04
- ok
- Test getCreator. ... ok
- Test Page.contributors(). ... ok
- Test Page.edit_count(). ... ok
- Test Page.revisions(). ... ok
- Test various methods that rely on API. ... WARNING: /Users/VcamX/Documents/workspace/core/tests/page_tests.py:400: DeprecationWarning: pywikibot.page.BasePage.latestRevision is deprecated, use latest_revision_id instead.
- self.assertIsInstance(mainpage.latestRevision(), int)
- ok
- Test BasePage constructor. ... ok
- Test isCategory method. ... ok
- Test the integration with Extension:Disambiguator. ... SKIP: Disambiguator extension not loaded on test site
- testIsImage (tests.page_tests.TestPageObject) ... ok
- Test isTalkPage() method. ... ok
- testLinks (tests.page_tests.TestPageObject) ... ok
- Test namespace() method. ... ok
- Test Page constructor. ... ok
- testPickleAbility (tests.page_tests.TestPageObject) ... ok
- testReferences (tests.page_tests.TestPageObject) ... ok
- Test section() method. ... ok
- Test site() method. ... ok
- Test title() method options in article namespace. ... ok
- Test various methods that rely on API: bad page. ... ok
- Test that the redirect option is set correctly. ... SKIP: No redirect pages on site Site("en", "local")
- Test various methods that rely on API: talk page. ... SKIP: No talk page for local:en's main page
- Test that repr returns ASCII compatible bytes in Python 2. ... WARNING: /usr/local/var/pyenv/versions/2.7.9/lib/python2.7/unittest/case.py:340: RuntimeWarning: TestResult has no addExpectedFailure method, reporting as passes
- ok
- Test the return type of repr(Page(<main page>)) is str. ... ok
- Test u'{x!r}'.format(Page(u'<non-ascii>')) raises exception on Python 2. ... ok
- Test the return type of repr(Page(u'<non-ascii>')) is str. ... ok
- Test repr(Page(u'<non-ascii>')) is represented simply as utf8. ... ok
- Test to capture actual Python 3 result pre unicode_literals. ... SKIP: Python 3+ specific test
- test_purge (tests.page_tests.TestPageUserAction) ... Sleeping for 19.2 seconds, 2015-07-29 21:25:03
- ok
- Test Page.watch, with and without unwatch enabled. ... Sleeping for 17.7 seconds, 2015-07-29 21:25:25
- WARNING: API warning (watch): The title parameter has been deprecated.
- Sleeping for 19.2 seconds, 2015-07-29 21:25:43
- WARNING: API warning (watch): The title parameter has been deprecated.
- ok
- Test running login -simulate. ... SKIP: Skipping execution of auto-run scripts (set PYWIKIBOT2_TEST_AUTORUN=1 to enable) "login"
- Test running add_text -simulate. ... ok
- Test running archivebot -simulate. ... ok
- Test running basic -simulate. ... ok
- Test running blockpageschecker -simulate. ... SKIP: Skipping execution of auto-run scripts (set PYWIKIBOT2_TEST_AUTORUN=1 to enable) "blockpageschecker"
- Test running blockreview -simulate. ... SKIP: Skipping execution of auto-run scripts (set PYWIKIBOT2_TEST_AUTORUN=1 to enable) "blockreview"
- Test running capitalize_redirects -simulate. ... ok
- Test running casechecker -simulate. ... SKIP: Skipping execution of auto-run scripts (set PYWIKIBOT2_TEST_AUTORUN=1 to enable) "casechecker"
- Test running catall -simulate. ... WARNING: /usr/local/var/pyenv/versions/2.7.9/lib/python2.7/unittest/case.py:340: RuntimeWarning: TestResult has no addExpectedFailure method, reporting as passes
- ok
- Test running category -simulate. ... ok
- Test running category_redirect -simulate. ... SKIP: Skipping execution of auto-run scripts (set PYWIKIBOT2_TEST_AUTORUN=1 to enable) "category_redirect"
- Test running cfd -simulate. ... SKIP: Skipping execution of auto-run scripts (set PYWIKIBOT2_TEST_AUTORUN=1 to enable) "cfd"
- Test running checkimages -simulate. ... ERROR: SkipTest: Skipping execution of auto-run scripts (set PYWIKIBOT2_TEST_AUTORUN=1 to enable) "checkimages"
- Traceback (most recent call last):
- File "/Users/VcamX/Documents/workspace/core/tests/utils.py", line 74, in wrapper
- func(*args, **kwargs)
- File "/Users/VcamX/Documents/workspace/core/tests/script_tests.py", line 224, in test_skip_script
- 'PYWIKIBOT2_TEST_AUTORUN=1 to enable) "{0}"'.format(script_name))
- SkipTest: Skipping execution of auto-run scripts (set PYWIKIBOT2_TEST_AUTORUN=1 to enable) "checkimages"SKIP: Test is allowed to fail.
- Test running claimit -simulate. ... ok
- Test running clean_sandbox -simulate. ... SKIP: Skipping execution of auto-run scripts (set PYWIKIBOT2_TEST_AUTORUN=1 to enable) "clean_sandbox"
- Test running commons_link -simulate. ... ok
- Test running commonscat -simulate. ... ok
- Test running coordinate_import -simulate. ... ok
- Test running cosmetic_changes -simulate. ... ok
- Test running create_categories -simulate. ... ok
- Test running data_ingestion -simulate. ... ok
- Test running delete -simulate. ... ok
- Test running disambredir -simulate. ... ERROR: SkipTest: Skipping execution of auto-run scripts (set PYWIKIBOT2_TEST_AUTORUN=1 to enable) "disambredir"
- Traceback (most recent call last):
- File "/Users/VcamX/Documents/workspace/core/tests/utils.py", line 74, in wrapper
- func(*args, **kwargs)
- File "/Users/VcamX/Documents/workspace/core/tests/script_tests.py", line 224, in test_skip_script
- 'PYWIKIBOT2_TEST_AUTORUN=1 to enable) "{0}"'.format(script_name))
- SkipTest: Skipping execution of auto-run scripts (set PYWIKIBOT2_TEST_AUTORUN=1 to enable) "disambredir"SKIP: Test is allowed to fail.
- Test running djvutext -simulate. ... ok
- Test running editarticle -simulate. ... ok
- Test running featured -simulate. ... SKIP: Skipping execution of auto-run scripts (set PYWIKIBOT2_TEST_AUTORUN=1 to enable) "featured"
- Test running fixing_redirects -simulate. ... ok
- Test running flickrripper -simulate. ... WARNING: /usr/local/var/pyenv/versions/2.7.9/lib/python2.7/unittest/case.py:340: RuntimeWarning: TestResult has no addExpectedFailure method, reporting as passes
- ok
- Test running freebasemappingupload -simulate. ... ok
- Test running harvest_template -simulate. ... ok
- Test running illustrate_wikidata -simulate. ... ok
- Test running image -simulate. ... ok
- Test running imagerecat -simulate. ... SKIP: Skipping execution of auto-run scripts (set PYWIKIBOT2_TEST_AUTORUN=1 to enable) "imagerecat"
- Test running imagetransfer -simulate. ... ok
- Test running imageuncat -simulate. ... ok
- Test running interwiki -simulate. ... ok
- Test running isbn -simulate. ... ok
- Test running listpages -simulate. ... ok
- Test running lonelypages -simulate. ... ERROR: SkipTest: Skipping execution of auto-run scripts (set PYWIKIBOT2_TEST_AUTORUN=1 to enable) "lonelypages"
- Traceback (most recent call last):
- File "/Users/VcamX/Documents/workspace/core/tests/utils.py", line 74, in wrapper
- func(*args, **kwargs)
- File "/Users/VcamX/Documents/workspace/core/tests/script_tests.py", line 224, in test_skip_script
- 'PYWIKIBOT2_TEST_AUTORUN=1 to enable) "{0}"'.format(script_name))
- SkipTest: Skipping execution of auto-run scripts (set PYWIKIBOT2_TEST_AUTORUN=1 to enable) "lonelypages"SKIP: Test is allowed to fail.
- Test running makecat -simulate. ... ok
- Test running match_images -simulate. ... ok
- Test running misspelling -simulate. ... ERROR: SkipTest: Skipping execution of auto-run scripts (set PYWIKIBOT2_TEST_AUTORUN=1 to enable) "misspelling"
- Traceback (most recent call last):
- File "/Users/VcamX/Documents/workspace/core/tests/utils.py", line 74, in wrapper
- func(*args, **kwargs)
- File "/Users/VcamX/Documents/workspace/core/tests/script_tests.py", line 224, in test_skip_script
- 'PYWIKIBOT2_TEST_AUTORUN=1 to enable) "{0}"'.format(script_name))
- SkipTest: Skipping execution of auto-run scripts (set PYWIKIBOT2_TEST_AUTORUN=1 to enable) "misspelling"SKIP: Test is allowed to fail.
- Test running movepages -simulate. ... ok
- Test running newitem -simulate. ... ok
- Test running noreferences -simulate. ... SKIP: Skipping execution of auto-run scripts (set PYWIKIBOT2_TEST_AUTORUN=1 to enable) "noreferences"
- Test running nowcommons -simulate. ... SKIP: Skipping execution of auto-run scripts (set PYWIKIBOT2_TEST_AUTORUN=1 to enable) "nowcommons"
- Test running pagefromfile -simulate. ... ok
- Test running patrol -simulate. ... WARNING: /usr/local/var/pyenv/versions/2.7.9/lib/python2.7/unittest/case.py:340: RuntimeWarning: TestResult has no addExpectedFailure method, reporting as passes
- ok
- Test running piper -simulate. ... ok
- Test running protect -simulate. ... ok
- Test running redirect -simulate. ... ok
- Test running reflinks -simulate. ... ok
- Test running replace -simulate. ... ok
- Test running replicate_wiki -simulate. ... ok
- Test running revertbot -simulate. ... SKIP: Skipping execution of auto-run scripts (set PYWIKIBOT2_TEST_AUTORUN=1 to enable) "revertbot"
- Test running selflink -simulate. ... ok
- Test running shell -simulate. ... SKIP: Skipping execution of auto-run scripts (set PYWIKIBOT2_TEST_AUTORUN=1 to enable) "shell"
- Test running solve_disambiguation -simulate. ... ok
- Test running spamremove -simulate. ... ok
- Test running states_redirect -simulate. ... WARNING: /usr/local/var/pyenv/versions/2.7.9/lib/python2.7/unittest/case.py:340: RuntimeWarning: TestResult has no addExpectedFailure method, reporting as passes
- ok
- Test running template -simulate. ... ok
- Test running templatecount -simulate. ... ok
- Test running touch -simulate. ... ok
- Test running transferbot -simulate. ... ok
- Test running unlink -simulate. ... ok
- Test running unusedfiles -simulate. ... SKIP: Skipping execution of auto-run scripts (set PYWIKIBOT2_TEST_AUTORUN=1 to enable) "unusedfiles"
- Test running upload -simulate. ... WARNING: /usr/local/var/pyenv/versions/2.7.9/lib/python2.7/unittest/case.py:340: RuntimeWarning: TestResult has no addExpectedFailure method, reporting as passes
- ok
- Test running watchlist -simulate. ... ERROR: SkipTest: Skipping execution of auto-run scripts (set PYWIKIBOT2_TEST_AUTORUN=1 to enable) "watchlist"
- Traceback (most recent call last):
- File "/Users/VcamX/Documents/workspace/core/tests/utils.py", line 74, in wrapper
- func(*args, **kwargs)
- File "/Users/VcamX/Documents/workspace/core/tests/script_tests.py", line 224, in test_skip_script
- 'PYWIKIBOT2_TEST_AUTORUN=1 to enable) "{0}"'.format(script_name))
- SkipTest: Skipping execution of auto-run scripts (set PYWIKIBOT2_TEST_AUTORUN=1 to enable) "watchlist"SKIP: Test is allowed to fail.
- Test running weblinkchecker -simulate. ... ok
- Test running welcome -simulate. ... SKIP: Skipping execution of auto-run scripts (set PYWIKIBOT2_TEST_AUTORUN=1 to enable) "welcome"
- Test the site.search() method. ... WARNING: search: namespaces cannot be empty; using [0].
- WARNING: search: namespaces cannot be empty; using [0].
- ok
- Test site.randompages() with limit. ... ok
- Test site.randompages() with namespaces. ... ok
- Test site.randompages() with redirects. ... ok
- Test site.randompages() continuation. ... ok
- SKIP: SiteSysopTestCase: No sysop username for local:en
- -------------------- >> begin captured logging << --------------------
- requests_oauthlib.oauth1_auth: DEBUG: Signing request <PreparedRequest [GET]> using client <Client nonce=None, signature_method=HMAC-SHA1, realm=None, encoding=utf-8, timestamp=None, resource_owner_secret=****, decoding=utf-8, verifier=None, signature_type=AUTH_HEADER, rsa_key=None, resource_owner_key=3994505207cb5eef63722dc1bdf741a1, client_secret=****, callback_uri=None, client_key=f912b1e8556d297ac9d390b9c747fc04>
- requests_oauthlib.oauth1_auth: DEBUG: Including body in call to sign: False
- oauthlib.oauth1.rfc5849: DEBUG: Collected params: [(u'oauth_nonce', u'157187796251468410681438176436'), (u'oauth_timestamp', u'1438176436'), (u'oauth_consumer_key', u'f912b1e8556d297ac9d390b9c747fc04'), (u'oauth_signature_method', u'HMAC-SHA1'), (u'oauth_version', u'1.0'), (u'oauth_token', u'3994505207cb5eef63722dc1bdf741a1')]
- oauthlib.oauth1.rfc5849: DEBUG: Normalized params: oauth_consumer_key=f912b1e8556d297ac9d390b9c747fc04&oauth_nonce=157187796251468410681438176436&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1438176436&oauth_token=3994505207cb5eef63722dc1bdf741a1&oauth_version=1.0
- oauthlib.oauth1.rfc5849: DEBUG: Normalized URI: http://192.168.2.168:8080/
- oauthlib.oauth1.rfc5849: DEBUG: Base signing string: GET&http%3A%2F%2F192.168.2.168%3A8080%2F&oauth_consumer_key%3Df912b1e8556d297ac9d390b9c747fc04%26oauth_nonce%3D157187796251468410681438176436%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1438176436%26oauth_token%3D3994505207cb5eef63722dc1bdf741a1%26oauth_version%3D1.0
- oauthlib.oauth1.rfc5849: DEBUG: Signature: deCcxaxs0hxDKdy7+BduMWQz1zQ=
- oauthlib.oauth1.rfc5849: DEBUG: Encoding URI, headers and body to utf-8.
- requests_oauthlib.oauth1_auth: DEBUG: Updated url: http://192.168.2.168:8080/
- requests_oauthlib.oauth1_auth: DEBUG: Updated headers: {'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'user-agent': 'setup Pywikibot/2.0b3 (g6065) requests/2.7.0 Python/2.7.9.final.0', 'Connection': 'keep-alive', 'Cookie': 'bitnami_mediawiki_session=ec6ac8354153fc340aa27b81604570c0', 'Authorization': 'OAuth oauth_nonce="157187796251468410681438176436", oauth_timestamp="1438176436", oauth_version="1.0", oauth_signature_method="HMAC-SHA1", oauth_consumer_key="f912b1e8556d297ac9d390b9c747fc04", oauth_token="3994505207cb5eef63722dc1bdf741a1", oauth_signature="deCcxaxs0hxDKdy7%2BBduMWQz1zQ%3D"'}
- requests_oauthlib.oauth1_auth: DEBUG: Updated body: None
- requests.packages.urllib3.connectionpool: DEBUG: "GET / HTTP/1.1" 200 924
- --------------------- >> end captured logging << ---------------------
- Test the site.logevents() method. ... ok
- test_methods (tests.site_tests.SiteUserTestCase) ... ok
- Test the site.patrol() method. ... Sleeping for 17.3 seconds, 2015-07-29 21:27:24
- SKIP: permissiondenied: Permission denied
- Test the site.users() method. ... WARNING: /Users/VcamX/Documents/workspace/core/pywikibot/data/api.py:2489: DeprecationWarning: Instead of using kwargs from Request.__init__, parameters for the request to the API should be added via the "parameters" parameter.
- kwargs = self.request_class.clean_kwargs(kwargs)
- WARNING: /Users/VcamX/Documents/workspace/core/pywikibot/data/api.py:2489: DeprecationWarning: Instead of using kwargs from Request.__init__, parameters for the request to the API should be added via the "parameters" parameter.
- kwargs = self.request_class.clean_kwargs(kwargs)
- ok
- Test the site.watchlist_revs() method. ... ok
- SKIP: TestDataSiteClientPreloading: Site("en", "local") does not have data repository
- Test the site.imageusage() method. ... SKIP: No images on site Site("en", "local")
- Test the site.imageusage() method with namespaces. ... SKIP: No images on site Site("en", "local")
- Test the site.imageusage() method on redirects only. ... SKIP: No images on site Site("en", "local")
- Test the site.imageusage() method with redirects. ... SKIP: No images on site Site("en", "local")
- Test basic preloading with pageids. ... ok
- Test preloading continuation works. ... ok
- Test preloading continuation with groupsize greater than total. ... SKIP: insufficient links on main page
- Test sending invalid titles. No warnings issued, but it should. ... SKIP: insufficient links on main page
- test_preload_langlinks_count (tests.site_tests.TestPagePreloading) ... ok
- test_preload_langlinks_normal (tests.site_tests.TestPagePreloading) ... ok
- Test preloading continuation with groupsize greater than total. ... SKIP: insufficient links on main page
- test_preload_templates (tests.site_tests.TestPagePreloading) ... ok
- test_preload_templates_and_langlinks (tests.site_tests.TestPagePreloading) ... ok
- Test sending pageids with unnormalized titles, causing warnings. ... SKIP: insufficient links on main page
- Test sending unnormalized titles, causing warnings. ... SKIP: insufficient links on main page
- Test basic preloading with titles. ... ok
- Test the site.recentchanges() method. ... ok
- Test the site.recentchanges() with changetype. ... ok
- Test the site.recentchanges() with boolean flags. ... ok
- Test the site.recentchanges() method with File: and File talk:. ... ok
- Test the site.recentchanges() with pagelist deprecated MW 1.14. ... ok
- Test the site.recentchanges() method with start/end. ... ok
- Test that namespaces is callable and returns itself. ... ok
- testExtensions (tests.site_tests.TestSiteExtensions) ... ok
- Test the site.allcategories() method. ... ok
- Test the site.allimages() method. ... ok
- Test the site.alllinks() method. ... ok
- Test the site.blocks() method. ... ok
- Test the site.exturlusage() method. ... ok
- Test site methods for getting links to and from a page. ... ok
- Test the site.allpages() method. ... ok
- test_allpages_langlinks_disabled (tests.site_tests.TestSiteGenerators) ... ok
- test_allpages_langlinks_enabled (tests.site_tests.TestSiteGenerators) ... ok
- test_allpages_pagesize (tests.site_tests.TestSiteGenerators) ... ok
- test_allpages_protection (tests.site_tests.TestSiteGenerators) ... ok
- Test the site.allusers() method. ... ok
- Test the site.allusers(prefix=..) method. ... ok
- Test the site.allusers(start=..) method. ... ok
- Test site._generator with namespaces. ... ok
- Test the site.lock_page() and site.unlock_page() method. ... ok
- Test the site.newfiles() method. ... ok
- Test that protectedpages returns protected page titles. ... WARNING: /Users/VcamX/Documents/workspace/core/pywikibot/site.py:5733: DeprecationWarning: pywikibot.site.Namespace.resolve is deprecated, use NamespacesDict.resolve instead.
- namespaces = Namespace.resolve(namespace, self.namespaces)
- ok
- Test that protectedpages returns protected pages. ... WARNING: /Users/VcamX/Documents/workspace/core/pywikibot/site.py:5733: DeprecationWarning: pywikibot.site.Namespace.resolve is deprecated, use NamespacesDict.resolve instead.
- namespaces = Namespace.resolve(namespace, self.namespaces)
- ok
- test_protectedpages_edit_level (tests.site_tests.TestSiteGenerators) ... WARNING: /Users/VcamX/Documents/workspace/core/pywikibot/site.py:5733: DeprecationWarning: pywikibot.site.Namespace.resolve is deprecated, use NamespacesDict.resolve instead.
- namespaces = Namespace.resolve(namespace, self.namespaces)
- WARNING: /Users/VcamX/Documents/workspace/core/pywikibot/site.py:5733: DeprecationWarning: pywikibot.site.Namespace.resolve is deprecated, use NamespacesDict.resolve instead.
- namespaces = Namespace.resolve(namespace, self.namespaces)
- SKIP: The site "local:en" has no protected pages in main namespace.
- Test the siteinfo property. ... WARNING: /Users/VcamX/Documents/workspace/core/tests/site_tests.py:1788: DeprecationWarning: pywikibot.site.APISite.case is deprecated, use use siteinfo or Namespace instance instead.
- self.assertEqual(mysite.case(), mysite.siteinfo['case'])
- ok
- Test site.loadrevisions() with Page.text. ... ok
- SKIP: TestSiteLoadRevisionsSysop: No sysop username for local:en
- -------------------- >> begin captured logging << --------------------
- requests_oauthlib.oauth1_auth: DEBUG: Signing request <PreparedRequest [GET]> using client <Client nonce=None, signature_method=HMAC-SHA1, realm=None, encoding=utf-8, timestamp=None, resource_owner_secret=****, decoding=utf-8, verifier=None, signature_type=AUTH_HEADER, rsa_key=None, resource_owner_key=3994505207cb5eef63722dc1bdf741a1, client_secret=****, callback_uri=None, client_key=f912b1e8556d297ac9d390b9c747fc04>
- requests_oauthlib.oauth1_auth: DEBUG: Including body in call to sign: False
- oauthlib.oauth1.rfc5849: DEBUG: Collected params: [(u'oauth_nonce', u'171454600905033227091438176484'), (u'oauth_timestamp', u'1438176484'), (u'oauth_consumer_key', u'f912b1e8556d297ac9d390b9c747fc04'), (u'oauth_signature_method', u'HMAC-SHA1'), (u'oauth_version', u'1.0'), (u'oauth_token', u'3994505207cb5eef63722dc1bdf741a1')]
- oauthlib.oauth1.rfc5849: DEBUG: Normalized params: oauth_consumer_key=f912b1e8556d297ac9d390b9c747fc04&oauth_nonce=171454600905033227091438176484&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1438176484&oauth_token=3994505207cb5eef63722dc1bdf741a1&oauth_version=1.0
- oauthlib.oauth1.rfc5849: DEBUG: Normalized URI: http://192.168.2.168:8080/
- oauthlib.oauth1.rfc5849: DEBUG: Base signing string: GET&http%3A%2F%2F192.168.2.168%3A8080%2F&oauth_consumer_key%3Df912b1e8556d297ac9d390b9c747fc04%26oauth_nonce%3D171454600905033227091438176484%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1438176484%26oauth_token%3D3994505207cb5eef63722dc1bdf741a1%26oauth_version%3D1.0
- oauthlib.oauth1.rfc5849: DEBUG: Signature: EF/iId+ZeJiTG3t3VDOcFC+RNd0=
- oauthlib.oauth1.rfc5849: DEBUG: Encoding URI, headers and body to utf-8.
- requests_oauthlib.oauth1_auth: DEBUG: Updated url: http://192.168.2.168:8080/
- requests_oauthlib.oauth1_auth: DEBUG: Updated headers: {'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'user-agent': 'setup Pywikibot/2.0b3 (g6065) requests/2.7.0 Python/2.7.9.final.0', 'Connection': 'keep-alive', 'Cookie': 'bitnami_mediawiki_session=ec6ac8354153fc340aa27b81604570c0', 'Authorization': 'OAuth oauth_nonce="171454600905033227091438176484", oauth_timestamp="1438176484", oauth_version="1.0", oauth_signature_method="HMAC-SHA1", oauth_consumer_key="f912b1e8556d297ac9d390b9c747fc04", oauth_token="3994505207cb5eef63722dc1bdf741a1", oauth_signature="EF%2FiId%2BZeJiTG3t3VDOcFC%2BRNd0%3D"'}
- requests_oauthlib.oauth1_auth: DEBUG: Updated body: None
- requests.packages.urllib3.connectionpool: DEBUG: "GET / HTTP/1.1" 200 924
- --------------------- >> end captured logging << ---------------------
- Test generic ApiSite methods. ... ok
- Test cases for BaseSite methods. ... WARNING: /Users/VcamX/Documents/workspace/core/tests/site_tests.py:221: DeprecationWarning: pywikibot.site.BaseSite.nocapitalize is deprecated, use APISite.siteinfo['case'] or Namespace.case == 'case-sensitive' instead.
- self.assertEqual(foo, u"[[foo]]" if mysite.nocapitalize else u"[[Foo]]")
- ok
- Test cases for site constructors. ... ok
- Test Site methods using English specific inputs and outputs. ... ok
- Test cases for languages() and related methods. ... ok
- Test cases for methods manipulating namespace names. ... ok
- Test ApiSite methods for getting page-specific info. ... Retrieving 1 pages from local:en.
- ok
- testPickleAbility (tests.site_tests.TestSiteObject) ... ok
- Test that if filterredir's bool is False it's deprecated to False. ... ok
- Test that filterredir set to 'only' is deprecated to True. ... ok
- Test live_version. ... ok
- Test if the language method returns the same as the lang property. ... ok
- Test live_version. ... ok
- Test ns_index. ... ok
- Test calling the Siteinfo with dump=True. ... ok
- Test calling the Siteinfo without setting dump. ... ok
- Test Site._cache_proofreadinfo(). ... ok
- Test Site._cache_proofreadinfo(). ... ok
- testInvalidToken (tests.site_tests.TestSiteTokens) ... ok
- test_deprecated_token (tests.site_tests.TestSiteTokens) ... WARNING: /Users/VcamX/Documents/workspace/core/tests/site_tests.py:1707: DeprecationWarning: pywikibot.site.APISite.getToken is deprecated, use the 'tokens' property instead.
- self.assertEqual(self.mysite.getToken(), self.mysite.tokens['edit'])
- WARNING: /Users/VcamX/Documents/workspace/core/tests/site_tests.py:1709: DeprecationWarning: pywikibot.site.APISite.getPatrolToken is deprecated, use the 'tokens' property instead.
- self.assertEqual(self.mysite.getPatrolToken(), self.mysite.tokens['patrol'])
- ok
- Test ability to get patrol token on MW 1.16 wiki. ... WARNING: /Users/VcamX/Documents/workspace/core/pywikibot/data/api.py:2489: DeprecationWarning: Instead of using kwargs from Request.__init__, parameters for the request to the API should be added via the "parameters" parameter.
- kwargs = self.request_class.clean_kwargs(kwargs)
- WARNING: /Users/VcamX/Documents/workspace/core/pywikibot/data/api.py:2489: DeprecationWarning: Instead of using kwargs from Request.__init__, parameters for the request to the API should be added via the "parameters" parameter.
- kwargs = self.request_class.clean_kwargs(kwargs)
- ok
- Test ability to get patrol token on MW 1.19 wiki. ... ok
- Test ability to get patrol token. ... ok
- Test ability to get page tokens. ... WARNING: /Users/VcamX/Documents/workspace/core/pywikibot/data/api.py:2489: DeprecationWarning: Instead of using kwargs from Request.__init__, parameters for the request to the API should be added via the "parameters" parameter.
- kwargs = self.request_class.clean_kwargs(kwargs)
- ok
- Test ability to get page tokens. ... ok
- Test ability to get page tokens. ... ok
- Test ability to get page tokens. ... ok
- test_async_request (tests.site_tests.TestSiteinfoAsync) ... ok
- Test the site.usercontribs() method. ... ok
- Test the site.usercontribs() method with invalid parameters. ... ok
- Test the site.usercontribs() method using namespaces. ... ok
- Test the site.usercontribs() method using showMinor. ... ok
- Test the site.usercontribs() method with userprefix. ... ok
- Test the site.usercontribs() method. ... ok
- Test the site.usercontribs() method with range reversed. ... ok
- Test the site.recentchanges() with patrolled boolean flags. ... ok
- test_adjoining_links (tests.textlib_tests.TestCategoryRearrangement) ... ok
- Test in-place category change is reversible. ... ok
- Test in-place category change does not alter the sortkey. ... ok
- test_standard_links (tests.textlib_tests.TestCategoryRearrangement) ... ok
- test_category_format_Category (tests.textlib_tests.TestFormatCategory) ... ok
- test_category_format_Page (tests.textlib_tests.TestFormatCategory) ... ok
- test_category_format_bare (tests.textlib_tests.TestFormatCategory) ... ok
- test_category_format_raw (tests.textlib_tests.TestFormatCategory) ... ok
- test_case_sensitive (tests.textlib_tests.TestReplaceExcept) ... ok
- test_no_replace (tests.textlib_tests.TestReplaceExcept) ... ok
- test_overlapping_replace (tests.textlib_tests.TestReplaceExcept) ... ok
- test_regex_replace (tests.textlib_tests.TestReplaceExcept) ... ok
- test_replace_exception (tests.textlib_tests.TestReplaceExcept) ... ok
- Test replacing in text which contains back references. ... ok
- test_replace_tags (tests.textlib_tests.TestReplaceExcept) ... ok
- test_replace_tags_interwiki (tests.textlib_tests.TestReplaceExcept) ... SKIP: family local:en doesnt have languages
- test_replace_template (tests.textlib_tests.TestReplaceExcept) ... ok
- test_replace_with_marker (tests.textlib_tests.TestReplaceExcept) ... ok
- test_simple_replace (tests.textlib_tests.TestReplaceExcept) ... ok
- SKIP: Tkinter tests are disabled on Travis-CI
- ----------------------------------------------------------------------
- Ran 258 tests in 254.781s
- OK (SKIP=40)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement