jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1057845?usp=email )
Change subject: [tests] use prompt=False for delete() method ......................................................................
[tests] use prompt=False for delete() method
Bug: T367300 Change-Id: Ib6493db4d7740aae10d8361c456b237d69362ee0 --- M tests/edit_tests.py 1 file changed, 2 insertions(+), 3 deletions(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/tests/edit_tests.py b/tests/edit_tests.py index 01d71a1..2b37caf 100755 --- a/tests/edit_tests.py +++ b/tests/edit_tests.py @@ -87,9 +87,9 @@ dest = pywikibot.Page(site, 'User:Sn1per/MergeTest2')
if source.exists(): - source.delete('Pywikibot merge history unit test') + source.delete('Pywikibot merge history unit test', prompt=False) if dest.exists(): - dest.delete('Pywikibot merge history unit test') + dest.delete('Pywikibot merge history unit test', prompt=False)
source.text = 'Lorem ipsum dolor sit amet' source.save() @@ -148,7 +148,6 @@ except Error as err: self.assertEqual(str(err), error_msg)
- @unittest.expectedFailure # T367300 def test_merge_history(self): """Test Site.merge_history functionality.""" site = self.get_site()
pywikibot-commits@lists.wikimedia.org