script_tests

Tests in tests.script_tests:

Available tests

class tests.script_tests.TestScript(*args, **kwargs)[source]

Test cases for scripts.

This class sets the nose ‘site’ attribute on each test depending on whether it is in the auto_run_script_list.

setUp()[source]

Prepare the environment for running the pwb.py script.

tearDown()[source]

Restore the environment after running the pwb.py script.

test__login_help()

Test running login -help

test__login_simulate()

Test running login -simulate.

test_add_text_help()

Test running add_text -help

test_add_text_simulate()

Test running add_text -simulate.

test_archivebot_help()

Test running archivebot -help

test_archivebot_simulate()

Test running archivebot -simulate.

test_basic_help()

Test running basic -help

test_basic_simulate()

Test running basic -simulate.

test_blockpageschecker_help()

Test running blockpageschecker -help

test_blockpageschecker_simulate()

Test running blockpageschecker -simulate.

test_blockreview_help()

Test running blockreview -help

test_blockreview_simulate()

Test running blockreview -simulate.

test_capitalize_redirects_help()

Test running capitalize_redirects -help

test_capitalize_redirects_simulate()

Test running capitalize_redirects -simulate.

test_casechecker_help()

Test running casechecker -help

test_casechecker_simulate()

Test running casechecker -simulate.

test_catall_help()

Test running catall -help

test_catall_simulate()

Test running catall -simulate.

test_category_help()

Test running category -help

test_category_redirect_help()

Test running category_redirect -help

test_category_redirect_simulate()

Test running category_redirect -simulate.

test_category_simulate()

Test running category -simulate.

test_cfd_help()

Test running cfd -help

test_cfd_simulate()

Test running cfd -simulate.

test_checkimages_help()

Test running checkimages -help

test_checkimages_simulate()

Test running checkimages -simulate.

test_claimit_help()

Test running claimit -help

test_claimit_simulate()

Test running claimit -simulate.

test_clean_sandbox_help()

Test running clean_sandbox -help

test_clean_sandbox_simulate()

Test running clean_sandbox -simulate.

Test running commons_link -help

Test running commons_link -simulate.

test_commonscat_help()

Test running commonscat -help

test_commonscat_simulate()

Test running commonscat -simulate.

test_coordinate_import_help()

Test running coordinate_import -help

test_coordinate_import_simulate()

Test running coordinate_import -simulate.

test_cosmetic_changes_help()

Test running cosmetic_changes -help

test_cosmetic_changes_simulate()

Test running cosmetic_changes -simulate.

test_create_categories_help()

Test running create_categories -help

test_create_categories_simulate()

Test running create_categories -simulate.

test_data_ingestion_help()

Test running data_ingestion -help

test_data_ingestion_simulate()

Test running data_ingestion -simulate.

test_delete_help()

Test running delete -help

test_delete_simulate()

Test running delete -simulate.

test_disambredir_help()

Test running disambredir -help

test_disambredir_simulate()

Test running disambredir -simulate.

test_editarticle_help()

Test running editarticle -help

test_editarticle_simulate()

Test running editarticle -simulate.

Test running featured -help

Test running featured -simulate.

test_fixing_redirects_help()

Test running fixing_redirects -help

test_fixing_redirects_simulate()

Test running fixing_redirects -simulate.

test_flickrripper_help()

Test running flickrripper -help

test_flickrripper_simulate()

Test running flickrripper -simulate.

test_freebasemappingupload_help()

Test running freebasemappingupload -help

test_freebasemappingupload_simulate()

Test running freebasemappingupload -simulate.

test_harvest_template_help()

Test running harvest_template -help

test_harvest_template_simulate()

Test running harvest_template -simulate.

test_illustrate_wikidata_help()

Test running illustrate_wikidata -help

test_illustrate_wikidata_simulate()

Test running illustrate_wikidata -simulate.

test_image_help()

Test running image -help

test_image_simulate()

Test running image -simulate.

test_imagerecat_help()

Test running imagerecat -help

test_imagerecat_simulate()

Test running imagerecat -simulate.

