def test_pagegen_i18n_input(self):
    'Test i18n.input falls back with missing message package.'
    rv = i18n.input('pywikibot-enter-category-name', fallback_prompt='dummy output')
    self.assertEqual(rv, 'dummy input')
    self.assertIn('dummy output: ', self.output_text)
Test i18n.input falls back with missing message package.
def test_pagegen_i18n_input(self):
    
    rv = i18n.input('pywikibot-enter-category-name', fallback_prompt='dummy output')
    self.assertEqual(rv, 'dummy input')
    self.assertIn('dummy output: ', self.output_text)