def test_should_use_empty_dir_for_gitsync_without_persistence(self):
    docs = render_chart(values={'dags': {'gitSync': {'enabled': True}}}, show_only=['templates/pod-template-file.yaml'], chart_dir=self.temp_chart_dir)
    assert ({'name': 'dags', 'emptyDir': {}} in jmespath.search('spec.volumes', docs[0]))
def test_should_use_empty_dir_for_gitsync_without_persistence(self):
    docs = render_chart(values={'dags': {'gitSync': {'enabled': True}}}, show_only=['templates/pod-template-file.yaml'], chart_dir=self.temp_chart_dir)
    assert ({'name': 'dags', 'emptyDir': {}} in jmespath.search('spec.volumes', docs[0]))