Did I find the right examples for you? yes no

All Samples(18)  |  Call(18)  |  Derive(0)  |  Import(0)

src/t/e/testtools-0.9.35/testtools/tests/test_testcase.py   testtools(Download)
        def setUp(self):
            TestCase.setUp(self)
            self._calls = ['setUp']
 
        def brokenSetUp(self):
    def setUp(self):
        TestCase.setUp(self)
        self._result_calls = []
        self.test = TestAddCleanup.LoggingTest('runTest')
        self.logging_result = LoggingResult(self._result_calls)
            def setUp(self):
                TestCase.setUp(self)
                self.skip("skipping this test")
            def test_that_passes(self):
                pass
            def setUp(self):
                TestCase.setUp(self)
                raise self.skipException("skipping this test")
            def test_that_raises_skipException(self):
                pass

src/t/e/testtools-HEAD/testtools/tests/test_testcase.py   testtools(Download)
        def setUp(self):
            TestCase.setUp(self)
            self._calls = ['setUp']
 
        def brokenSetUp(self):
    def setUp(self):
        TestCase.setUp(self)
        self._result_calls = []
        self.test = TestAddCleanup.LoggingTest('runTest')
        self.logging_result = LoggingResult(self._result_calls)
            def setUp(self):
                TestCase.setUp(self)
                self.skip("skipping this test")
            def test_that_passes(self):
                pass
            def setUp(self):
                TestCase.setUp(self)
                raise self.skipException("skipping this test")
            def test_that_raises_skipException(self):
                pass

src/t/e/testtools-0.9.35/testtools/tests/test_compat.py   testtools(Download)
    def setUp(self):
        testtools.TestCase.setUp(self)
        dir = tempfile.mkdtemp()
        self.addCleanup(os.rmdir, dir)
        self.filename = os.path.join(dir, self.id().rsplit(".", 1)[1] + ".py")

src/t/e/testtools-HEAD/testtools/tests/test_compat.py   testtools(Download)
    def setUp(self):
        testtools.TestCase.setUp(self)
        dir = tempfile.mkdtemp()
        self.addCleanup(os.rmdir, dir)
        self.filename = os.path.join(dir, self.id().rsplit(".", 1)[1] + ".py")

src/y/c/yconf-0.3.2/yconf/tests/test_util.py   yconf(Download)
    def setUp(self):
        TestCase.setUp(self)
        self.data = {"a": {"b": {"c": "d"}, "e": "f"}}
 
    def test_dictAccess(self):

src/y/c/yconf-0.3.2/yconf/tests/test_config.py   yconf(Download)
    def setUp(self):
        TestCase.setUp(self)
        self.data = {"testcase": {"test-level": 1}}
 
    def test_constructMapping(self):

src/p/y/python-keystoneclient-HEAD/keystoneclient/tests/test_auth_token_middleware.py   python-keystoneclient(Download)
    def setUp(self, expected_env=None, auth_version=None, fake_app=None):
        testtools.TestCase.setUp(self)
 
        self.expected_env = expected_env or dict()
        self.fake_app = fake_app or FakeApp

src/p/y/python-openstackclient-HEAD/openstackclient/tests/utils.py   python-openstackclient(Download)
    def setUp(self):
        testtools.TestCase.setUp(self)
 
        if (os.environ.get("OS_STDOUT_CAPTURE") == "True" or
                os.environ.get("OS_STDOUT_CAPTURE") == "1"):

src/l/m/lmirror-0.0.2/l_mirror/tests/__init__.py   lmirror(Download)
    def setUp(self):
        TestCase.setUp(self)
        testresources.ResourcedTestCase.setUpResources(self)
        self.addCleanup(testresources.ResourcedTestCase.tearDownResources,
            self)

src/p/y/python-openstackclient-0.3.1/openstackclient/tests/utils.py   python-openstackclient(Download)
    def setUp(self):
        testtools.TestCase.setUp(self)
 
        if (os.environ.get("OS_STDOUT_CAPTURE") == "True" or
                os.environ.get("OS_STDOUT_CAPTURE") == "1"):

  1 | 2  Next