MCPcopy Create free account
hub / github.com/Netflix/vmaf / test_resource_path

Method test_resource_path

python/vmaf/config.py:218–225  ·  view source on GitHub ↗
(cls, *components, bypass_download=False)

Source from the content-addressed store, hash-verified

216
217 @classmethod
218 def test_resource_path(cls, *components, bypass_download=False):
219 local_path = cls.root_path('python', 'test', 'resource', *components)
220 if bypass_download:
221 pass
222 else:
223 remote_path = os.path.join(VMAF_RESOURCE_ROOT, 'python', 'test', 'resource', *components)
224 download_reactively(local_path, remote_path)
225 return local_path
226
227 @classmethod
228 def tools_resource_path(cls, *components):

Calls 2

download_reactivelyFunction · 0.85
root_pathMethod · 0.80

Tested by

no test coverage detected