jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/993230?usp=email )
Change subject: [tests] expect TestMediaInfoReadonlyEditing to fail ......................................................................
[tests] expect TestMediaInfoReadonlyEditing to fail
TestMediaInfoReadonlyEditing tests fails because anonymous users got edit rights and UserRightsError is no longer raised.
Bug: T355927 Change-Id: I227038265053e3b6c68abbba4f92f884ad552ad5 --- M tests/file_tests.py 1 file changed, 14 insertions(+), 0 deletions(-)
Approvals: jenkins-bot: Verified Matěj Suchánek: Looks good to me, approved
diff --git a/tests/file_tests.py b/tests/file_tests.py index 07868a9..9e6e929 100755 --- a/tests/file_tests.py +++ b/tests/file_tests.py @@ -456,6 +456,7 @@ item.statements, pywikibot.page._collections.ClaimCollection)
+@unittest.expectedFailure # T355927 class TestMediaInfoReadonlyEditing(TestCase):
"""Test writing structured data of FilePage."""