def METHOD_NAME(self):
    redundant_rpm = pkg_resources.resource_filename('bkr.inttest.server',
                                             'task-rpms/tmp-distribution-beaker----redundant_slashes-1.0-0.noarch.rpm')
    try:
        run_client(['bkr', 'task-add', redundant_rpm])
        self.fail('should raise')
    except ClientError as e:
        self.assertEqual(e.status, 1)
        self.assertIn('Task name must not contain redundant slashes', e.stderr_output)