Did I find the right examples for you? yes no

All Samples(79547)  |  Call(0)  |  Derive(0)  |  Import(79547)
Python unit testing framework, based on Erich Gamma's JUnit and Kent Beck's
Smalltalk testing framework.

This module contains the core framework classes that form the basis of
specific test cases and suites (TestCase, TestSuite etc.), and also a
text-based utility class for running the tests and reporting the results
 (TextTestRunner).

Simple usage:
(more...)

src/o/h/oh-mainline-HEAD/vendor/packages/twisted/twisted/trial/test/sample.py   oh-mainline(Download)
"""
 
import unittest as pyunit
from twisted.trial import unittest
from twisted.python.util import mergeFunctionMetadata

src/m/o/modern-python-example-HEAD/lib/python2.7/site-packages/logilab/common/testlib.py   modern-python-example(Download)
from itertools import dropwhile
 
import unittest as unittest_legacy
if not getattr(unittest_legacy, "__package__", None):
    try:
        sys.exit("You have to install python-unittest2 to use this module")
else:
    import unittest
    from unittest import SkipTest
 

src/h/o/hortonworks-sandbox-HEAD/desktop/core/ext-py/Twisted/twisted/trial/test/sample.py   hortonworks-sandbox(Download)
"""
 
import unittest as pyunit
from twisted.trial import unittest
 

src/k/i/kitsune-HEAD/vendor/packages/nose/functional_tests/support/package1/tests/test_example_function.py   kitsune(Download)
import example
import unittest
 
class TestExampleFunction_TestCase(unittest.TestCase):
    def test_times_two(self):

src/o/h/oh-mainline-HEAD/vendor/packages/python-openid/openid/test/test_examples.py   oh-mainline(Download)
"Test some examples."
 
import socket
import os.path, unittest, sys, time
from cStringIO import StringIO

src/o/h/oh-mainline-HEAD/vendor/packages/gdata/tests/gdata_tests/sample_util_test.py   oh-mainline(Download)
 
 
import unittest
import sys
import gdata.sample_util

src/f/j/fjord-HEAD/vendor/packages/nose/functional_tests/support/package1/tests/test_example_function.py   fjord(Download)
import example
import unittest
 
class TestExampleFunction_TestCase(unittest.TestCase):
    def test_times_two(self):

src/p/y/PySide-1.2.2/sources/shiboken/tests/samplebinding/__del___test.py   PySide(Download)
# 02110-1301 USA
 
import unittest
import sample
 

src/p/y/PySide-1.2.2/sources/shiboken/tests/samplebinding/writableclassdict_test.py   PySide(Download)
# 02110-1301 USA
 
import unittest
from sample import Point
 

src/p/y/PySide-1.2.2/sources/shiboken/tests/samplebinding/weakref_test.py   PySide(Download)
 
import weakref
import unittest
 
from sample import ObjectType, PrivateDtor

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