Ignore secrets.yaml when using include_dir_named (#22929)

* ignore secrets.yaml in include_dir_named include

* updating test for include_dir_named secrets ignore
This commit is contained in:
choss authored and Paulus Schoutsen committed 2019-04-13 21:24:06 -07:00
1 parent c6bc47b32d
commit c314220167
2 files changed
+3 -1

No files matched your search

+1 -1
View File
@@ -134,7 +134,7 @@ class TestYaml(unittest.TestCase):
def test_include_dir_named(self, mock_walk):
"""Test include dir named yaml."""
mock_walk.return_value = [
['/tmp', [], ['first.yaml', 'second.yaml']]
['/tmp', [], ['first.yaml', 'second.yaml', 'secrets.yaml']]
]
with patch_yaml_files({