Did I find the right examples for you? yes no

All Samples(8)  |  Call(8)  |  Derive(0)  |  Import(0)

src/d/j/django-tip-0.3/tip/actions.py   django-tip(Download)
    def iter_templates(self, filter):
        for path in self.list_all_paths():
            for template in FileSystem.locate(path):
                if filter(template):
                    yield {'path': path, 'template': template}

src/d/j/django-template-inspector-HEAD/tip/actions.py   django-template-inspector(Download)
    def iter_templates(self, filter):
        for path in self.list_all_paths():
            for template in FileSystem.locate(path):
                if filter(template):
                    yield {'path': path, 'template': template}

src/d/j/django-tip-0.3/tip/tests/functional/test_filesystem_locator.py   django-tip(Download)
def i_have_five_file_when_no_matcher_is_provided():
    found_files = FileSystem.locate(folder_for_tests)
    assert_equals(len(found_files), 5, 'exactly 5 files should"ve been found')
 
def i_have_four_files_on_my_test_folder():
    found_files = FileSystem.locate(folder_for_tests, '*.html')
    assert_equals(len(found_files), 4, 'exactly 4 files should"ve been found')
 
def i_have_five_files_when_supllying_a_global_matcher():
    found_files = FileSystem.locate(folder_for_tests, '*')

src/d/j/django-template-inspector-HEAD/tip/tests/functional/test_filesystem_locator.py   django-template-inspector(Download)
def i_have_five_file_when_no_matcher_is_provided():
    found_files = FileSystem.locate(folder_for_tests)
    assert_equals(len(found_files), 5, 'exactly 5 files should"ve been found')
 
def i_have_four_files_on_my_test_folder():
    found_files = FileSystem.locate(folder_for_tests, '*.html')
    assert_equals(len(found_files), 4, 'exactly 4 files should"ve been found')
 
def i_have_five_files_when_supllying_a_global_matcher():
    found_files = FileSystem.locate(folder_for_tests, '*')