def test_list_and_get_authorization(self):
    authorizations = self.client.authorizations.list()
    for authorization in authorizations.data:
        response = self.client.authorizations.get(authorization.id)
        self.assertTrue((response.data.type == 'authorization'))
def test_list_and_get_authorization(self):
    authorizations = self.client.authorizations.list()
    for authorization in authorizations.data:
        response = self.client.authorizations.get(authorization.id)
        self.assertTrue((response.data.type == 'authorization'))