jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/642846 )
Change subject: Fix a typo: emtpy -> empty ......................................................................
Fix a typo: emtpy -> empty
Bug: T201491 Change-Id: I6e9560181371cda4662c11f1acf015cd15e67244 --- M tests/tests_tests.py 1 file changed, 4 insertions(+), 4 deletions(-)
Approvals: Jack Phoenix: Looks good to me, but someone else must approve Xqt: Looks good to me, approved jenkins-bot: Verified
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('')
pywikibot-commits@lists.wikimedia.org