jenkins-bot has submitted this change. (
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1293127?usp=email )
Change subject: tests: fix spelling mistake in TestPagesTagParser methods
......................................................................
tests: fix spelling mistake in TestPagesTagParser methods
Change-Id: Icd7f14f8a1d2050e5c449542227d584dacf01691
---
M tests/proofreadpage_tests.py
1 file changed, 2 insertions(+), 2 deletions(-)
Approvals:
jenkins-bot: Verified
Xqt: Looks good to me, approved
diff --git a/tests/proofreadpage_tests.py b/tests/proofreadpage_tests.py
index 88245bf..604a650 100755
--- a/tests/proofreadpage_tests.py
+++ b/tests/proofreadpage_tests.py
@@ -42,7 +42,7 @@
self.assertEqual(attr.attr, 'to')
self.assertEqual(attr.value, 3)
- def test_tag_attr_srt_int(self) -> None:
+ def test_tag_attr_str_int(self) -> None:
"""Test TagAttr for str values that can be converted to int."""
attr = TagAttr('to', '3')
self.assertEqual(repr(attr), "TagAttr('to', '3')")
@@ -994,7 +994,7 @@
self.index.text = self.other_template
self.assertFalse(self.index.has_valid_content())
- def test_has_valid_content_missnamed_template(self) -> None:
+ def test_has_valid_content_misnamed_template(self) -> None:
"""Test nested templates is valid."""
self.index.text = '{{%s_bar|foo=bar}}' % IndexPage.INDEX_TEMPLATE
self.assertFalse(self.index.has_valid_content())
--
To view, visit
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1293127?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.wikimedia.org/r/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: Icd7f14f8a1d2050e5c449542227d584dacf01691
Gerrit-Change-Number: 1293127
Gerrit-PatchSet: 2
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
Pywikibot-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]