File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -831,6 +831,7 @@ class OauthProtectedAuthorViewSet(views.AuthorViewSet):
831831 'password' ],
832832 }
833833
834+ @pytest .mark .skipif (TokenMatchesOASRequirements is None , reason = "requires oauth" )
834835 def test_schema_security_list (self ):
835836 """
836837 Checks for security objects
@@ -859,6 +860,7 @@ def test_schema_security_list(self):
859860 assert operation ['security' ][2 ] == {'basicAuth' : []}
860861 assert operation ['security' ][3 ] == {'cookieAuth' : []}
861862
863+ @pytest .mark .skipif (TokenMatchesOASRequirements is None , reason = "requires oauth" )
862864 def test_schema_security_drf_condition (self ):
863865 """
864866 Checks for security objects with DRF bitwise conditional operators
@@ -895,6 +897,7 @@ class DRF_Cond_ViewSet(TestOperationIntrospection.OauthProtectedAuthorViewSet):
895897 assert {'basicAuth' : []} in operation ['security' ]
896898 assert {'cookieAuth' : []} in operation ['security' ]
897899
900+ @pytest .mark .skipif (TokenMatchesOASRequirements is None , reason = "requires oauth" )
898901 def test_schema_security_rest_condition (self ):
899902 """
900903 Checks for security objects with rest_condition operator methods
You can’t perform that action at this time.
0 commit comments