Module Import alias ImportFrom alias alias ImportFrom alias alias ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad With Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Str With Call NameLoad Str NameStore body Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call NameLoad Assert CompareEq Call AttributeLoad NameLoad attr Str keyword Str Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Str decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assert CompareEq Call AttributeLoad NameLoad attr Str ListLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad With Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad With Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr keyword Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr keyword Str keyword Str keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Dict Str Str Str Dict Str Str Str ListLoad Str Str ListLoad Str decorator_list decorator_list
N/A N/A pytest mock patch MagicMock gitfs.worker.commit_queue BaseQueue CommitQueue TestBaseQueue N/A object N/A test_commit N/A N/A self N/A N/A N/A queue N/A BaseQueue N/A N/A N/A pytest raises Exception N/A N/A N/A N/A queue commit N/A test_get N/A N/A self N/A N/A N/A mocked_queue N/A MagicMock N/A N/A N/A mocked_queue get return_value get N/A N/A patch gitfs.worker.commit_queue.Queue mocked_queue_module N/A N/A N/A mocked_queue_module return_value mocked_queue N/A queue N/A BaseQueue N/A N/A N/A N/A queue get args arg kwarg get N/A N/A N/A N/A mocked_queue get assert_called_once_with args arg kwarg N/A N/A TestCommitQueue N/A object N/A test_add N/A N/A self N/A N/A N/A mocked_queue N/A MagicMock N/A queue N/A CommitQueue N/A N/A queue queue mocked_queue N/A N/A N/A queue add job N/A N/A N/A N/A mocked_queue put assert_called_once_with job N/A test_to_list N/A N/A self N/A N/A N/A queue N/A CommitQueue N/A N/A N/A N/A queue _to_list a N/A a N/A test_commit_witth_no_message N/A N/A self N/A N/A N/A queue N/A CommitQueue N/A N/A N/A pytest raises ValueError N/A N/A N/A N/A queue commit N/A test_commit_witth_no_add_and_no_remove N/A N/A self N/A N/A N/A queue N/A CommitQueue N/A N/A N/A pytest raises ValueError N/A N/A N/A N/A queue commit message message N/A test_commit N/A N/A self N/A N/A N/A mocked_queue N/A MagicMock N/A queue N/A CommitQueue N/A N/A queue queue mocked_queue N/A N/A N/A queue commit message message add add remove remove N/A N/A N/A N/A mocked_queue put assert_called_once_with N/A type params commit N/A add message remove N/A add message N/A remove N/A N/A