def test_graffiti_monkey_instance_tags_to_propagate_should_be_the_same_with_default_config(
         self):
     cli = GraffitiMonkeyCli()
     self.set_cli_arguments_with_default_config_file(cli)
     self.do_not_propagate_tags_nor_exit(cli)
     cli.run()
     self.assertEqual(cli.monkey._instance_tags_to_propagate, ['Name'])
 def test_graffiti_monkey_volume_tags_to_propagate_should_be_the_same(self):
     cli = GraffitiMonkeyCli()
     self.set_cli_arguments(cli)
     self.do_not_propagate_tags_nor_exit(cli)
     cli.run()
     self.assertEqual(cli.monkey._volume_tags_to_propagate,
                      ['Name', 'instance_id', 'device'])
 def test_region_unchanged_with_default_config(self):
     cli = GraffitiMonkeyCli()
     self.set_cli_arguments_with_default_config_file(cli)
     self.do_not_propagate_tags_nor_exit(cli)
     cli.run()
     self.assertEquals(cli.monkey._region, "us-west-1")
 def test_graffiti_monkey_volume_tags_to_propagate_should_be_the_same_with_default_config(self):
     cli = GraffitiMonkeyCli()
     self.set_cli_arguments_with_default_config_file(cli)
     self.do_not_propagate_tags_nor_exit(cli)
     cli.run()
     self.assertEquals(cli.monkey._volume_tags_to_propagate, ['Name', 'instance_id', 'device'])
 def test_graffiti_monkey_instance_tags_to_propagate_should_be_the_same(self):
     cli = GraffitiMonkeyCli()
     self.set_cli_arguments(cli)
     self.do_not_propagate_tags_nor_exit(cli)
     cli.run()
     self.assertEquals(cli.monkey._instance_tags_to_propagate, ['Name'])
 def test_region_unchanged_with_default_config(self):
     cli = GraffitiMonkeyCli()
     self.set_cli_arguments_with_default_config_file(cli)
     self.do_not_propagate_tags_nor_exit(cli)
     cli.run()
     self.assertEqual(cli.monkey._region, "us-west-1")
 def test_region_unchanged(self):
     cli = GraffitiMonkeyCli()
     self.set_cli_arguments(cli)
     self.do_not_propagate_tags_nor_exit(cli)
     cli.run()
     self.assertEquals(cli.monkey._region, "us-west-1")