Skip hidden files in test_tags_are_set
Skip hidden files when looking for workbooks to test for tags in the workbook directory. Many editors use swap files that are hidden, and that will trip up this unit test. Change-Id: I4cbbe1941a69095eb8e8a39710df5d0e5b29b0c4
This commit is contained in:
parent
49f091392e
commit
b82f43429e
@ -30,6 +30,8 @@ class TestWorkflowStructure(base.TestCase):
|
||||
|
||||
def test_tags_are_set(self):
|
||||
for workbook in self.workbooks:
|
||||
if workbook.startswith('.'):
|
||||
continue
|
||||
full_path = os.path.join(WORKBOOK_DIRECTORY, workbook)
|
||||
with open(full_path) as f:
|
||||
wb_yaml = yaml.load(f)
|
||||
|
Loading…
Reference in New Issue
Block a user