def setUp(self):
     files = {}
     files['/test/some-file'] = 'contents'
     files['/test/some-other-file'] = 'other contents'
     files['/test/b/c'] = 'c'
     self._filesystem = MockFileSystem(files)
     self._fileset = DirectoryFileSet('/test', self._filesystem)
예제 #2
0
 def from_path(self, path, platform=None):
     return TestOutputSet('local %s builder' % platform, platform,
                          DirectoryFileSet(path))