def METHOD_NAME(self):
    try:
        run_client(['bkr', 'job-comment', '12345'])
        self.fail('should raise')
    except ClientError as e:
        self.assertIn('Invalid taskspec', e.stderr_output)