def test_dags_mount_with_gitsync_and_persistence(self):
    docs = render_chart(values={'dags': {'gitSync': {'enabled': True}, 'persistence': {'enabled': True}}}, 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]))
def test_dags_mount_with_gitsync_and_persistence(self):
    docs = render_chart(values={'dags': {'gitSync': {'enabled': True}, 'persistence': {'enabled': True}}}, 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]))