Module ImportFrom alias alias alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias TryExcept body Import alias identifier handlers ExceptHandler type NameLoad body Import alias ImportFrom alias ImportFrom alias FunctionDef arguments args defaults body Expr Str Return NameLoad decorator_list ClassDef bases NameLoad body Pass decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list If CompareGt SubscriptLoad AttributeLoad NameLoad attr Index Num Num body Exec Str decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr keyword Str keyword NameLoad decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr keyword Str keyword Str decorator_list Call AttributeLoad NameLoad attr Str decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num Index Num AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad Str decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad Str decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Str decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr ListLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr Str Assign AttributeStore AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num Index Num AttributeLoad AttributeLoad NameLoad attr attr decorator_list Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr keyword NameLoad Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr Str Assign AttributeStore AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num Index Num AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr keyword NameLoad Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr
N/A __future__ absolute_import division print_function N/A argparse N/A cgitb N/A logging N/A logging.handlers N/A mock N/A platform N/A sys N/A N/A N/A unittest2 unittest N/A N/A N/A ImportError N/A N/A unittest begin cmdline begin extensions target N/A N/A N/A N/A N/A target N/A Ellipsis N/A Options N/A object N/A N/A N/A TestExtension N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self extension N/A N/A extensions Extension target N/A test_call N/A N/A self N/A N/A N/A N/A N/A self assertIs N/A N/A self extension Ellipsis N/A test_add_arguments N/A N/A self N/A N/A N/A N/A N/A self assertRaises NotImplementedError N/A N/A self extension add_arguments N/A N/A mock Mock N/A N/A mock Mock N/A test_run N/A N/A self N/A N/A N/A N/A N/A self assertRaises NotImplementedError N/A N/A self extension run N/A N/A mock Mock N/A test_property_wrapped N/A N/A self N/A N/A N/A N/A N/A self assertIs N/A N/A self extension __wrapped__ target N/A test_property_doc N/A N/A self N/A N/A N/A N/A N/A self assertIs N/A N/A self extension __doc__ N/A target __doc__ N/A test_property_module N/A N/A self N/A N/A N/A N/A N/A self assertIs N/A N/A self extension __module__ N/A target __module__ N/A test_property_name N/A N/A self N/A N/A N/A N/A N/A self assertIs N/A N/A self extension __name__ N/A target __name__ N/A N/A N/A N/A N/A sys version_info N/A 0 2 N/A N/A 
def test_property_annotations(self):
    self.assertIs(self.extension.__annotations__, target.__annotations__)
 N/A TestTracebacks N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self tracebacks N/A N/A extensions Tracebacks target N/A test_add_arguments N/A N/A self N/A N/A N/A parser N/A N/A argparse ArgumentParser N/A N/A N/A self assertEqual N/A len N/A parser _action_groups 2 N/A N/A N/A self assertEqual N/A len N/A N/A parser _optionals _actions 1 N/A N/A N/A N/A self tracebacks add_arguments parser N/A N/A cmdline DefaultsManager N/A N/A N/A self assertEqual N/A len N/A parser _action_groups 3 N/A N/A N/A self assertEqual N/A len N/A N/A parser _optionals _actions 3 N/A test_run_disabled N/A N/A self enable N/A N/A N/A opts N/A Options N/A N/A opts tracebacks False N/A N/A N/A N/A self tracebacks run opts N/A N/A N/A self assertFalse N/A enable called N/A N/A N/A mock patch cgitb.enable test_run_stdout N/A N/A self enable N/A N/A N/A opts N/A Options N/A N/A opts tracebacks True N/A N/A opts tbdir None N/A N/A N/A N/A self tracebacks run opts N/A N/A N/A enable assert_called_once_with format txt logdir None N/A N/A N/A mock patch cgitb.enable test_run_directory N/A N/A self enable N/A N/A N/A opts N/A Options N/A N/A opts tracebacks True N/A N/A opts tbdir /dev/null N/A N/A N/A N/A self tracebacks run opts N/A N/A N/A enable assert_called_once_with format txt logdir /dev/null N/A N/A N/A mock patch cgitb.enable N/A TestLoging N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self logs N/A N/A extensions Logging target N/A N/A self opts N/A Options N/A N/A N/A self opts verbose False N/A N/A N/A self opts quiet False N/A N/A N/A self opts loglvl None N/A N/A N/A self opts logfile None N/A N/A N/A self opts logfmt None N/A test_add_arguments N/A N/A self N/A N/A N/A parser N/A N/A argparse ArgumentParser N/A N/A N/A self assertEqual N/A len N/A parser _action_groups 2 N/A N/A N/A self assertEqual N/A len N/A N/A parser _optionals _actions 1 N/A N/A N/A N/A self logs add_arguments parser N/A N/A cmdline DefaultsManager N/A N/A N/A self assertEqual N/A len N/A parser _action_groups 3 N/A N/A N/A self assertEqual N/A len N/A N/A parser _optionals _actions 6 N/A test_run_default N/A N/A self getlogger N/A N/A N/A N/A N/A N/A self logs run N/A self opts N/A N/A N/A self assertTrue N/A getlogger called N/A logger N/A getlogger return_value N/A N/A N/A N/A logger setLevel assert_called_once_with N/A getattr logging INFO N/A N/A N/A self assertTrue N/A N/A logger addHandler called N/A N/A N/A self assertIsInstance N/A N/A N/A N/A logger addHandler call_args N/A 0 N/A 0 N/A logging StreamHandler N/A N/A N/A mock patch logging.getLogger test_run_verbose N/A N/A self getlogger N/A N/A N/A N/A N/A self opts verbose True N/A N/A N/A N/A self logs run N/A self opts N/A N/A N/A self assertTrue N/A getlogger called N/A logger N/A getlogger return_value N/A N/A N/A N/A logger setLevel assert_called_once_with N/A getattr logging DEBUG N/A N/A N/A mock patch logging.getLogger test_run_quiet N/A N/A self getlogger N/A N/A N/A N/A N/A self opts quiet True N/A N/A N/A N/A self logs run N/A self opts N/A N/A N/A self assertTrue N/A getlogger called N/A logger N/A getlogger return_value N/A N/A N/A N/A logger setLevel assert_called_once_with N/A getattr logging WARNING N/A N/A N/A mock patch logging.getLogger test_run_loglvl N/A N/A self getlogger N/A N/A N/A N/A N/A self opts loglvl ERROR N/A N/A N/A N/A self logs run N/A self opts N/A N/A N/A self assertTrue N/A getlogger called N/A logger N/A getlogger return_value N/A N/A N/A N/A logger setLevel assert_called_once_with N/A N/A logging getLevelName ERROR N/A N/A N/A mock patch logging.getLogger test_run_reinitialise N/A N/A self getlogger N/A N/A N/A N/A N/A getlogger return_value handlers N/A Ellipsis N/A N/A N/A N/A self logs run N/A self opts N/A N/A N/A N/A N/A getlogger return_value removeHandler assert_called_once_with Ellipsis N/A N/A N/A mock patch logging.getLogger test_run_logfile_linux N/A N/A self getlogger system N/A N/A N/A N/A system return_value Linux N/A N/A N/A self opts logfile /dev/null N/A N/A N/A N/A self logs run N/A self opts N/A logger N/A getlogger return_value N/A N/A N/A self assertTrue N/A N/A logger addHandler called N/A N/A N/A self assertIsInstance N/A N/A N/A N/A logger addHandler call_args N/A 0 N/A 0 N/A N/A logging handlers WatchedFileHandler N/A N/A N/A mock patch logging.open N/A N/A mock mock_open create True N/A N/A mock patch platform.system N/A N/A mock patch logging.getLogger test_run_logfile_windows N/A N/A self getlogger system N/A N/A N/A N/A system return_value Windows N/A N/A N/A self opts logfile /dev/null N/A N/A N/A N/A self logs run N/A self opts N/A logger N/A getlogger return_value N/A N/A N/A self assertTrue N/A N/A logger addHandler called N/A N/A N/A self assertIsInstance N/A N/A N/A N/A logger addHandler call_args N/A 0 N/A 0 N/A logging FileHandler N/A N/A N/A mock patch logging.open N/A N/A mock mock_open create True N/A N/A mock patch platform.system N/A N/A mock patch logging.getLogger N/A N/A N/A __name__ __main__ N/A N/A N/A N/A unittest begin