def setUp(self): self.factory = APIRequestFactory() self.client = APIClient() self.view = ShapeList.as_view() self.user = setup_user() self.uri = '/v1/geo/data/shapes/'
def setUp(self): self.factory = APIRequestFactory() self.client = APIClient() self.user = setup_user() self.view = views.Data.as_view() self.uri = "/v1/geo/data/"
def setUp(self): self.factory = APIRequestFactory() self.client = APIClient() self.user = setup_user() self.view = TripleStoreList.as_view() self.uri = '/v1/geo/data/triple-stores/'
def setUp(self): self.factory = APIRequestFactory() self.client = APIClient() self.user = setup_user() self.view = views.Data.as_view() self.uri = '/v1/geo/data/'