Example #1
0
 def setUp(self):
     self.factory = APIRequestFactory()
     self.client = APIClient()
     self.view = ShapeList.as_view()
     self.user = setup_user()
     self.uri = '/v1/geo/data/shapes/'
Example #2
0
 def setUp(self):
     self.factory = APIRequestFactory()
     self.client = APIClient()
     self.user = setup_user()
     self.view = views.Data.as_view()
     self.uri = "/v1/geo/data/"
Example #3
0
 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/'
Example #4
0
 def setUp(self):
     self.factory = APIRequestFactory()
     self.client = APIClient()
     self.user = setup_user()
     self.view = views.Data.as_view()
     self.uri = '/v1/geo/data/'