def setUp(self):
    super(MissingPackageTestCase, self).setUp()
    self.output_text = ''
    self.orig_raw_input = bot.ui._raw_input
    self.orig_output = bot.ui.output
    bot.ui._raw_input = (lambda *args, **kwargs: 'dummy input')
    bot.ui.output = self._capture_output
def setUp(self):
    super(MissingPackageTestCase, self).setUp()
    self.output_text = 
    self.orig_raw_input = bot.ui._raw_input
    self.orig_output = bot.ui.output
    bot.ui._raw_input = (lambda *args, **kwargs: 'dummy input')
    bot.ui.output = self._capture_output