def test_resolve_filespecs_raises_with_bad_inputs(self, task_id, outputs): with self.assertRaises(ValueError): io.resolve_filespecs(task_id, *outputs)
def test_resolve_filespecs(self, task_id, outputs, expected): self.assertEqual(io.resolve_filespecs(task_id, *outputs), expected)