

def _check_user_direct_access_customer(self, customers, status_code):
    for customer in customers:
        response = self.client.get(self._get_customer_url(customer))
        self.assertEqual(response.status_code, status_code)

dataset/ETHPy150Open opennode/nodeconductor/nodeconductor/iaas/tests/test_customer_addendum.py CustomerAddendumApiPermissionTest._check_user_direct_access_customer/original