Did I find the right examples for you? yes no

All Samples(136)  |  Call(4)  |  Derive(38)  |  Import(94)
A test runner class that displays results in textual form.

It prints out the names of tests as they are run, errors as they
occur, and a summary of the results at the end of the test run.

src/h/u/hunch-sample-app-HEAD/django/contrib/gis/geos/tests/__init__.py   hunch-sample-app(Download)
"""
GEOS Testing module.
"""
from django.utils.unittest import TestSuite, TextTestRunner
import test_geos, test_io, test_geos_mutation, test_mutable_list

src/h/u/hunch-sample-app-HEAD/django/contrib/gis/gdal/tests/__init__.py   hunch-sample-app(Download)
"""
Module for executing all of the GDAL tests.  None
of these tests require the use of the database.
"""
from django.utils.unittest import TestSuite, TextTestRunner

src/h/u/hunch-sample-app-HEAD/django/test/simple.py   hunch-sample-app(Download)
class DjangoTestRunner(unittest.TextTestRunner):
    def __init__(self, *args, **kwargs):
        import warnings
        warnings.warn(
            "DjangoTestRunner is deprecated; it's functionality is indistinguishable from TextTestRunner",

src/h/u/hunch-sample-app-HEAD/djangotoolbox/test.py   hunch-sample-app(Download)
from .utils import object_list_to_table, equal_lists
from django.test import TestCase
from django.test.simple import DjangoTestSuiteRunner
from django.utils.unittest import TextTestRunner
import sys

src/r/o/rolf-HEAD/ve/lib/python2.7/site-packages/django_jenkins/runner.py   rolf(Download)
from django.utils.encoding import smart_text
from django.test.testcases import TestCase
from django.utils.unittest import TextTestResult, TextTestRunner
 
try:

src/a/n/antisocial-HEAD/ve/lib/python2.7/site-packages/django_jenkins/runner.py   antisocial(Download)
from django.utils.encoding import smart_text
from django.test.testcases import TestCase
from django.utils.unittest import TextTestResult, TextTestRunner
 
try:

src/d/j/django-scrypt-0.2.3/setup.py   django-scrypt(Download)
    def run(self):
        try:
            from django.utils.unittest import TextTestRunner, defaultTestLoader
            from django.conf import settings
            settings.configure(
        suite = defaultTestLoader.loadTestsFromModule(test_django_scrypt)
        suite.addTests(defaultTestLoader.loadTestsFromModule(test_subclassing))
        runner = TextTestRunner()
        result = runner.run(suite)
        if result.wasSuccessful() is not True:

src/d/j/django-likert-field-0.1.0/setup.py   django-likert-field(Download)
    def run(self):
        sys.dont_write_bytecode = True
        os.environ['DJANGO_SETTINGS_MODULE'] = 'test_suite.settings_for_tests'
        try:
            from django.utils.unittest import TextTestRunner, defaultTestLoader
            defaultTestLoader.loadTestsFromModule(test_templatetags))
        suite.addTests(defaultTestLoader.loadTestsFromModule(test_widgets))
        runner = TextTestRunner()
        result = runner.run(suite)
        if result.wasSuccessful() is not True:

src/d/j/django-likert-field-HEAD/setup.py   django-likert-field(Download)
    def run(self):
        sys.dont_write_bytecode = True
        os.environ['DJANGO_SETTINGS_MODULE'] = 'test_suite.settings_for_tests'
        try:
            from django.utils.unittest import TextTestRunner, defaultTestLoader
            defaultTestLoader.loadTestsFromModule(test_templatetags))
        suite.addTests(defaultTestLoader.loadTestsFromModule(test_widgets))
        runner = TextTestRunner()
        result = runner.run(suite)
        if result.wasSuccessful() is not True:

src/d/j/django-jux-1.0.2/juxd/__init__.py   django-jux(Download)
from django.conf import settings
from django.test.simple import DjangoTestSuiteRunner
from django.utils.unittest import TextTestRunner, TextTestResult
 
class JUXDTestResult(TextTestResult):
class JUXDTestRunner(TextTestRunner):
    resultclass = JUXDTestResult
 
 
class JUXDTestSuiteRunner(DjangoTestSuiteRunner):

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