include BUILD file in test's file list
@@ -34,6 +34,7 @@ class FileSystemUtilsTestCase(unittest2.TestCase):
"mock_exception.py",
"concurrency.py",
"__init__.py",
+ "meta/BUILD",
"meta/mock_exception.yaml",
"meta/concurrency.yaml",
"meta/__init__.py",
@@ -49,6 +50,6 @@ class FileSystemUtilsTestCase(unittest2.TestCase):
"meta/__init__.py",
]
result = get_file_list(
- directory=directory, exclude_patterns=["*.pyc", "*.yaml", "BUILD"]
+ directory=directory, exclude_patterns=["*.pyc", "*.yaml", "*BUILD"]
)
self.assertItemsEqual(expected, result)
