def METHOD_NAME(self):
    self.login_as(user=self.user)
    response = self.client.post(self.url, format="json")
    assert response.status_code == 201
    assert ApiToken.objects.get(token=response.data["token"])