jenkins-bot submitted this change.

View Change

Approvals: Jack Phoenix: Looks good to me, but someone else must approve Xqt: Looks good to me, approved jenkins-bot: Verified
Fix a typo: emtpy -> empty

Bug: T201491
Change-Id: I6e9560181371cda4662c11f1acf015cd15e67244
---
M tests/tests_tests.py
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/tests/tests_tests.py b/tests/tests_tests.py
index 08f34a4..83d7056 100755
--- a/tests/tests_tests.py
+++ b/tests/tests_tests.py
@@ -34,24 +34,24 @@
seq1 = ('foo', 'bar', 'baz')
seq2 = 'foo'

- def test_assert_is_emtpy(self):
+ def test_assert_is_empty(self):
"""Test assertIsEmpty method."""
self.assertIsEmpty([])
self.assertIsEmpty('')

@unittest.expectedFailure
- def test_assert_is_emtpy_fail(self):
+ def test_assert_is_empty_fail(self):
"""Test assertIsEmpty method failing."""
self.assertIsEmpty(self.seq1)
self.assertIsEmpty(self.seq2)

- def test_assert_is_not_emtpy(self):
+ def test_assert_is_not_empty(self):
"""Test assertIsNotEmpty method."""
self.assertIsNotEmpty(self.seq1)
self.assertIsNotEmpty(self.seq2)

@unittest.expectedFailure
- def test_assert_is_not_emtpy_fail(self):
+ def test_assert_is_not_empty_fail(self):
"""Test assertIsNotEmpty method."""
self.assertIsNotEmpty([])
self.assertIsNotEmpty('')

To view, visit change 642846. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I6e9560181371cda4662c11f1acf015cd15e67244
Gerrit-Change-Number: 642846
Gerrit-PatchSet: 2
Gerrit-Owner: DannyS712 <DannyS712.enwiki@gmail.com>
Gerrit-Reviewer: Jack Phoenix <ashley@uncyclomedia.co>
Gerrit-Reviewer: Xqt <info@gno.de>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged