korsygfhrtzangaiide
Elepffwdsff
/
usr
/
lib64
/
python2.7
/
unittest
/
Upload FileeE
HOME
� r��fc @ s� d Z d d l Z d d l Z d d l Z d d l m Z m Z d d l m Z e Z d Z d Z d Z d Z d Z d e f d � � YZ e Z d S( s Unittest main programi����Ni ( t loadert runner( t installHandlers) -f, --failfast Stop on first failure s7 -c, --catch Catch control-C and display results s= -b, --buffer Buffer stdout and stderr during test runs s� Usage: %(progName)s [options] [tests] Options: -h, --help Show this message -v, --verbose Verbose output -q, --quiet Minimal output %(failfast)s%(catchbreak)s%(buffer)s Examples: %(progName)s test_module - run tests from test_module %(progName)s module.TestClass - run tests from module.TestClass %(progName)s module.Class.test_method - run specified test method [tests] can be a list of any number of test modules, classes and test methods. Alternative Usage: %(progName)s discover [options] Options: -v, --verbose Verbose output %(failfast)s%(catchbreak)s%(buffer)s -s directory Directory to start discovery ('.' default) -p pattern Pattern to match test files ('test*.py' default) -t directory Top level directory of project (default to start directory) For test discovery all test modules must be importable from the top level directory of the project. s1 Usage: %(progName)s [options] [test] [...] Options: -h, --help Show this message -v, --verbose Verbose output -q, --quiet Minimal output %(failfast)s%(catchbreak)s%(buffer)s Examples: %(progName)s - run default set of tests %(progName)s MyTestSuite - run suite 'MyTestSuite' %(progName)s MyTestCase.testSomething - run MyTestCase.testSomething %(progName)s MyTestCase - run all 'test*' test methods in MyTestCase t TestProgramc B s� e Z d Z e Z d Z Z Z Z d d d d e j e d d d d d � Z d d � Z d � Z d � Z d d � Z d � Z RS( s A command-line program that runs a set of tests; this is primarily for making test modules conveniently executable. t __main__i c C s� t | t � rT t | � | _ x<