def test_post_form_token_removed_failing_auth(self):
        self.access_token.delete()
        auth = self._create_authorization_header()
        response = self.csrf_client.post('/oauth2-test/', HTTP_AUTHORIZATION=auth)
        self.assertIn(response.status_code, (status.HTTP_401_UNAUTHORIZED, status.HTTP_403_FORBIDDEN))
Ensure POSTing when there is no OAuth access token in db fails
dataset/ETHPy150Open jlafon/django-rest-framework-oauth/tests/test_oauth.py/OAuth2Tests.test_post_form_token_removed_failing_auth