def test_resource_None_scope_view_not_authorized(self):
        #ensure there is a Scope object for this scope
        self.scope = Scope.objects.create(name="some_new_scope")
        self._request_token(scope=self.scope.name)
        self._authorize_and_access_token_using_form()

        response = self._oauth_signed_get("/oauth/some/")
        self.assertEqual(response.status_code, 401)
Tests that view created with @oauth_required decorator won't give access
dataset/ETHPy150Open adlnet/ADL_LRS/oauth_provider/tests/decorators.py/OAuthTestOauthRequiredDecorator.test_resource_None_scope_view_not_authorized