Did I find the right examples for you? yes no

All Samples(1366)  |  Call(1366)  |  Derive(0)  |  Import(0)
Create an instance of the class that will use the named test
method when executed. Raises a ValueError if the instance does
not have a method with the specified name.

src/m/o/modern-python-example-HEAD/lib/python2.7/site-packages/Crypto/SelfTest/Hash/common.py   modern-python-example(Download)
    def __init__(self, hashmod, description, expected):
        unittest.TestCase.__init__(self)
        self.hashmod = hashmod
        self.expected = expected
        self.description = description
    def __init__(self, hashmod, description, expected, input):
        unittest.TestCase.__init__(self)
        self.hashmod = hashmod
        self.expected = expected
        self.input = input
    def __init__(self, hashmod, oid):
        unittest.TestCase.__init__(self)
        self.hashmod = hashmod
        self.oid = oid
 
    def __init__(self, hashmod, description, expected_dict, input, key, hashmods):
        unittest.TestCase.__init__(self)
        self.hashmod = hashmod
        self.expected_dict = expected_dict
        self.input = input

src/m/o/modern-python-example-HEAD/lib/python2.7/site-packages/Crypto/SelfTest/Cipher/common.py   modern-python-example(Download)
    def __init__(self, module, params):
        unittest.TestCase.__init__(self)
        self.module = module
 
        # Extract the parameters
    def __init__(self, module, params):
        unittest.TestCase.__init__(self)
        self.module = module
        self.key = b(params['key'])
        self.module_name = params.get('module_name', None)
    def __init__(self, module, params):
        unittest.TestCase.__init__(self)
        self.module = module
        self.key = b(params['key'])
        self.module_name = params.get('module_name', None)
    def __init__(self, module, params):
        unittest.TestCase.__init__(self)
        self.module = module
        self.key = b(params['key'])
        self.description = params['description']
    def __init__(self, module, params):
        from Crypto import Random
        unittest.TestCase.__init__(self)
        self.module = module
        self.iv = Random.get_random_bytes(module.block_size)

src/h/u/hunch-sample-app-HEAD/django/test/_doctest.py   hunch-sample-app(Download)
    def __init__(self, test, optionflags=0, setUp=None, tearDown=None,
                 checker=None, runner=DocTestRunner):
 
        unittest.TestCase.__init__(self)
        self._dt_optionflags = optionflags

src/p/y/pyjs-HEAD/examples/misc/djangowanted/testjsonrpc.py   pyjs(Download)
    def __init__(self, *args):
        unittest.TestCase.__init__(self, *args)
 
        self.s = jsonrpclib.ServerProxy("http://127.0.0.9/services/wanted/",
                                        verbose=0)

src/g/u/gunicorn-HEAD/examples/frameworks/pylonstest/pylonstest/tests/__init__.py   gunicorn(Download)
        self.app = TestApp(wsgiapp)
        url._push_object(URLGenerator(config['routes.map'], environ))
        TestCase.__init__(self, *args, **kwargs)
 

src/c/o/cogen-0.2.1/examples/cogen-irc/CogenIrcApp/cogenircapp/tests/__init__.py   cogen(Download)
    def __init__(self, *args, **kwargs):
        wsgiapp = loadapp('config:test.ini', relative_to=conf_dir)
        self.app = paste.fixture.TestApp(wsgiapp)
        TestCase.__init__(self, *args, **kwargs)
 

src/c/o/cogen-0.2.1/examples/cogen-chat/ChatApp/chatapp/tests/__init__.py   cogen(Download)
    def __init__(self, *args, **kwargs):
        wsgiapp = loadapp('config:test.ini', relative_to=conf_dir)
        self.app = paste.fixture.TestApp(wsgiapp)
        TestCase.__init__(self, *args, **kwargs)
 

src/f/i/fixture-HEAD/fixture/examples/pylons_example/addressbook/addressbook/tests/__init__.py   fixture(Download)
        self.app = TestApp(wsgiapp)
        url._push_object(URLGenerator(config['routes.map'], environ))
        TestCase.__init__(self, *args, **kwargs)
 
    def setUp(self):

src/g/u/gunicorn-18.0/examples/frameworks/pylonstest/pylonstest/tests/__init__.py   gunicorn(Download)
        self.app = TestApp(wsgiapp)
        url._push_object(URLGenerator(config['routes.map'], environ))
        TestCase.__init__(self, *args, **kwargs)
 

src/d/j/django-admin-report-HEAD/example/lib/reportlab/lib/testutils.py   django-admin-report(Download)
        self.verbose = verbose
        # normally, each instance is told which method to run)
        unittest.TestCase.__init__(self)
 
    def setUp(self):

  1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9  Next