# Path: armada/handlers/armada.py
# LOG = logging.getLogger(__name__)
# CONF = cfg.CONF
# class Armada(object):
#     def __init__(self,
#                  documents,
#                  disable_update_pre=False,
#                  disable_update_post=False,
#                  enable_chart_cleanup=False,
#                  dry_run=False,
#                  set_ovr=None,
#                  force_wait=False,
#                  timeout=0,
#                  tiller_host=None,
#                  tiller_port=None,
#                  tiller_namespace=None,
#                  values=None,
#                  target_manifest=None,
#                  k8s_wait_attempts=1,
#                  k8s_wait_attempt_sleep=1):
#     def find_release_chart(self, known_releases, name):
#     def pre_flight_ops(self):
#     def tag_cloned_repo(self, ch, repos):
#     def get_releases_by_status(self, status):
#     def sync(self):
#     def post_flight_ops(self):
#     def _test_chart(self, release_name, timeout):
#     def show_diff(self, chart, installed_chart, installed_values, target_chart,
#                   target_values, msg):
#         def _sanitize_diff_str(str):
# 
# Path: armada/tests/unit/base.py
# CONF = cfg.CONF
# class ArmadaTestCase(testtools.TestCase):
#     def setUp(self):
#     def override_config(self, name, override, group=None):
#     def assertEmpty(self, collection):
#     def patch(self, target, autospec=True, **kwargs):
#     def patchobject(self, target, attribute, new=mock.DEFAULT, autospec=True):


import mock
import yaml
from armada.handlers import armada
from armada.tests.unit import base
  description: this is a test
  sequenced: False
  chart_group:
    - example-chart-1
    - example-chart-2
---
schema: armada/Chart/v1
metadata:
  schema: metadata/Document/v1
  name: example-chart-2
data:
    chart_name: test_chart_2
    release: test_chart_2
    namespace: test
    values: {}
    source:
      type: local
      location: /tmp/dummy/armada
      subpath: chart_2
    dependencies: []
    wait:
      timeout: 10
---
schema: armada/Chart/v1
metadata:
  schema: metadata/Document/v1
  name: example-chart-1
data:
    chart_name: test_chart_1
    release: test_chart_1

# Path: armada/handlers/armada.py
# LOG = logging.getLogger(__name__)
# CONF = cfg.CONF
# class Armada(object):
#     def __init__(self,
#                  documents,
#                  disable_update_pre=False,
#                  disable_update_post=False,
#                  enable_chart_cleanup=False,
#                  dry_run=False,
#                  set_ovr=None,
#                  force_wait=False,
#                  timeout=0,
#                  tiller_host=None,
#                  tiller_port=None,
#                  tiller_namespace=None,
#                  values=None,
#                  target_manifest=None,
#                  k8s_wait_attempts=1,
#                  k8s_wait_attempt_sleep=1):
#     def find_release_chart(self, known_releases, name):
#     def pre_flight_ops(self):
#     def tag_cloned_repo(self, ch, repos):
#     def get_releases_by_status(self, status):
#     def sync(self):
#     def post_flight_ops(self):
#     def _test_chart(self, release_name, timeout):
#     def show_diff(self, chart, installed_chart, installed_values, target_chart,
#                   target_values, msg):
#         def _sanitize_diff_str(str):
# 
# Path: armada/tests/unit/base.py
# CONF = cfg.CONF
# class ArmadaTestCase(testtools.TestCase):
#     def setUp(self):
#     def override_config(self, name, override, group=None):
#     def assertEmpty(self, collection):
#     def patch(self, target, autospec=True, **kwargs):
#     def patchobject(self, target, attribute, new=mock.DEFAULT, autospec=True):


# Path: armada/tests/unit/handlers/test_armada.py
import mock
import yaml
from armada.handlers import armada
from armada.tests.unit import base

  description: this is a test
  sequenced: False
  chart_group:
    - example-chart-1
    - example-chart-2
---
schema: armada/Chart/v1
metadata:
  schema: metadata/Document/v1
  name: example-chart-2
data:
    chart_name: test_chart_2
    release: test_chart_2
    namespace: test
    values: {}
    source:
      type: local
      location: /tmp/dummy/armada
      subpath: chart_2
    dependencies: []
    wait:
      timeout: 10
---
schema: armada/Chart/v1
metadata:
  schema: metadata/Document/v1
  name: example-chart-1
data:
    chart_name: test_chart_1
    release: test_chart_1

    namespace: test