jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/337616 )
Change subject: archivebot_tests: fix spelling of tested function ......................................................................
archivebot_tests: fix spelling of tested function
Function under test is str2localized_duration(). Name of test method is aligned accordingly.
Change-Id: I571ea4073474acd66ca09f1bf41a1194f2714b3c --- M tests/archivebot_tests.py 1 file changed, 3 insertions(+), 3 deletions(-)
Approvals: Dalba: Looks good to me, approved jenkins-bot: Verified
diff --git a/tests/archivebot_tests.py b/tests/archivebot_tests.py index aaded1b..6f56259 100644 --- a/tests/archivebot_tests.py +++ b/tests/archivebot_tests.py @@ -54,7 +54,7 @@ } }
- def test_str2localized_duraction_English(self): + def test_str2localized_duration_English(self): """Test English localizations of duration.""" site = self.get_site('enwiki') self.assertEqual( @@ -64,7 +64,7 @@ self.assertEqual( archivebot.str2localized_duration(site, '10h'), '10 hours')
- def test_str2localized_duraction_French(self): + def test_str2localized_duration_French(self): """Test French localizations of duration.""" site = self.get_site('frwikt') self.assertEqual( @@ -72,7 +72,7 @@ self.assertEqual( archivebot.str2localized_duration(site, '1y'), '1 an')
- def test_str2localized_duraction_Japanese(self): + def test_str2localized_duration_Japanese(self): """Test Japanese localizations of duration.""" site = self.get_site('jawiki') self.assertEqual(