Module Expr Str Import alias ImportFrom alias alias alias alias alias alias alias alias alias ImportFrom alias Import alias ImportFrom alias alias ImportFrom alias alias alias alias Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad Str FunctionDef arguments args NameParam defaults body Return Call NameLoad NameLoad NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Return Call NameLoad NameLoad NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args defaults body Return ListLoad NameLoad NameLoad NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad Str NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Return NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad Str NameLoad keyword NameLoad Assign AttributeStore NameLoad attr Call NameLoad keyword ListLoad NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Return NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Return Call NameLoad NameLoad NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Return NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Return Call NameLoad NameLoad NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args defaults body Return ListLoad NameLoad NameLoad NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args defaults body Return ListLoad NameLoad NameLoad NameLoad NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args defaults body Return ListLoad NameLoad NameLoad NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad Str NameLoad Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args defaults body Return Call AttributeLoad NameLoad attr decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Return NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args defaults body Return ListLoad NameLoad NameLoad NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr decorator_list AttributeLoad NameLoad attr FunctionDef arguments args defaults body Return ListLoad NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list AttributeLoad NameLoad attr ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Call NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Assert Call NameLoad NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad With Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad With Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assert CompareIs NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assert CompareEq AttributeLoad NameLoad attr NameLoad Assert CompareEq AttributeLoad NameLoad attr NameLoad Assert Call NameLoad NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assert CompareEq AttributeLoad NameLoad attr NameLoad Assert CompareEq AttributeLoad NameLoad attr NameLoad Assert Call NameLoad NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assert CompareIn NameLoad SubscriptLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num Index Num decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad Str Str Str ListLoad TupleLoad Str NameLoad Str TupleLoad NameLoad Str Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assert CompareEq AttributeLoad NameLoad attr NameLoad Assert CompareEq AttributeLoad NameLoad attr NameLoad Assert CompareEq AttributeLoad NameLoad attr NameLoad Assert Call NameLoad NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assert CompareIn NameLoad SubscriptLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num Index Num decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad Str Str Str ListLoad TupleLoad Str NameLoad Str TupleLoad NameLoad Str Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assert CompareEq AttributeLoad NameLoad attr NameLoad Assert CompareEq AttributeLoad NameLoad attr NameLoad Assert Call NameLoad NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assert CompareIn Str SubscriptLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num Index Num decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assert CompareEq AttributeLoad NameLoad attr NameLoad Assert CompareEq AttributeLoad NameLoad attr NameLoad Assert Call NameLoad NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assert CompareIn Str SubscriptLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num Index Num Assert CompareIn Str SubscriptLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num Index Num decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assert CompareEq AttributeLoad NameLoad attr NameLoad Assert CompareEq AttributeLoad NameLoad attr NameLoad Assert CompareEq AttributeLoad NameLoad attr NameLoad Assert CompareEq AttributeLoad NameLoad attr NameLoad Assert Call NameLoad NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assert CompareIn NameLoad SubscriptLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num Index Num decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad Str Str Str ListLoad TupleLoad Str NameLoad Str TupleLoad NameLoad Str Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A Test suite for the cli module. N/A argparse opcdiag.cli BrowseCommand Command CommandController DiffCommand DiffItemCommand ExtractCommand RepackageCommand SubstituteCommand main opcdiag.controller OpcController N/A pytest mock ANY Mock unitutil class_mock instance_mock loose_mock relpath N/A ARG_DIRPATH DIRPATH N/A ARG_PKG_PATH PKG_PATH N/A ARG_PKG_2_PATH PKG_2_PATH N/A ARG_FILENAME FILENAME N/A ARG_NEW_PACKAGE NEW_PACKAGE N/A ARG_SRC_PKG_PATH SRC_PKG_PATH N/A ARG_TGT_PKG_PATH TGT_PKG_PATH N/A ARG_RESULT_PKG_PATH RESULT_PKG_PATH N/A CMD_WORD_BROWSE browse N/A CMD_WORD_DIFF diff N/A CMD_WORD_DIFF_ITEM diff-item N/A CMD_WORD_EXTRACT extract N/A CMD_WORD_REPACKAGE repackage N/A CMD_WORD_SUBSTITUTE substitute N/A MINI_DIR_PKG_PATH N/A relpath test_files/mini_pkg N/A MINI_ZIP_PKG_PATH N/A relpath test_files/mini_pkg.zip app_controller_ N/A N/A request N/A N/A N/A N/A instance_mock OpcController request N/A N/A pytest fixture args_ N/A N/A request command_ N/A N/A N/A args_ N/A loose_mock request N/A N/A args_ command command_ N/A args_ N/A N/A pytest fixture argv_ N/A N/A request N/A N/A N/A N/A instance_mock list request N/A N/A pytest fixture browse_argv_ N/A N/A N/A N/A N/A N/A CMD_WORD_BROWSE ARG_PKG_PATH ARG_FILENAME N/A N/A pytest fixture CommandController_ N/A N/A request command_controller_ N/A N/A N/A CommandController_ N/A class_mock opcdiag.cli.CommandController request N/A N/A CommandController_ return_value command_controller_ N/A N/A N/A CommandController_ new return_value command_controller_ N/A CommandController_ N/A N/A pytest fixture Command_ N/A N/A request command_cls_ parser_ N/A N/A N/A Command_ N/A class_mock opcdiag.cli.Command request autospec False N/A N/A Command_ __subclasses__ N/A Mock return_value N/A command_cls_ N/A N/A N/A Command_ parser return_value parser_ N/A Command_ N/A N/A pytest fixture command_ N/A N/A request N/A N/A N/A N/A instance_mock Command request N/A N/A pytest fixture command_cls_ N/A N/A request command_ command_parser_ N/A N/A N/A command_cls_ N/A loose_mock request N/A N/A command_cls_ return_value command_ N/A N/A N/A command_cls_ add_command_parser_to return_value command_parser_ N/A command_cls_ N/A N/A pytest fixture command_controller_ N/A N/A request N/A N/A N/A N/A instance_mock CommandController request N/A N/A pytest fixture command_parser_ N/A N/A request N/A N/A N/A command_parser_ N/A instance_mock N/A argparse ArgumentParser request N/A command_parser_ N/A N/A pytest fixture diff_argv_ N/A N/A N/A N/A N/A N/A CMD_WORD_DIFF ARG_PKG_PATH ARG_PKG_2_PATH N/A N/A pytest fixture diff_item_argv_ N/A N/A N/A N/A N/A N/A CMD_WORD_DIFF_ITEM ARG_PKG_PATH ARG_PKG_2_PATH ARG_FILENAME N/A N/A pytest fixture extract_argv_ N/A N/A N/A N/A N/A N/A CMD_WORD_EXTRACT ARG_PKG_PATH ARG_DIRPATH N/A N/A pytest fixture OpcController_ N/A N/A request app_controller_ N/A N/A N/A OpcController_ N/A class_mock opcdiag.cli.OpcController request N/A N/A OpcController_ return_value app_controller_ N/A OpcController_ N/A N/A pytest fixture parser N/A N/A N/A N/A N/A N/A N/A argparse ArgumentParser N/A N/A pytest fixture parser_ N/A N/A request args_ N/A N/A N/A parser_ N/A instance_mock N/A argparse ArgumentParser request N/A N/A N/A parser_ parse_args return_value args_ N/A parser_ N/A N/A pytest fixture repackage_argv_ N/A N/A N/A N/A N/A N/A CMD_WORD_REPACKAGE ARG_DIRPATH ARG_NEW_PACKAGE N/A N/A pytest fixture subparsers N/A N/A parser N/A N/A N/A N/A N/A parser add_subparsers N/A N/A pytest fixture substitute_argv_ N/A N/A N/A N/A N/A N/A CMD_WORD_SUBSTITUTE ARG_FILENAME ARG_SRC_PKG_PATH ARG_TGT_PKG_PATH ARG_RESULT_PKG_PATH N/A N/A pytest fixture DescribeMain N/A object N/A it_should_execute_the_command_in_argv N/A N/A self argv_ CommandController_ command_controller_ N/A N/A N/A N/A main argv_ N/A N/A N/A N/A CommandController_ new assert_called_once_with N/A N/A N/A N/A command_controller_ execute assert_called_once_with argv_ N/A N/A DescribeCommand N/A object N/A it_can_configure_the_command_line_parser N/A N/A self Command_ command_cls_ command_ command_parser_ N/A N/A N/A parser N/A N/A Command parser N/A N/A N/A N/A command_cls_ add_command_parser_to assert_called_once_with ANY N/A N/A N/A command_cls_ assert_called_once_with command_parser_ N/A N/A N/A N/A command_parser_ set_defaults assert_called_once_with command command_ N/A N/A isinstance parser N/A argparse ArgumentParser N/A it_should_raise_if_validate_not_implemented_on_subclass N/A N/A self N/A N/A N/A command N/A Command None N/A N/A N/A pytest raises NotImplementedError N/A N/A N/A N/A command validate None N/A it_should_raise_if_execute_not_implemented_on_subclass N/A N/A self N/A N/A N/A command N/A Command None N/A N/A N/A pytest raises NotImplementedError N/A N/A N/A N/A command execute None None N/A N/A DescribeCommandController N/A object N/A it_can_be_constructed_with_its_factory_method N/A N/A self Command_ CommandController_ command_controller_ parser_ OpcController_ app_controller_ N/A N/A N/A command_controller N/A N/A CommandController new N/A N/A N/A N/A Command_ parser assert_called_once_with N/A N/A N/A OpcController_ assert_called_once_with N/A N/A N/A CommandController_ assert_called_once_with parser_ app_controller_ N/A N/A command_controller command_controller_ N/A it_can_execute_a_command_in_argv_form N/A N/A self parser_ app_controller_ argv_ args_ command_ N/A N/A N/A command_controller N/A CommandController parser_ app_controller_ N/A N/A N/A argv_ __len__ return_value 2 N/A N/A N/A command_controller execute argv_ N/A N/A N/A N/A command_ validate assert_called_once_with args_ N/A N/A N/A N/A command_ execute assert_called_once_with args_ app_controller_ N/A N/A DescribeBrowseCommand N/A object N/A it_should_add_a_browse_command_parser N/A N/A self browse_argv_ parser subparsers N/A N/A N/A subparser N/A N/A BrowseCommand add_command_parser_to subparsers N/A args N/A N/A parser parse_args browse_argv_ N/A N/A N/A args pkg_path ARG_PKG_PATH N/A N/A N/A args filename ARG_FILENAME N/A N/A isinstance subparser N/A argparse ArgumentParser N/A it_should_trigger_parser_error_if_pkg_path_does_not_exist N/A N/A self args_ parser_ N/A N/A N/A N/A args_ pkg_path foobar N/A browse_command N/A BrowseCommand parser_ N/A N/A N/A browse_command validate args_ N/A N/A N/A N/A parser_ error assert_called_once_with ANY N/A it_can_dispatch_browse_command_to_app N/A N/A self args_ app_controller_ N/A N/A N/A browse_command N/A BrowseCommand None N/A N/A N/A browse_command execute args_ app_controller_ N/A N/A N/A N/A app_controller_ browse assert_called_once_with N/A args_ pkg_path N/A args_ filename N/A N/A DescribeDiffCommand N/A object N/A it_should_add_a_diff_command_parser N/A N/A self subparsers parser diff_argv_ N/A N/A N/A subparser N/A N/A DiffCommand add_command_parser_to subparsers N/A args N/A N/A parser parse_args diff_argv_ N/A N/A N/A args pkg_1_path ARG_PKG_PATH N/A N/A N/A args pkg_2_path ARG_PKG_2_PATH N/A N/A isinstance subparser N/A argparse ArgumentParser N/A it_should_trigger_parser_error_if_pkg_path_does_not_exist N/A N/A self pkg_1_path pkg_2_path err_frag args_ parser_ N/A N/A N/A N/A args_ pkg_1_path pkg_1_path N/A N/A args_ pkg_2_path pkg_2_path N/A diff_command N/A DiffCommand parser_ N/A N/A N/A diff_command validate args_ N/A N/A N/A N/A parser_ error assert_called_once_with ANY N/A N/A err_frag N/A N/A N/A N/A parser_ error call_args N/A 0 N/A 0 N/A N/A N/A N/A pytest mark parametrize N/A pkg_1_path pkg_2_path err_frag N/A N/A foobar MINI_ZIP_PKG_PATH PKG_1 N/A MINI_ZIP_PKG_PATH foobar PKG_2 it_can_dispatch_a_diff_command_to_the_app N/A N/A self args_ app_controller_ N/A N/A N/A diff_command N/A DiffCommand None N/A N/A N/A diff_command execute args_ app_controller_ N/A N/A N/A N/A app_controller_ diff_pkg assert_called_once_with N/A args_ pkg_1_path N/A args_ pkg_2_path N/A N/A DescribeDiffItemCommand N/A object N/A it_should_add_a_diff_item_command_parser N/A N/A self diff_item_argv_ parser subparsers N/A N/A N/A subparser N/A N/A DiffItemCommand add_command_parser_to subparsers N/A args N/A N/A parser parse_args diff_item_argv_ N/A N/A N/A args pkg_1_path ARG_PKG_PATH N/A N/A N/A args pkg_2_path ARG_PKG_2_PATH N/A N/A N/A args filename ARG_FILENAME N/A N/A isinstance subparser N/A argparse ArgumentParser N/A it_should_trigger_parser_error_if_pkg_path_does_not_exist N/A N/A self pkg_1_path pkg_2_path err_frag args_ parser_ N/A N/A N/A N/A args_ pkg_1_path pkg_1_path N/A N/A args_ pkg_2_path pkg_2_path N/A diff_item_command N/A DiffItemCommand parser_ N/A N/A N/A diff_item_command validate args_ N/A N/A N/A N/A parser_ error assert_called_once_with ANY N/A N/A err_frag N/A N/A N/A N/A parser_ error call_args N/A 0 N/A 0 N/A N/A N/A N/A pytest mark parametrize N/A pkg_1_path pkg_2_path err_frag N/A N/A foobar MINI_ZIP_PKG_PATH PKG_1 N/A MINI_ZIP_PKG_PATH foobar PKG_2 it_can_dispatch_diff_item_command_to_app N/A N/A self args_ app_controller_ N/A N/A N/A diff_item_command N/A DiffItemCommand None N/A N/A N/A diff_item_command execute args_ app_controller_ N/A N/A N/A N/A app_controller_ diff_item assert_called_once_with N/A args_ pkg_1_path N/A args_ pkg_2_path N/A args_ filename N/A N/A DescribeExtractCommand N/A object N/A it_should_add_a_extract_command_parser N/A N/A self extract_argv_ parser subparsers N/A N/A N/A subparser N/A N/A ExtractCommand add_command_parser_to subparsers N/A args N/A N/A parser parse_args extract_argv_ N/A N/A N/A args pkg_path ARG_PKG_PATH N/A N/A N/A args dirpath ARG_DIRPATH N/A N/A isinstance subparser N/A argparse ArgumentParser N/A it_should_trigger_parser_error_if_pkg_path_does_not_exist N/A N/A self args_ parser_ N/A N/A N/A N/A args_ pkg_path foobar N/A extract_command N/A ExtractCommand parser_ N/A N/A N/A extract_command validate args_ N/A N/A N/A N/A parser_ error assert_called_once_with ANY N/A N/A PKG_PATH N/A N/A N/A N/A parser_ error call_args N/A 0 N/A 0 N/A it_can_dispatch_an_extract_command_to_the_app N/A N/A self args_ app_controller_ N/A N/A N/A extract_command N/A ExtractCommand None N/A N/A N/A extract_command execute args_ app_controller_ N/A N/A N/A N/A app_controller_ extract_package assert_called_once_with N/A args_ pkg_path N/A args_ dirpath N/A N/A DescribeRepackageCommand N/A object N/A it_should_add_a_repackage_command_parser N/A N/A self repackage_argv_ parser subparsers N/A N/A N/A subparser N/A N/A RepackageCommand add_command_parser_to subparsers N/A args N/A N/A parser parse_args repackage_argv_ N/A N/A N/A args dirpath ARG_DIRPATH N/A N/A N/A args new_package ARG_NEW_PACKAGE N/A N/A isinstance subparser N/A argparse ArgumentParser N/A it_should_trigger_parser_error_if_dirpath_not_a_directory N/A N/A self args_ parser_ N/A N/A N/A N/A args_ dirpath foobar N/A repackage_command N/A RepackageCommand parser_ N/A N/A N/A repackage_command validate args_ N/A N/A N/A N/A parser_ error assert_called_once_with ANY N/A N/A DIRPATH N/A N/A N/A N/A parser_ error call_args N/A 0 N/A 0 N/A N/A foobar N/A N/A N/A N/A parser_ error call_args N/A 0 N/A 0 N/A it_can_dispatch_a_repackage_command_to_the_app N/A N/A self args_ app_controller_ N/A N/A N/A repackage_command N/A RepackageCommand None N/A N/A N/A repackage_command execute args_ app_controller_ N/A N/A N/A N/A app_controller_ repackage assert_called_once_with N/A args_ dirpath N/A args_ new_package N/A N/A DescribeSubstituteCommand N/A object N/A it_should_add_a_substitute_command_parser N/A N/A self substitute_argv_ parser subparsers N/A N/A N/A subparser N/A N/A SubstituteCommand add_command_parser_to subparsers N/A args N/A N/A parser parse_args substitute_argv_ N/A N/A N/A args filename ARG_FILENAME N/A N/A N/A args src_pkg_path ARG_SRC_PKG_PATH N/A N/A N/A args tgt_pkg_path ARG_TGT_PKG_PATH N/A N/A N/A args result_pkg_path ARG_RESULT_PKG_PATH N/A N/A isinstance subparser N/A argparse ArgumentParser N/A it_should_trigger_parser_error_if_pkg_path_does_not_exist N/A N/A self src_pkg_path tgt_pkg_path err_frag args_ parser_ N/A N/A N/A N/A args_ src_pkg_path src_pkg_path N/A N/A args_ tgt_pkg_path tgt_pkg_path N/A substitute_command N/A SubstituteCommand parser_ N/A N/A N/A substitute_command validate args_ N/A N/A N/A N/A parser_ error assert_called_once_with ANY N/A N/A err_frag N/A N/A N/A N/A parser_ error call_args N/A 0 N/A 0 N/A N/A N/A N/A pytest mark parametrize N/A src_pkg_path tgt_pkg_path err_frag N/A N/A foobar MINI_ZIP_PKG_PATH SRC_PKG N/A MINI_ZIP_PKG_PATH foobar TGT_PKG it_can_dispatch_a_substitute_command_to_the_app N/A N/A self args_ app_controller_ N/A N/A N/A substitute_command N/A SubstituteCommand None N/A N/A N/A substitute_command execute args_ app_controller_ N/A N/A N/A N/A app_controller_ substitute assert_called_once_with N/A args_ filename N/A args_ src_pkg_path N/A args_ tgt_pkg_path N/A args_ result_pkg_path N/A N/A