def test_get_file_count(self):
    'Test get_file_count returns the correct number of files, excluding\n        file with extensions in FILE_EXTENSIONS_TO_IGNORE and files that should\n        not be built.\n        '
    all_inclusive_file_count = 0
    for (_, _, files) in os.walk(MOCK_EXTENSIONS_DEV_DIR):
        all_inclusive_file_count += len(files)
    ignored_file_count = 0
    for (_, _, files) in os.walk(MOCK_EXTENSIONS_DEV_DIR):
        for filename in files:
            if ((not build.should_file_be_built(filename)) or any((filename.endswith(p) for p in build.FILE_EXTENSIONS_TO_IGNORE))):
                ignored_file_count += 1
    self.assertEqual((all_inclusive_file_count - ignored_file_count), build.get_file_count(MOCK_EXTENSIONS_DEV_DIR))
Test get_file_count returns the correct number of files, excluding
file with extensions in FILE_EXTENSIONS_TO_IGNORE and files that should
not be built.
def test_get_file_count(self):
    'Test get_file_count returns the correct number of files, excluding\n        file with extensions in FILE_EXTENSIONS_TO_IGNORE and files that should\n        not be built.\n        '
    all_inclusive_file_count = 0
    for (_, _, files) in os.walk(MOCK_EXTENSIONS_DEV_DIR):
        all_inclusive_file_count += len(files)
    ignored_file_count = 0
    for (_, _, files) in os.walk(MOCK_EXTENSIONS_DEV_DIR):
        for filename in files:
            if ((not build.should_file_be_built(filename)) or any((filename.endswith(p) for p in build.FILE_EXTENSIONS_TO_IGNORE))):
                ignored_file_count += 1
    self.assertEqual((all_inclusive_file_count - ignored_file_count), build.get_file_count(MOCK_EXTENSIONS_DEV_DIR))