Did I find the right examples for you? yes no

All Samples(12)  |  Call(10)  |  Derive(2)  |  Import(0)

src/t/e/tempest-HEAD/tempest/thirdparty/boto/utils/wait.py   tempest(Download)
        if dtime > CONF.boto.build_timeout:
            raise testtools.TestCase\
                .failureException("State change timeout exceeded!"
                                  '(%ds) While waiting'
                                  'for %s at "%s"' %
        if dtime > CONF.boto.build_timeout:
            raise testtools.TestCase\
                .failureException('Pattern find timeout exceeded!'
                                  '(%ds) While waiting for'
                                  '"%s" pattern in "%s"' %
        if dtime > CONF.boto.build_timeout:
            raise testtools.TestCase\
                .failureException("Wait timeout exceeded! (%ds)" % dtime)
        time.sleep(CONF.boto.build_interval)
 
        if dtime > CONF.boto.build_timeout:
            raise testtools.TestCase\
                .failureException("Wait timeout exceeded! (%ds)" % dtime)
        time.sleep(CONF.boto.build_interval)
 

src/m/a/magnetodb-2.0.2/tempest/api/keyvalue/boto_base/utils/wait.py   magnetodb(Download)
        dtime = time.time() - start_time
        if dtime > default_timeout:
            raise TestCase.failureException("State change timeout exceeded!"
                                            '(%ds) While waiting'
                                            'for %s at "%s"' %
        dtime = time.time() - start_time
        if dtime > default_timeout:
            raise TestCase.failureException('Pattern find timeout exceeded!'
                                            '(%ds) While waiting for'
                                            '"%s" pattern in "%s"' %
        dtime = time.time() - start_time
        if dtime > default_timeout:
            raise TestCase.failureException("Wait timeout exceeded! (%ds)" %
                                            dtime)
        time.sleep(default_check_interval)
        dtime = time.time() - start_time
        if dtime > default_timeout:
            raise TestCase.failureException("Wait timeout exceeded! (%ds)" %
                                            dtime)
        time.sleep(default_check_interval)

src/t/e/tempest-HEAD/tempest/exceptions.py   tempest(Download)
class RestClientException(TempestException,
                          testtools.TestCase.failureException):
    pass
 
 

src/m/a/magnetodb-2.0.2/tempest/exceptions.py   magnetodb(Download)
class RestClientException(TempestException,
                          testtools.TestCase.failureException):
    pass
 
 

src/p/y/python-heatclient-0.2.9/heatclient/tests/test_shell.py   python-heatclient(Download)
            msg = '%s: %r not found in %r' % (
                msg, expected_regexp.pattern, text)
            raise self.failureException(msg)
 
    def shell_error(self, argstr, error_match):

src/p/y/python-heatclient-HEAD/heatclient/tests/test_shell.py   python-heatclient(Download)
            msg = '%s: %r not found in %r' % (
                msg, expected_regexp.pattern, text)
            raise self.failureException(msg)
 
    def shell_error(self, argstr, error_match):