@classmethod def gen(cls, url): def do_test(self): response = self.api_client.get( url, authentication=self.get_token(self.izberg_user) ) self.assertHttpOK(response) return do_test
By Romain Commandé