test_imagetransfer_help()

Test running imagetransfer -help

test_imagetransfer_simulate()

Test running imagetransfer -simulate.

test_imageuncat_help()

Test running imageuncat -help

test_imageuncat_simulate()

Test running imageuncat -simulate.

test_interwiki_help()

Test running interwiki -help

test_interwiki_simulate()

Test running interwiki -simulate.

test_isbn_help()

Test running isbn -help

test_isbn_simulate()

Test running isbn -simulate.

test_listpages_help()

Test running listpages -help

test_listpages_simulate()

Test running listpages -simulate.

test_lonelypages_help()

Test running lonelypages -help

test_lonelypages_simulate()

Test running lonelypages -simulate.

test_makecat_help()

Test running makecat -help

test_makecat_simulate()

Test running makecat -simulate.

test_misspelling_help()

Test running misspelling -help

test_misspelling_simulate()

Test running misspelling -simulate.

test_movepages_help()

Test running movepages -help

test_movepages_simulate()

Test running movepages -simulate.

test_newitem_help()

Test running newitem -help

test_newitem_simulate()

Test running newitem -simulate.

test_noreferences_help()

Test running noreferences -help

test_noreferences_simulate()

Test running noreferences -simulate.

test_nowcommons_help()

Test running nowcommons -help

test_nowcommons_simulate()

Test running nowcommons -simulate.

test_pagefromfile_help()

Test running pagefromfile -help

test_pagefromfile_simulate()

Test running pagefromfile -simulate.

test_protect_help()

Test running protect -help

test_protect_simulate()

Test running protect -simulate.

test_redirect_help()

Test running redirect -help

test_redirect_simulate()

Test running redirect -simulate.

Test running reflinks -help

Test running reflinks -simulate.

test_replace_help()

Test running replace -help

test_replace_simulate()

Test running replace -simulate.

test_replicate_wiki_help()

Test running replicate_wiki -help

test_replicate_wiki_simulate()

Test running replicate_wiki -simulate.

test_revertbot_help()

Test running revertbot -help

test_revertbot_simulate()

Test running revertbot -simulate.

test_script_wui_help()

Test running script_wui -help

test_script_wui_simulate()

Test running script_wui -simulate.

Test running selflink -help

Test running selflink -simulate.

test_shell_help()

Test running shell -help

test_shell_simulate()

Test running shell -simulate.

test_solve_disambiguation_help()

Test running solve_disambiguation -help

test_solve_disambiguation_simulate()

Test running solve_disambiguation -simulate.

test_spamremove_help()

Test running spamremove -help

test_spamremove_simulate()

Test running spamremove -simulate.

test_states_redirect_help()

Test running states_redirect -help

test_states_redirect_simulate()

Test running states_redirect -simulate.

test_template_help()

Test running template -help

test_template_simulate()

Test running template -simulate.

test_templatecount_help()

Test running templatecount -help

test_templatecount_simulate()

Test running templatecount -simulate.

test_touch_help()

Test running touch -help

test_touch_simulate()

Test running touch -simulate.

test_transferbot_help()

Test running transferbot -help

test_transferbot_simulate()

Test running transferbot -simulate.

Test running unlink -help

Test running unlink -simulate.

test_unusedfiles_help()

Test running unusedfiles -help

test_unusedfiles_simulate()

Test running unusedfiles -simulate.

test_upload_help()

Test running upload -help

test_upload_simulate()

Test running upload -simulate.

test_version_help()

Test running version -help

test_version_simulate()

Test running version -simulate.

test_watchlist_help()

Test running watchlist -help

test_watchlist_simulate()

Test running watchlist -simulate.

test_weblinkchecker_help()

Test running weblinkchecker -help

test_weblinkchecker_simulate()

Test running weblinkchecker -simulate.

test_welcome_help()

Test running welcome -help

test_welcome_simulate()

Test running welcome -simulate.

tests.script_tests.load_tests(loader=<unittest.loader.TestLoader object at 0x7f92be817780>, tests=None, pattern=None)[source]

Load the default modules.