edit_failure_tests

Tests in tests.edit_failure_tests:

Available tests

class tests.edit_failure_tests.TestActionFailure(*args, **kwargs)[source]

Test cases for actions which should fail to save.

test_movepage()[source]

Test that site.movepage raises the appropriate exceptions.

class tests.edit_failure_tests.TestSaveFailure(*args, **kwargs)[source]

Test cases for edits which should fail to save.

test_nobots()[source]

Test that {{nobots}} raise the appropriate exception.

test_protected()[source]

Test that protected titles raise the appropriate exception.

test_spam()[source]

Test that spam in content raise the appropriate exception.

class tests.edit_failure_tests.TestWikibaseSaveTest(*args, **kwargs)[source]

Test case for WikibasePage.save on Wikidata test site.

test_itempage_save()[source]

Test ItemPage save method inherited from superclass Page.