File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -68,6 +68,21 @@ def after_setup(self):
6868 self .session .auth = None
6969
7070 def test_add_scopes (self ):
71- """Test that add scopes requires authentication."""
71+ """Test that adding scopes requires authentication."""
7272 with pytest .raises (github3 .AuthenticationFailed ):
7373 self .instance .add_scopes ()
74+
75+ def test_delete (self ):
76+ """Test that deleteing an authorization requires authentication."""
77+ with pytest .raises (github3 .AuthenticationFailed ):
78+ self .instance .delete ()
79+
80+ def test_remove_scopes (self ):
81+ """Test that removing scopes requires authentication."""
82+ with pytest .raises (github3 .AuthenticationFailed ):
83+ self .instance .remove_scopes ()
84+
85+ def test_replace_scopes (self ):
86+ """Test that replacing scopes requires authentication."""
87+ with pytest .raises (github3 .AuthenticationFailed ):
88+ self .instance .replace_scopes ()
You can’t perform that action at this time.
0 commit comments