Module Expr Str Import alias Import alias Import alias ImportFrom alias ImportFrom alias Assign NameStore NameLoad ClassDef bases NameLoad body Expr Str Assign NameStore Str Assign NameStore TupleLoad Str Str Str Assign NameStore Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Dict If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str AugAssignAdd AttributeStore NameLoad attr Num Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr If CompareNotIn NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad orelse Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad If CompareGt AttributeLoad AttributeLoad NameLoad attr attr Num body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str For TupleStore NameStore NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Slice body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str With Call NameLoad AttributeLoad NameLoad attr Str NameStore body Expr Call AttributeLoad NameLoad attr Dict Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Return TryExcept body With Call NameLoad AttributeLoad NameLoad attr Str NameStore body Assign NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Assign AttributeStore NameLoad attr NameLoad Return If CompareIn Str NameLoad body Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str If CompareIn Str NameLoad body Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareIs NameLoad NameLoad body Return NameLoad Assign NameStore Call NameLoad SubscriptLoad Call AttributeLoad NameLoad attr Index Num Expr Call AttributeLoad NameLoad attr TryExcept body Return SubscriptLoad AttributeLoad NameLoad attr Index NameLoad handlers ExceptHandler type NameLoad body Return NameLoad decorator_list decorator_list
N/A N/A 
Allow easy test selection with test ids.

Assigns (and, in verbose mode, prints) a sequential test id for each
test executed. Ids can be fed back in as test names, and this plugin
will translate them back to full test names. Saves typing!

This plugin implements :func:`reportStartTest`,
:func:`loadTestsFromName`, :func:`loadTestsFromNames` and
:func:`stopTest`.

 N/A os N/A pickle N/A re nose2.events Plugin nose2 util N/A __unittest True TestId N/A Plugin N/A N/A Allow easy test select with ids N/A configSection testid N/A commandLineSwitch N/A I with-id Add test ids to output N/A idpat N/A N/A re compile (\d+) __init__ N/A N/A self N/A N/A N/A N/A self idfile N/A N/A N/A self config as_str id-file .noseids N/A N/A self ids N/A N/A N/A self tests N/A N/A N/A N/A N/A N/A os path isabs N/A self idfile N/A N/A N/A self idfile N/A N/A N/A os path join N/A N/A os getcwd N/A self idfile N/A N/A self id 0 N/A N/A self _loaded False N/A nextId N/A N/A self N/A N/A N/A Increment ID and return it. N/A N/A self id 1 N/A N/A self id N/A reportStartTest N/A N/A self event N/A N/A N/A Record and possibly output test id N/A testid N/A N/A util test_name N/A N/A event testEvent test N/A N/A testid N/A self tests N/A N/A id_ N/A N/A self nextId N/A N/A N/A self ids N/A id_ testid N/A N/A N/A self tests N/A testid id_ N/A N/A id_ N/A N/A self tests N/A testid N/A N/A N/A event metadata N/A testid id_ N/A N/A N/A N/A self session verbosity 1 N/A N/A N/A N/A N/A event stream write N/A #%s  id_ N/A loadTestsFromName N/A N/A self event N/A N/A N/A Load tests from a name that is an id

        If the name is a number, it might be an ID assigned by us. If we can
        find a test to which we have assigned that ID, event.name is changed to
        the test's real ID. In this way, tests can be referred to via sequential
        numbers.
         N/A testid N/A N/A self _testNameFromId N/A event name N/A N/A testid None N/A N/A N/A event name testid N/A loadTestsFromNames N/A N/A self event N/A N/A N/A Translate test ids into test names N/A N/A i name N/A enumerate N/A N/A event names N/A N/A N/A testid N/A N/A self _testNameFromId name N/A N/A testid None N/A N/A N/A N/A event names N/A i testid N/A stopTestRun N/A N/A self event N/A N/A N/A Write testids file N/A N/A open N/A self idfile wb fh N/A N/A N/A N/A pickle dump N/A ids tests N/A self ids N/A self tests fh N/A loadIds N/A N/A self N/A N/A N/A Load previously pickled 'ids' and 'tests' attributes. N/A N/A self _loaded N/A N/A N/A N/A N/A N/A open N/A self idfile rb fh N/A N/A data N/A N/A pickle load fh N/A N/A N/A EnvironmentError N/A N/A N/A self _loaded True N/A N/A N/A ids data N/A N/A N/A self ids N/A data N/A ids N/A N/A tests data N/A N/A N/A self tests N/A data N/A tests N/A N/A self id N/A max N/A N/A N/A self ids keys N/A N/A self _loaded True N/A _testNameFromId N/A N/A self name N/A N/A N/A Try to translate one of our IDs to real test ID. N/A m N/A N/A N/A self idpat match name N/A N/A m None N/A N/A None N/A id_ N/A int N/A N/A N/A m groups N/A 0 N/A N/A N/A self loadIds N/A N/A N/A N/A N/A self ids N/A id_ N/A N/A N/A KeyError N/A N/A None N/A N/A