Module Expr Str Import alias ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr Str ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Str Expr Call AttributeLoad NameLoad attr Call NameLoad Str keyword Dict Str ListLoad Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Str Str Expr Call AttributeLoad NameLoad attr Call NameLoad Str keyword Dict Str ListLoad Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Str Str Expr Call AttributeLoad NameLoad attr Call NameLoad Str keyword Dict Str ListLoad Str Str Str decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list
N/A N/A Unit tests for the auths module. N/A github3 N/A helper N/A url_for N/A N/A helper create_url_helper https://api.github.com/authorizations/1 TestAuthorization N/A N/A helper UnitHelper N/A N/A Authorization unit tests. N/A described_class N/A N/A github3 auths Authorization N/A get_auth_example_data N/A N/A helper create_example_data_helper authorization_example N/A example_data N/A get_auth_example_data test_add_scopes N/A N/A self N/A N/A N/A Test the request to add scopes to an authorization. N/A N/A N/A N/A self instance add_scopes N/A scope-one scope-two N/A N/A N/A self post_called_with N/A url_for data N/A add_scopes N/A scope-one scope-two N/A test_delete N/A N/A self N/A N/A N/A Test the request to delete an authorization. N/A N/A N/A N/A self instance delete N/A N/A N/A N/A N/A self session delete assert_called_once_with N/A url_for N/A test_remove_scopes N/A N/A self N/A N/A N/A Test the request to remove scopes from an authorization. N/A N/A N/A N/A self instance remove_scopes N/A scope-one scope-two scope-three N/A N/A N/A self post_called_with N/A url_for data N/A rm_scopes N/A scope-one scope-two scope-three N/A test_replace_scopes N/A N/A self N/A N/A N/A Test the request to replace the scopes on an authorization. N/A N/A N/A N/A self instance replace_scopes N/A scope-one scope-two scope-three N/A N/A N/A self post_called_with N/A url_for data N/A scopes N/A scope-one scope-two scope-three N/A N/A TestAuthorizationRequiresAuth N/A N/A helper UnitRequiresAuthenticationHelper N/A N/A Test methods that require authentication on Authorization. N/A described_class N/A N/A github3 auths Authorization N/A example_data N/A N/A N/A TestAuthorization example_data copy after_setup N/A N/A self N/A N/A N/A Disable authentication on the Session. N/A N/A N/A N/A self session has_auth return_value False N/A N/A N/A self session auth None N/A test_add_scopes N/A N/A self N/A N/A N/A Test that adding scopes requires authentication. N/A N/A N/A self assert_requires_auth N/A N/A self instance add_scopes N/A test_delete N/A N/A self N/A N/A N/A Test that deleteing an authorization requires authentication. N/A N/A N/A self assert_requires_auth N/A N/A self instance delete N/A test_remove_scopes N/A N/A self N/A N/A N/A Test that removing scopes requires authentication. N/A N/A N/A self assert_requires_auth N/A N/A self instance remove_scopes N/A test_replace_scopes N/A N/A self N/A N/A N/A Test that replacing scopes requires authentication. N/A N/A N/A self assert_requires_auth N/A N/A self instance replace_scopes N/A N/A