Module Import alias ImportFrom alias ImportFrom alias FunctionDef arguments args defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str attr NameLoad Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str attr NameLoad Assign NameStore Dict Str Str Str Str Str Str NameLoad NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str attr NameLoad Assign NameStore Dict Str Str Str Str Str Str NameLoad NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str attr NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr Str attr NameLoad NameLoad keyword AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Dict Str Str Str NameLoad Str Str Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str attr NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr Str attr NameLoad NameLoad keyword AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr Str attr NameLoad NameLoad keyword NameLoad Assign NameStore Dict Str Str Str NameLoad Str Str Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str attr NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr Str attr NameLoad NameLoad keyword AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Dict Str Str Str Str NameLoad NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str attr NameLoad Assign NameStore Dict Str Str Str Str NameLoad NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword Str keyword NameLoad keyword Dict Str Str Str Str Str SubscriptLoad NameLoad Index Str Str Num Expr Call AttributeLoad NameLoad attr keyword Str keyword ListLoad Str Str Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword Dict Str Str Str Str Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr Str SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword Dict Str Str Str Str Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str Str Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword Dict Str Str Call AttributeLoad AttributeLoad NameLoad attr attr Dict Str Str Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword Dict Str Str Call AttributeLoad AttributeLoad NameLoad attr attr Dict Str Str Str keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num TupleLoad Str Str Str Expr Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Num Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword Dict Str Str Call AttributeLoad AttributeLoad NameLoad attr attr Dict Str SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Dict Str Str Str Str Call NameLoad SubscriptLoad NameLoad Index Str Str Str Call NameLoad SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword Dict Str Str Call AttributeLoad AttributeLoad NameLoad attr attr Dict Str SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword Dict Str Str Call AttributeLoad AttributeLoad NameLoad attr attr Dict Str SubscriptLoad NameLoad Index Str Str keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Dict Str Str Str Str Call NameLoad SubscriptLoad NameLoad Index Str Str Str Call NameLoad SubscriptLoad NameLoad Index Str decorator_list decorator_list
N/A N/A bson.json_util tests base girder.constants AccessType setUpModule N/A N/A N/A N/A N/A N/A N/A N/A base enabledPlugins append mongo_search N/A N/A N/A base startServer N/A tearDownModule N/A N/A N/A N/A N/A N/A N/A base stopServer N/A MongoSearchTestCase N/A N/A base TestCase N/A testMongoSearch N/A N/A self N/A N/A N/A 
        Test resource/mongo_search endpoint
         N/A admin N/A email login firstName lastName password admin admin@email.com adminlogin Admin Last adminpassword True N/A admin N/A N/A N/A N/A self model user createUser admin N/A user N/A email login firstName lastName password admin good@email.com goodlogin First Last goodpassword False N/A user N/A N/A N/A N/A self model user createUser user N/A coll1 N/A name description public creator Test Collection magic words. And more magic. True admin N/A coll1 N/A N/A N/A N/A self model collection createCollection coll1 N/A coll2 N/A name description public creator Magic collection private False admin N/A coll2 N/A N/A N/A N/A self model collection createCollection coll2 N/A N/A N/A N/A N/A self model collection setUserAccess coll2 user level N/A AccessType READ save True N/A folder1 N/A parent parentType name coll1 collection Public test folder N/A folder1 N/A N/A N/A N/A self model folder createFolder folder1 N/A N/A N/A N/A N/A self model folder setUserAccess folder1 user level N/A AccessType READ save False N/A N/A N/A N/A N/A self model folder setPublic folder1 True save True N/A folder2 N/A parent parentType name coll2 collection Private test folder N/A folder2 N/A N/A N/A N/A self model folder createFolder folder2 N/A N/A N/A N/A N/A self model folder setUserAccess folder2 user level N/A AccessType NONE save True N/A item1 N/A name creator folder Public object admin folder1 N/A item1 N/A N/A N/A N/A self model item createItem item1 N/A item2 N/A name creator folder Secret object admin folder2 N/A item2 N/A N/A N/A N/A self model item createItem item2 N/A resp N/A N/A self request path /folder method GET user user params N/A parentType parentId sort sortdir user N/A user N/A _id name 1 N/A N/A N/A self ensureRequiredParams path /resource/search required N/A q types N/A resp N/A N/A self request path /resource/mongo_search params N/A q type query wrong type N/A N/A N/A self assertStatus resp 400 N/A N/A N/A self assertEqual Invalid resource type: wrong type N/A N/A resp json N/A message N/A resp N/A N/A self request path /resource/mongo_search params N/A q type not_json folder N/A N/A N/A self assertStatus resp 400 N/A N/A N/A self assertEqual N/A N/A resp json N/A message The query parameter must be a JSON object. N/A resp N/A N/A self request path /resource/mongo_search params N/A q type N/A N/A N/A bson json_util dumps N/A name Private folder N/A N/A N/A self assertStatusOk resp N/A N/A N/A self assertEqual N/A resp json N/A N/A resp N/A N/A self request path /resource/mongo_search params N/A q type N/A N/A N/A bson json_util dumps N/A name Private folder user user N/A N/A N/A self assertStatusOk resp N/A N/A N/A self assertEqual N/A len N/A resp json 1 N/A N/A N/A self assertHasKeys N/A N/A resp json N/A 0 N/A _id name description N/A N/A N/A self assertEqual N/A len N/A N/A resp json N/A 0 3 N/A resp N/A N/A self request path /resource/mongo_search params N/A q type N/A N/A N/A bson json_util dumps N/A folderId N/A folder1 N/A _id item N/A N/A N/A self assertStatusOk resp N/A N/A N/A self assertEqual N/A resp json N/A N/A _id name description folderId N/A str N/A item1 N/A _id Public object N/A str N/A folder1 N/A _id N/A resp N/A N/A self request path /resource/mongo_search params N/A q type N/A N/A N/A bson json_util dumps N/A folderId N/A folder2 N/A _id item N/A N/A N/A self assertStatusOk resp N/A N/A N/A self assertEqual N/A resp json N/A N/A resp N/A N/A self request path /resource/mongo_search params N/A q type N/A N/A N/A bson json_util dumps N/A folderId N/A folder2 N/A _id item user admin N/A N/A N/A self assertStatusOk resp N/A N/A N/A self assertEqual N/A resp json N/A N/A _id name description folderId N/A str N/A item2 N/A _id Secret object N/A str N/A folder2 N/A _id N/A N/A