def METHOD_NAME(self):
    unde_rpm = pkg_resources.resource_filename('bkr.inttest.server',
                                             'task-rpms/empty.rpm')
    try:
        run_client(['bkr', 'task-add', unde_rpm])
        self.fail('should raise')
    except ClientError as e:
        self.assertEqual(e.status, 1)
        self.assertIn('Name field not defined', e.stderr_output)