Exemplo n.º 1
0
 def test_dry_run_declaration_when_dry_run_is_false(self):
     bot = AbstractBotJob(dry_run=False)
     bot.logger.info = Mock()
     bot.dry_run_declaration()
     bot.logger.info.assert_called_with(
         'dry-run is FALSE. Permanent modifications can be made.')  # TODO
Exemplo n.º 2
0
 def test_dry_run_declaration_when_dry_run_is_true(self):
     bot = AbstractBotJob(dry_run=True)
     bot.logger.info = Mock()
     bot.dry_run_declaration()
     bot.logger.info.assert_called_with(
         'dry-run is TRUE. No external modifications will be made.')  # TODO