'Ensure POSTing json over token auth without correct credentials fails'

def test_post_json_failing_token_auth(self):

    response = self.csrf_client.post(self.path, {u'example': u'example'}, format=u'json')
    assert (response.status_code == status.HTTP_401_UNAUTHORIZED)
