def test_should_not_add_init_container_if_dag_persistence_is_true(self):
    docs = render_chart(values={'dags': {'persistence': {'enabled': True}, 'gitSync': {'enabled': True}}}, show_only=['templates/pod-template-file.yaml'], chart_dir=self.temp_chart_dir)
    assert (jmespath.search('spec.initContainers', docs[0]) is None)
def test_should_not_add_init_container_if_dag_persistence_is_true(self):
    docs = render_chart(values={'dags': {'persistence': {'enabled': True}, 'gitSync': {'enabled': True}}}, show_only=['templates/pod-template-file.yaml'], chart_dir=self.temp_chart_dir)
    assert (jmespath.search('spec.initContainers', docs[0]) is None)