Module ImportFrom alias ImportFrom alias alias ImportFrom alias Import alias ImportFrom alias alias alias alias alias alias ImportFrom alias identifier ImportFrom alias alias alias alias alias ImportFrom alias ImportFrom alias alias ImportFrom alias alias FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore NameLoad Assert UnaryOpNot SubscriptLoad Call AttributeLoad NameLoad attr Str Index Str Assert SubscriptLoad Call AttributeLoad NameLoad attr Str Index Str Assert SubscriptLoad Call AttributeLoad NameLoad attr Str Index Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assert Call NameLoad Str Assert UnaryOpNot Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assert Call NameLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str keyword Str Assert Call NameLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str keyword Str With Call AttributeLoad NameLoad attr NameLoad body Assert UnaryOpNot Call NameLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str keyword Str Assert Call NameLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str With Call AttributeLoad NameLoad attr NameLoad body Assert UnaryOpNot Call NameLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Assert Call NameLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Assert Call NameLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str With Call AttributeLoad NameLoad attr NameLoad body Assert UnaryOpNot Call NameLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assert Call NameLoad SubscriptLoad NameLoad Index Str With Call AttributeLoad NameLoad attr NameLoad body Assert UnaryOpNot Call NameLoad SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Str Assign NameStore AttributeLoad SubscriptLoad NameLoad Index Str attr Assign NameStore AttributeLoad SubscriptLoad NameLoad Index Str attr Expr Call NameLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Expr Call NameLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Expr Call NameLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Expr Call NameLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Expr Call NameLoad SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad Index Str Expr Call NameLoad SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad BinOpAdd Call AttributeLoad NameLoad attr Call NameLoad keyword Num attr Str Assign NameStore Call NameLoad NameLoad Str Assign NameStore Yield Call AttributeLoad NameLoad attr NameLoad keyword Str keyword Call NameLoad Dict Str NameLoad keyword Dict Str Str Assert CompareEq AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad Call NameLoad NameLoad keyword NameLoad attr Assert CompareEq Call NameLoad NameLoad Num Str Assert CompareIn NameLoad ListComp AttributeLoad AttributeLoad NameLoad attr attr comprehension NameStore NameLoad Str Assign NameStore Call NameLoad Str Str Assign NameStore Call NameLoad Str Str Assign NameStore ListComp AttributeLoad AttributeLoad NameLoad attr attr comprehension NameStore NameLoad Assign NameStore ListComp Call NameLoad AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr attr AttributeLoad AttributeLoad NameLoad attr attr ListComp Call NameLoad AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad NameLoad attr comprehension NameStore NameLoad For NameStore NameLoad body Assign NameStore Call NameLoad NameLoad Call AttributeLoad Str attr AttributeLoad NameLoad attr If CompareEq AttributeLoad NameLoad attr NameLoad body Continue Assign NameStore Call NameLoad DictComp Call AttributeLoad Str attr AttributeLoad NameLoad attr Str comprehension NameStore AttributeLoad NameLoad attr Assign NameStore Yield Call AttributeLoad NameLoad attr NameLoad keyword Str keyword NameLoad keyword Dict Str AttributeLoad NameLoad attr Assert CompareEq AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad Call NameLoad NameLoad keyword NameLoad attr Assert CompareEq Call NameLoad NameLoad Num Str Assign NameStore SubscriptLoad NameLoad Index Num Expr AttributeLoad NameLoad attr Assign NameStore Dict For NameStore Call AttributeLoad NameLoad attr body If CompareEq NameLoad AttributeLoad AttributeLoad NameLoad attr attr body Assign SubscriptStore NameLoad Index Call AttributeLoad Str attr AttributeLoad NameLoad attr Str orelse Assign SubscriptStore NameLoad Index Call AttributeLoad Str attr AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr attr Assign NameStore Call NameLoad NameLoad Call AttributeLoad Str attr AttributeLoad NameLoad attr Assign NameStore Yield Call AttributeLoad NameLoad attr NameLoad keyword Str keyword Call NameLoad NameLoad keyword Dict Str NameLoad Assert CompareEq AttributeLoad NameLoad attr Num Assert CompareEq Call NameLoad Call AttributeLoad NameLoad attr NameLoad keyword Str Num Str Assert CompareEq Call NameLoad Call AttributeLoad NameLoad attr NameLoad keyword Str Num Str For NameStore NameLoad body Assert CompareEq Call NameLoad Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword Str keyword AttributeLoad NameLoad attr Num Str Assert CompareEq Call NameLoad Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr Num Str decorator_list AttributeLoad AttributeLoad NameLoad attr attr
N/A collections namedtuple datetime datetime timedelta urllib urlencode N/A pytest fixtures standard_graph graph users groups session permissions fixtures fe_app app grouper.audit assert_can_join assert_controllers_are_auditors get_audits user_is_auditor UserNotAuditor url_util url util add_member grant_permission grouper.models.audit_log AuditLogCategory AuditLog test_group_audited N/A N/A standard_graph session groups permissions N/A N/A N/A  Ensure that the audited flag gets set appropriate only groups and inherited down the
        graph.  N/A graph standard_graph N/A N/A N/A N/A N/A graph get_group_details security-team N/A audited N/A N/A N/A N/A graph get_group_details serving-team N/A audited N/A N/A N/A N/A graph get_group_details team-sre N/A audited N/A test_user_is_auditor N/A N/A standard_graph N/A N/A N/A  Ensure users get the ability to audit.  N/A N/A user_is_auditor zorkian@a.co N/A N/A N/A user_is_auditor oliver@a.co N/A test_assert_can_join N/A N/A users groups N/A N/A N/A  Test various audit constraints to ensure that users can/can't join as appropriate.  N/A N/A assert_can_join N/A groups N/A team-infra N/A users N/A zay@a.co role owner N/A N/A assert_can_join N/A groups N/A team-infra N/A users N/A zorkian@a.co role owner N/A N/A N/A pytest raises UserNotAuditor N/A N/A N/A N/A assert_can_join N/A groups N/A serving-team N/A users N/A zay@a.co role owner N/A N/A assert_can_join N/A groups N/A serving-team N/A users N/A zay@a.co N/A N/A N/A pytest raises UserNotAuditor N/A N/A N/A N/A assert_can_join N/A groups N/A serving-team N/A groups N/A tech-ops N/A N/A assert_can_join N/A groups N/A serving-team N/A groups N/A sad-team N/A N/A assert_can_join N/A groups N/A team-infra N/A groups N/A tech-ops N/A N/A N/A pytest raises UserNotAuditor N/A N/A N/A N/A assert_can_join N/A groups N/A audited-team N/A groups N/A serving-team N/A test_assert_controllers_are_auditors N/A N/A groups N/A N/A N/A  Test the method that determines if a subtree is controlled by auditors.  N/A N/A assert_controllers_are_auditors N/A groups N/A sad-team N/A N/A N/A pytest raises UserNotAuditor N/A N/A N/A N/A assert_controllers_are_auditors N/A groups N/A team-infra N/A test_audit_end_to_end N/A N/A session users groups http_client base_url N/A N/A N/A  Tests an end-to-end audit cycle.  N/A groupname audited-team N/A zay_id N/A N/A users N/A zay@a.co id N/A gary_id N/A N/A users N/A gary@a.co id N/A N/A add_member N/A groups N/A auditors N/A users N/A gary@a.co N/A N/A add_member N/A groups N/A auditors N/A users N/A oliver@a.co N/A N/A add_member N/A groups N/A auditors N/A users N/A zay@a.co N/A N/A add_member N/A groups N/A auditors N/A users N/A figurehead@a.co N/A N/A add_member N/A groups N/A groupname N/A users N/A zay@a.co N/A N/A add_member N/A groups N/A groupname N/A users N/A gary@a.co N/A end_at_str N/A N/A N/A N/A N/A datetime now N/A timedelta days 10 strftime %m/%d/%Y N/A fe_url N/A url base_url /audits/create N/A resp N/A N/A N/A http_client fetch fe_url method POST body N/A urlencode N/A ends_at end_at_str headers N/A X-Grouper-User zorkian@a.co N/A N/A N/A resp code 200 N/A open_audits N/A N/A N/A get_audits session only_open True all N/A N/A N/A len open_audits 4 audits created N/A N/A groupname N/A N/A N/A x group name N/A x open_audits group we expect also gets audit N/A AuditMember N/A namedtuple AuditMember am_id, edge_type, edge_id N/A Audit N/A namedtuple Audit audit_id, owner_name, group_name, audit_members N/A all_group_ids N/A N/A N/A x group id N/A x open_audits N/A open_audits N/A N/A Audit N/A x id N/A N/A N/A N/A N/A N/A N/A x group my_owners iterkeys next N/A N/A x group name N/A N/A AuditMember N/A am id N/A N/A am edge member_type N/A am edge_id N/A am N/A N/A x my_members N/A x open_audits N/A one_audit open_audits N/A N/A fe_url N/A url base_url N/A N/A /audits/{}/complete format N/A one_audit audit_id N/A N/A N/A one_audit group_name groupname N/A N/A N/A body N/A urlencode N/A N/A N/A audit_{} format N/A am am_id approved N/A am N/A one_audit audit_members N/A resp N/A N/A N/A http_client fetch fe_url method POST body body headers N/A X-Grouper-User N/A one_audit owner_name N/A N/A N/A resp code 200 N/A open_audits N/A N/A N/A get_audits session only_open True all N/A N/A N/A len open_audits 1 only our test group remaining N/A one_audit N/A open_audits N/A 0 N/A N/A one_audit id N/A body_dict N/A N/A am N/A N/A one_audit my_members N/A N/A N/A gary_id N/A N/A am member id N/A N/A N/A body_dict N/A N/A N/A audit_{} format N/A am id remove N/A N/A N/A body_dict N/A N/A N/A audit_{} format N/A am id approved N/A owner_name N/A N/A N/A N/A N/A N/A N/A one_audit group my_owners iterkeys next N/A fe_url N/A url base_url N/A N/A /audits/{}/complete format N/A one_audit id N/A resp N/A N/A N/A http_client fetch fe_url method POST body N/A urlencode body_dict headers N/A X-Grouper-User owner_name N/A N/A N/A resp code 200 N/A N/A N/A len N/A N/A AuditLog get_entries session action start_audit 1 global start is logged N/A N/A N/A len N/A N/A AuditLog get_entries session action complete_global_audit 1 global complete is logged N/A group_id all_group_ids N/A N/A N/A N/A len N/A N/A AuditLog get_entries session on_group_id group_id action complete_audit category N/A AuditLogCategory audit 1 complete entry for each group N/A N/A N/A len N/A N/A AuditLog get_entries session on_user_id gary_id category N/A AuditLogCategory audit 1 removal AuditLog entry on user N/A N/A N/A pytest mark gen_test