class Meta: always_return_data = True authentication = OAuthAuthentication() authorization = Authorization()
def setUp(self): self.authentication = OAuthAuthentication('api') self.factory = RequestFactory() self.consumer = Consumer(*keys.items()[0])