Module Expr Str Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias ImportFrom alias FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad For NameStore Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Return NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Import alias identifier Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Import alias identifier Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Import alias identifier Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Import alias Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Str Import alias identifier Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ImportFrom alias identifier Expr Call AttributeLoad NameLoad attr SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Index Num SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Index Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Import alias Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Import alias Expr Call AttributeLoad NameLoad attr SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Index Num SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Index Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr TryFinally body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr finalbody Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Str Expr Call AttributeLoad NameLoad attr TryFinally body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd NameLoad AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str finalbody Expr Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Import alias Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr ListLoad Str Str Str ListComp AttributeLoad NameLoad attr comprehension NameStore AttributeLoad NameLoad attr Assign NameStore ListLoad Str Str Str Assign NameStore Call NameLoad Call NameLoad NameLoad Call NameLoad Num Assign AttributeStore AttributeLoad NameLoad attr attr Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad ListComp AttributeLoad NameLoad attr comprehension NameStore AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Import alias Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Import alias Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Import alias Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr TupleLoad Str Str decorator_list FunctionDef arguments args NameParam defaults body Import alias Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr ListLoad Str Str ListComp AttributeLoad NameLoad attr comprehension NameStore AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Import alias Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr TupleLoad Str Str decorator_list FunctionDef arguments args NameParam defaults body Import alias Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Import alias Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Import alias Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr TupleLoad Str Str decorator_list FunctionDef arguments args NameParam defaults body Import alias Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Import alias Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr TupleLoad Str Str decorator_list FunctionDef arguments args NameParam defaults body Import alias Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Import alias Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Import alias Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad SubscriptLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Index Num attr attr decorator_list FunctionDef arguments args NameParam defaults body Import alias Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Import alias Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Import alias Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Import alias Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Import alias Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Call NameLoad AttributeLoad NameLoad attr Assign NameStore ListComp Call AttributeLoad NameLoad attr comprehension TupleStore NameStore NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str decorator_list decorator_list Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str ImportFrom alias Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str ImportFrom alias Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str ImportFrom alias Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args defaults body Raise Call NameLoad Str decorator_list ImportFrom alias Assign TupleStore AttributeStore NameLoad attr NameStore TupleLoad NameLoad AttributeLoad NameLoad attr TryFinally body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad finalbody Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body ImportFrom alias Expr Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad AttributeLoad NameLoad attr BinOpAdd AttributeLoad NameLoad attr Str AugAssignAdd AttributeStore NameLoad attr Str Expr Call AttributeLoad NameLoad attr BinOpAdd AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body If CompareLt AttributeLoad NameLoad attr TupleLoad Num Num body Assign NameStore Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Str attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpAdd AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad Str Assign NameStore ListLoad For NameStore Call AttributeLoad NameLoad attr body If Call AttributeLoad SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Index Num attr Str body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad keyword NameLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIs NameLoad NameLoad body Expr Yield NameLoad orelse Assign NameStore ListLoad For NameStore Call AttributeLoad NameLoad attr body If Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad keyword NameLoad For NameStore NameLoad body Assign NameStore ListLoad For NameStore Call AttributeLoad NameLoad attr body If Call AttributeLoad SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Index Num attr Str body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad keyword NameLoad For NameStore NameLoad body Expr Yield NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults AttributeLoad NameLoad attr body Expr Str Import alias Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr NameLoad For TupleStore NameStore TupleStore NameStore NameStore Call NameLoad Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr Return NameLoad decorator_list Expr Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list
N/A N/A 
Tests for loading tests by name.
 N/A os N/A shutil N/A sys twisted.python util twisted.python.hashlib md5 twisted.trial.test packages twisted.trial runner reporter unittest twisted.trial.itrial ITestCase twisted.python.modules getModule testNames N/A N/A tests N/A N/A N/A 
    Return the id of each test within the given test suite or case.
     N/A names N/A N/A test N/A N/A unittest _iterateTests tests N/A N/A N/A N/A names append N/A N/A test id N/A names N/A FinderTest N/A N/A packages PackageTest N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A packages PackageTest setUp self N/A N/A self loader N/A N/A runner TestLoader N/A tearDown N/A N/A self N/A N/A N/A N/A N/A N/A packages PackageTest tearDown self N/A test_findPackage N/A N/A self N/A N/A N/A sample1 N/A N/A N/A self loader findByName twisted N/A twisted sample2 N/A N/A N/A self failUnlessEqual sample1 sample2 N/A test_findModule N/A N/A self N/A N/A N/A sample1 N/A N/A N/A self loader findByName twisted.trial.test.sample N/A sample sample2 N/A N/A N/A self failUnlessEqual sample1 sample2 N/A test_findFile N/A N/A self N/A N/A N/A path N/A N/A util sibpath __file__ sample.py N/A sample1 N/A N/A N/A self loader findByName path N/A sample sample2 N/A N/A N/A self failUnlessEqual sample1 sample2 N/A test_findObject N/A N/A self N/A N/A N/A sample1 N/A N/A N/A self loader findByName twisted.trial.test.sample.FooTest N/A sample N/A N/A N/A self failUnlessEqual N/A sample FooTest sample1 N/A test_findNonModule N/A N/A self N/A N/A N/A N/A N/A self failUnlessRaises AttributeError N/A N/A self loader findByName twisted.trial.test.nonexistent N/A test_findNonPackage N/A N/A self N/A N/A N/A N/A N/A self failUnlessRaises ValueError N/A N/A self loader findByName nonextant N/A test_findNonFile N/A N/A self N/A N/A N/A path N/A N/A util sibpath __file__ nonexistent.py N/A N/A N/A self failUnlessRaises ValueError N/A N/A self loader findByName path N/A N/A FileTest N/A N/A packages SysPathManglingTest N/A N/A 
    Tests for L{runner.filenameToModule}.
     test_notFile N/A N/A self N/A N/A N/A N/A N/A self failUnlessRaises ValueError N/A runner filenameToModule doesntexist N/A test_moduleInPath N/A N/A self N/A N/A N/A sample1 N/A N/A runner filenameToModule N/A N/A util sibpath __file__ sample.py N/A sample sample2 N/A N/A N/A self failUnlessEqual sample2 sample1 N/A test_moduleNotInPath N/A N/A self N/A N/A N/A 
        If passed the path to a file containing the implementation of a
        module within a package which is not on the import path,
        L{runner.filenameToModule} returns a module object loosely
        resembling the module defined by that file anyway.
         N/A N/A N/A self addCleanup N/A N/A sys modules pop test_sample None N/A N/A N/A self mangleSysPath N/A self oldPath N/A sample1 N/A N/A runner filenameToModule N/A N/A N/A os path join N/A self parent goodpackage test_sample.py N/A N/A N/A self mangleSysPath N/A self newPath goodpackage test_sample sample2 N/A N/A N/A self failUnlessEqual N/A N/A N/A N/A os path splitext N/A sample2 __file__ N/A 0 N/A N/A N/A N/A os path splitext N/A sample1 __file__ N/A 0 N/A test_packageInPath N/A N/A self N/A N/A N/A package1 N/A N/A runner filenameToModule N/A N/A N/A os path join N/A self parent goodpackage N/A goodpackage N/A N/A N/A self failUnlessEqual goodpackage package1 N/A test_packageNotInPath N/A N/A self N/A N/A N/A 
        If passed the path to a directory which represents a package which
        is not on the import path, L{runner.filenameToModule} returns a
        module object loosely resembling the package defined by that
        directory anyway.
         N/A N/A N/A self addCleanup N/A N/A sys modules pop __init__ N/A N/A N/A self mangleSysPath N/A self oldPath N/A package1 N/A N/A runner filenameToModule N/A N/A N/A os path join N/A self parent goodpackage N/A N/A N/A self mangleSysPath N/A self newPath N/A goodpackage N/A N/A N/A self failUnlessEqual N/A N/A N/A N/A os path splitext N/A goodpackage __file__ N/A 0 N/A N/A N/A N/A os path splitext N/A package1 __file__ N/A 0 N/A test_directoryNotPackage N/A N/A self N/A N/A N/A N/A N/A self failUnlessRaises ValueError N/A runner filenameToModule N/A N/A util sibpath __file__ directory N/A test_filenameNotPython N/A N/A self N/A N/A N/A N/A N/A self failUnlessRaises ValueError N/A runner filenameToModule N/A N/A util sibpath __file__ notpython.py N/A test_filenameMatchesPackage N/A N/A self N/A N/A N/A filename N/A N/A N/A os path join N/A self parent goodpackage.py N/A fd N/A open filename w N/A N/A N/A fd write N/A packages testModule N/A N/A N/A fd close N/A N/A N/A module N/A N/A runner filenameToModule filename N/A N/A N/A self failUnlessEqual filename N/A module __file__ N/A N/A N/A N/A os remove filename N/A test_directory N/A N/A self N/A N/A N/A 
        Test loader against a filesystem directory. It should handle
        'path' and 'path/' the same way.
         N/A path N/A N/A util sibpath __file__ goodDirectory N/A N/A N/A os mkdir path N/A f N/A file N/A N/A N/A os path join path __init__.py w N/A N/A N/A f close N/A N/A N/A module N/A N/A runner filenameToModule path N/A N/A N/A self assert_ N/A N/A N/A module __name__ endswith goodDirectory N/A module N/A N/A runner filenameToModule N/A path N/A N/A os path sep N/A N/A N/A self assert_ N/A N/A N/A module __name__ endswith goodDirectory N/A N/A N/A N/A shutil rmtree path N/A N/A LoaderTest N/A N/A packages SysPathManglingTest N/A setUp N/A N/A self N/A N/A N/A N/A self loader N/A N/A runner TestLoader N/A N/A N/A N/A packages SysPathManglingTest setUp self N/A test_sortCases N/A N/A self N/A N/A N/A sample N/A suite N/A N/A N/A self loader loadClass N/A sample AlphabetTest N/A N/A N/A self failUnlessEqual N/A test_a test_b test_c N/A N/A test _testMethodName N/A test N/A suite _tests N/A newOrder N/A test_b test_c test_a N/A sortDict N/A dict N/A zip newOrder N/A range 3 N/A N/A N/A self loader sorter N/A N/A N/A x N/A N/A N/A sortDict get N/A N/A x shortDescription -1 N/A suite N/A N/A N/A self loader loadClass N/A sample AlphabetTest N/A N/A N/A self failUnlessEqual newOrder N/A N/A test _testMethodName N/A test N/A suite _tests N/A test_loadMethod N/A N/A self N/A N/A N/A sample N/A suite N/A N/A N/A self loader loadMethod N/A N/A sample FooTest test_foo N/A N/A N/A self failUnlessEqual 1 N/A N/A suite countTestCases N/A N/A N/A self failUnlessEqual test_foo N/A suite _testMethodName N/A test_loadFailingMethod N/A N/A self N/A N/A N/A erroneous N/A suite N/A N/A N/A self loader loadMethod N/A N/A erroneous TestRegularFail test_fail N/A result N/A N/A reporter TestResult N/A N/A N/A suite run result N/A N/A N/A self failUnlessEqual N/A result testsRun 1 N/A N/A N/A self failUnlessEqual N/A len N/A result failures 1 N/A test_loadNonMethod N/A N/A self N/A N/A N/A sample N/A N/A N/A self failUnlessRaises TypeError N/A N/A self loader loadMethod sample N/A N/A N/A self failUnlessRaises TypeError N/A N/A self loader loadMethod N/A sample FooTest N/A N/A N/A self failUnlessRaises TypeError N/A N/A self loader loadMethod string N/A N/A N/A self failUnlessRaises TypeError N/A N/A self loader loadMethod N/A foo bar N/A test_loadClass N/A N/A self N/A N/A N/A sample N/A suite N/A N/A N/A self loader loadClass N/A sample FooTest N/A N/A N/A self failUnlessEqual 2 N/A N/A suite countTestCases N/A N/A N/A self failUnlessEqual N/A test_bar test_foo N/A N/A test _testMethodName N/A test N/A suite _tests N/A test_loadNonClass N/A N/A self N/A N/A N/A sample N/A N/A N/A self failUnlessRaises TypeError N/A N/A self loader loadClass sample N/A N/A N/A self failUnlessRaises TypeError N/A N/A self loader loadClass N/A N/A sample FooTest test_foo N/A N/A N/A self failUnlessRaises TypeError N/A N/A self loader loadClass string N/A N/A N/A self failUnlessRaises TypeError N/A N/A self loader loadClass N/A foo bar N/A test_loadNonTestCase N/A N/A self N/A N/A N/A sample N/A N/A N/A self failUnlessRaises ValueError N/A N/A self loader loadClass N/A sample NotATest N/A test_loadModule N/A N/A self N/A N/A N/A sample N/A suite N/A N/A N/A self loader loadModule sample N/A N/A N/A self failUnlessEqual 7 N/A N/A suite countTestCases N/A test_loadNonModule N/A N/A self N/A N/A N/A sample N/A N/A N/A self failUnlessRaises TypeError N/A N/A self loader loadModule N/A sample FooTest N/A N/A N/A self failUnlessRaises TypeError N/A N/A self loader loadModule N/A N/A sample FooTest test_foo N/A N/A N/A self failUnlessRaises TypeError N/A N/A self loader loadModule string N/A N/A N/A self failUnlessRaises TypeError N/A N/A self loader loadModule N/A foo bar N/A test_loadPackage N/A N/A self N/A N/A N/A goodpackage N/A suite N/A N/A N/A self loader loadPackage goodpackage N/A N/A N/A self failUnlessEqual 7 N/A N/A suite countTestCases N/A test_loadNonPackage N/A N/A self N/A N/A N/A sample N/A N/A N/A self failUnlessRaises TypeError N/A N/A self loader loadPackage N/A sample FooTest N/A N/A N/A self failUnlessRaises TypeError N/A N/A self loader loadPackage N/A N/A sample FooTest test_foo N/A N/A N/A self failUnlessRaises TypeError N/A N/A self loader loadPackage string N/A N/A N/A self failUnlessRaises TypeError N/A N/A self loader loadPackage N/A foo bar N/A test_loadModuleAsPackage N/A N/A self N/A N/A N/A sample N/A N/A N/A self failUnlessRaises TypeError N/A N/A self loader loadPackage sample N/A test_loadPackageRecursive N/A N/A self N/A N/A N/A goodpackage N/A suite N/A N/A N/A self loader loadPackage goodpackage recurse True N/A N/A N/A self failUnlessEqual 14 N/A N/A suite countTestCases N/A test_loadAnythingOnModule N/A N/A self N/A N/A N/A sample N/A suite N/A N/A N/A self loader loadAnything sample N/A N/A N/A self failUnlessEqual N/A sample __name__ N/A N/A N/A N/A N/A N/A suite _tests N/A 0 _tests N/A 0 __class__ __module__ N/A test_loadAnythingOnClass N/A N/A self N/A N/A N/A sample N/A suite N/A N/A N/A self loader loadAnything N/A sample FooTest N/A N/A N/A self failUnlessEqual 2 N/A N/A suite countTestCases N/A test_loadAnythingOnMethod N/A N/A self N/A N/A N/A sample N/A suite N/A N/A N/A self loader loadAnything N/A N/A sample FooTest test_foo N/A N/A N/A self failUnlessEqual 1 N/A N/A suite countTestCases N/A test_loadAnythingOnPackage N/A N/A self N/A N/A N/A goodpackage N/A suite N/A N/A N/A self loader loadAnything goodpackage N/A N/A N/A self failUnless N/A isinstance suite N/A N/A self loader suiteFactory N/A N/A N/A self failUnlessEqual 7 N/A N/A suite countTestCases N/A test_loadAnythingOnPackageRecursive N/A N/A self N/A N/A N/A goodpackage N/A suite N/A N/A N/A self loader loadAnything goodpackage recurse True N/A N/A N/A self failUnless N/A isinstance suite N/A N/A self loader suiteFactory N/A N/A N/A self failUnlessEqual 14 N/A N/A suite countTestCases N/A test_loadAnythingOnString N/A N/A self N/A N/A N/A N/A N/A self failUnlessRaises TypeError N/A N/A self loader loadAnything goodpackage N/A test_importErrors N/A N/A self N/A N/A N/A package N/A suite N/A N/A N/A self loader loadPackage package recurse True N/A result N/A N/A reporter Reporter N/A N/A N/A suite run result N/A N/A N/A self failUnlessEqual False N/A N/A result wasSuccessful N/A N/A N/A self failUnlessEqual 2 N/A len N/A result errors N/A errors N/A N/A N/A test id N/A N/A test error N/A result errors N/A N/A N/A errors sort N/A N/A N/A self failUnlessEqual errors N/A package.test_bad_module package.test_import_module N/A test_differentInstances N/A N/A self N/A N/A N/A 
        L{TestLoader.loadClass} returns a suite with each test method
        represented by a different instances of the L{TestCase} they are
        defined on.
         DistinctInstances N/A N/A unittest TestCase N/A test_1 N/A N/A self N/A N/A N/A N/A self first test1Run N/A test_2 N/A N/A self N/A N/A N/A N/A N/A self assertFalse N/A hasattr self first N/A N/A N/A suite N/A N/A N/A self loader loadClass DistinctInstances N/A result N/A N/A reporter Reporter N/A N/A N/A suite run result N/A N/A N/A self assertTrue N/A N/A result wasSuccessful N/A test_loadModuleWith_test_suite N/A N/A self N/A N/A N/A 
        Check that C{test_suite} is used when present and other L{TestCase}s are
        not included.
         twisted.trial.test mockcustomsuite N/A suite N/A N/A N/A self loader loadModule mockcustomsuite N/A N/A N/A self failUnlessEqual 0 N/A N/A suite countTestCases N/A N/A N/A self failUnlessEqual MyCustomSuite N/A getattr suite name None N/A test_loadModuleWith_testSuite N/A N/A self N/A N/A N/A 
        Check that C{testSuite} is used when present and other L{TestCase}s are
        not included.
         twisted.trial.test mockcustomsuite2 N/A suite N/A N/A N/A self loader loadModule mockcustomsuite2 N/A N/A N/A self assertEqual 0 N/A N/A suite countTestCases N/A N/A N/A self assertEqual MyCustomSuite N/A getattr suite name None N/A test_loadModuleWithBothCustom N/A N/A self N/A N/A N/A 
        Check that if C{testSuite} and C{test_suite} are both present in a
        module then C{testSuite} gets priority.
         twisted.trial.test mockcustomsuite3 N/A suite N/A N/A N/A self loader loadModule mockcustomsuite3 N/A N/A N/A self assertEqual testSuite N/A getattr suite name None N/A test_customLoadRaisesAttributeError N/A N/A self N/A N/A N/A 
        Make sure that any C{AttributeError}s raised by C{testSuite} are not
        swallowed by L{TestLoader}.
         testSuite N/A N/A N/A N/A N/A N/A AttributeError should be reraised N/A twisted.trial.test mockcustomsuite2 N/A N/A N/A mockcustomsuite2 testSuite original N/A testSuite N/A mockcustomsuite2 testSuite N/A N/A N/A N/A N/A self assertRaises AttributeError N/A N/A self loader loadModule mockcustomsuite2 N/A N/A N/A mockcustomsuite2 testSuite original N/A assertSuitesEqual N/A N/A self test1 test2 N/A N/A N/A names1 N/A testNames test1 N/A names2 N/A testNames test2 N/A N/A N/A names1 sort N/A N/A N/A names2 sort N/A N/A N/A self assertEqual names1 names2 N/A test_loadByNamesDuplicate N/A N/A self N/A N/A N/A 
        Check that loadByNames ignores duplicate names
         N/A module twisted.trial.test.test_test_visitor N/A suite1 N/A N/A N/A self loader loadByNames N/A module module True N/A suite2 N/A N/A N/A self loader loadByName module True N/A N/A N/A self assertSuitesEqual suite1 suite2 N/A test_loadDifferentNames N/A N/A self N/A N/A N/A 
        Check that loadByNames loads all the names that it is given
         N/A modules N/A goodpackage package.test_module N/A suite1 N/A N/A N/A self loader loadByNames modules N/A suite2 N/A N/A runner TestSuite N/A map N/A N/A self loader loadByName modules N/A N/A N/A self assertSuitesEqual suite1 suite2 N/A N/A ZipLoadingTest N/A LoaderTest N/A setUp N/A N/A self N/A N/A twisted.test.test_paths zipit N/A N/A N/A LoaderTest setUp self N/A N/A zipit N/A self parent N/A N/A self parent .zip N/A N/A self parent .zip N/A N/A N/A self mangleSysPath N/A N/A self oldPath N/A N/A self parent N/A N/A PackageOrderingTest N/A N/A packages SysPathManglingTest N/A N/A N/A N/A sys version_info N/A 2 4 N/A N/A skip Python 2.3 import semantics make this behavior incorrect on that version of Python as well as difficult to test.  The second import of a package which raised an exception the first time it was imported will succeed on Python 2.3, whereas it will fail on later versions of Python.  Trial does not account for this, so this test fails with inconsistencies between the expected and the received loader errors. setUp N/A N/A self N/A N/A N/A N/A self loader N/A N/A runner TestLoader N/A N/A self topDir N/A N/A self mktemp N/A parent N/A N/A N/A os path join N/A self topDir uberpackage N/A N/A N/A os makedirs parent N/A N/A N/A N/A file N/A N/A N/A os path join parent __init__.py wb close N/A N/A N/A N/A packages SysPathManglingTest setUp self parent N/A N/A N/A self mangleSysPath N/A N/A self oldPath N/A N/A self topDir N/A _trialSortAlgorithm N/A N/A self sorter N/A N/A N/A 
        Right now, halfway by accident, trial sorts like this:

            1. all modules are grouped together in one list and sorted.

            2. within each module, the classes are grouped together in one list
               and sorted.

            3. finally within each class, each test method is grouped together
               in a list and sorted.

        This attempts to return a sorted list of testable thingies following
        those rules, so that we can compare the behavior of loadPackage.

        The things that show as 'cases' are errors from modules which failed to
        import, and test methods.  Let's gather all those together.
         N/A pkg N/A getModule uberpackage N/A testModules N/A N/A testModule N/A N/A pkg walkModules N/A N/A N/A N/A N/A N/A N/A N/A testModule name split . N/A -1 startswith test_ N/A N/A N/A N/A testModules append testModule N/A sortedModules N/A sorted testModules key sorter N/A modinfo sortedModules N/A N/A module N/A N/A modinfo load None N/A N/A module None N/A N/A N/A modinfo N/A N/A testClasses N/A N/A attrib N/A N/A modinfo iterAttributes N/A N/A N/A N/A runner isTestCase N/A N/A attrib load N/A N/A N/A N/A testClasses append attrib N/A sortedClasses N/A sorted testClasses key sorter N/A clsinfo sortedClasses N/A N/A testMethods N/A N/A attr N/A N/A clsinfo iterAttributes N/A N/A N/A N/A N/A N/A N/A N/A attr name split . N/A -1 startswith test N/A N/A N/A N/A testMethods append attr N/A sortedMethods N/A sorted testMethods key sorter N/A methinfo sortedMethods N/A N/A N/A methinfo N/A loadSortedPackages N/A N/A self sorter N/A N/A runner name N/A N/A 
        Verify that packages are loaded in the correct order.
         N/A uberpackage N/A N/A N/A self loader sorter sorter N/A suite N/A N/A N/A self loader loadPackage uberpackage recurse True N/A suite N/A N/A unittest decorate suite ITestCase N/A resultingTests N/A list N/A N/A unittest _iterateTests suite N/A manifest N/A list N/A N/A self _trialSortAlgorithm sorter N/A N/A number N/A manifestTest actualTest N/A enumerate N/A zip manifest resultingTests N/A N/A N/A N/A self assertEqual N/A manifestTest name N/A N/A actualTest id N/A #%d: %s != %s N/A number N/A manifestTest name N/A N/A actualTest id N/A N/A N/A self assertEqual N/A len manifest N/A len resultingTests N/A test_sortPackagesDefaultOrder N/A N/A self N/A N/A N/A N/A N/A self loadSortedPackages N/A test_sortPackagesSillyOrder N/A N/A self N/A N/A sillySorter N/A N/A s N/A N/A N/A n N/A N/A runner name s N/A d N/A N/A N/A md5 n hexdigest N/A d N/A N/A N/A N/A self loadSortedPackages sillySorter N/A N/A