jenkins-bot has submitted this change. ( 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1023107?usp=email )

Change subject: [bugfic] Fix wikibase_(edit_)tests
......................................................................

[bugfic] Fix wikibase_(edit_)tests

Bug: T363101
Change-Id: I3e50f7900e4f053f77ee85841efe8a8433c218d2
---
M tests/wikibase_edit_tests.py
M tests/wikibase_tests.py
2 files changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Xqt: Looks good to me, approved
  jenkins-bot: Verified




diff --git a/tests/wikibase_edit_tests.py b/tests/wikibase_edit_tests.py
index 307c4f5..d2e9fc5 100755
--- a/tests/wikibase_edit_tests.py
+++ b/tests/wikibase_edit_tests.py
@@ -421,7 +421,7 @@
         # set new claim
         claim = pywikibot.page.Claim(
             testsite, 'P88936', datatype='musical-notation')
-        target = "\relative c' { c d e f | g2 g | a4 a a a | g1 |})"
+        target = "\\relative c' { c d e f | g2 g | a4 a a a | g1 |}"
         claim.setTarget(target)
         item.addClaim(claim)

diff --git a/tests/wikibase_tests.py b/tests/wikibase_tests.py
index cea1677..033be36 100755
--- a/tests/wikibase_tests.py
+++ b/tests/wikibase_tests.py
@@ -2014,7 +2014,7 @@
         wikidata = self.get_repo()
         claim = pywikibot.Claim(wikidata, 'P6604')
         self.assertEqual(claim.type, 'musical-notation')
-        target = "\relative c' { c d e f | g2 g | a4 a a a | g1 |})"
+        target = "\\relative c' { c d e f | g2 g | a4 a a a | g1 |}"
         claim.setTarget(target)
         self.assertEqual(claim.target, target)


--
To view, visit 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1023107?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.wikimedia.org/r/settings

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I3e50f7900e4f053f77ee85841efe8a8433c218d2
Gerrit-Change-Number: 1023107
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged
_______________________________________________
Pywikibot-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to