def METHOD_NAME(self):
    unique = str(uuid.uuid4())
    token = hmac.new(unique.encode('utf-8'), digestmod=sha1).hexdigest()
    headers = {'HTTP_AUTHORIZATION': 'token ' + token}
    resp = self.client.get(self.url, **headers)
    assert resp.status_code in (401, 403)