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

Method test_run_testing_proccesses0

python/test/command_line_test.py:67–72  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

65 self.assertEqual(ret, 0)
66
67 def test_run_testing_proccesses0(self):
68 exe = VmafConfig.root_path('python', 'vmaf', 'script', 'run_testing.py')
69 cmd = "{exe} PSNR {dataset} --parallelize --suppress-plot --processes 0".format(
70 exe=exe, dataset=self.dataset_filename)
71 with self.assertRaises(AssertionError):
72 run_process(cmd, shell=True)
73
74 def test_run_testing_proccesses2_without_parallelize(self):
75 exe = VmafConfig.root_path('python', 'vmaf', 'script', 'run_testing.py')

Callers

nothing calls this directly

Calls 2

run_processFunction · 0.90
root_pathMethod · 0.80

Tested by

no test coverage detected