Did I find the right examples for you? yes no

All Samples(149)  |  Call(0)  |  Derive(0)  |  Import(149)
This class is responsible for loading tests according to various criteria
and returning them wrapped in a TestSuite

src/b/a/banana-HEAD/examples/calculator/tests.py   banana(Download)
#!/usr/bin/env python
from unittest import TestCase, TextTestRunner, defaultTestLoader as loader
from banana import register_module 
import scenarios

src/e/x/example.blobattype-1.0b2/src/example/blobattype/tests/test_integration.py   example.blobattype(Download)
from unittest import defaultTestLoader
from zope.component import getGlobalSiteManager
from archetypes.schemaextender.interfaces import ISchemaExtender
from plone.app.blob.interfaces import IBlobWrapper
from plone.app.blob.tests.utils import getFile

src/p/y/pyhwp-HEAD/oxt/components.py   pyhwp(Download)
        def tests(self):
            from unittest import defaultTestLoader
            yield defaultTestLoader.loadTestsFromTestCase(DetectorTest)
            yield defaultTestLoader.loadTestsFromTestCase(ImporterTest)
            from hwp5_uno.tests import test_hwp5_uno

src/l/z/lzw-0.01.11/setup.py   lzw(Download)
from distutils.core import setup, Command
import unittest
import doctest
from unittest import defaultTestLoader, TextTestRunner

src/s/c/scrypt-0.6.1/setup.py   scrypt(Download)
    def run(self):
        if ((sys.version_info > (3, 2, 0, 'final', 0)) or
            (sys.version_info > (2, 7, 0, 'final', 0) and sys.version_info < (3, 0, 0, 'final', 0))):
            from unittest import TextTestRunner, defaultTestLoader

src/p/d/pdb-clone-1.5/setup.py   pdb-clone(Download)
from distutils.command.build_scripts import build_scripts as _build_scripts
from distutils.command.build_ext import build_ext as _build_ext
from unittest import defaultTestLoader
from pdb_clone import __version__

src/b/a/bayeux-0.8/unittest_TAP.py   bayeux(Download)
    import unittest2 as unittest
except ImportError:
    from unittest import TestResult, TestCase, TestSuite, TextTestRunner, \
        TestLoader, FunctionTestCase, defaultTestLoader, SkipTest, \
        skip, skipIf, skipUnless, expectedFailure, TextTestResult, \

src/w/t/wtforms-HEAD/tests/runtests.py   wtforms(Download)
#!/usr/bin/env python
import os
import sys
from unittest import defaultTestLoader, TextTestRunner, TestSuite

src/q/u/quintagroup.transmogrifier-HEAD/quintagroup/transmogrifier/tests/test_roundtripping.py   quintagroup.transmogrifier(Download)
# -*- coding: utf-8 -*-
from zope.component import getMultiAdapter, getUtilitiesFor
from filecmp import dircmp
from tarfile import TarFile
from unittest import defaultTestLoader

src/p/y/pyaws-HEAD/tests/main.py   pyaws(Download)
def test_suite():
    from unittest import defaultTestLoader as loader
    return loader.loadTestsFromName("tests.main")
class ListTest(unittest.TestCase):

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