@parameterized.expand([({'gitSync': {'enabled': True}},), ({'persistence': {'enabled': True}},), ({'gitSync': {'enabled': True}, 'persistence': {'enabled': True}},)])
def test_dags_mount(self, dag_values):
    docs = render_chart(values={'dags': dag_values}, show_only=['templates/pod-template-file.yaml'], chart_dir=self.temp_chart_dir)
    assert ({'mountPath': '/opt/airflow/dags', 'name': 'dags', 'readOnly': True} in jmespath.search('spec.containers[0].volumeMounts', docs[0]))
@parameterized.expand([({'gitSync': {'enabled': True}},), ({'persistence': {'enabled': True}},), ({'gitSync': {'enabled': True}, 'persistence': {'enabled': True}},)])
def test_dags_mount(self, dag_values):
    docs = render_chart(values={'dags': dag_values}, show_only=['templates/pod-template-file.yaml'], chart_dir=self.temp_chart_dir)
    assert ({'mountPath': '/opt/airflow/dags', 'name': 'dags', 'readOnly': True} in jmespath.search('spec.containers[0].volumeMounts', docs[0]))