def setUp(self): ViewMixinAPISuperuser.setUp(self) self.urls = ['/api/0/data-types/1/', '/api/0/data-types/2/'] self.view = views.DataTypeViewSet.as_view({'get': 'detail'})
def setUp(self): ViewMixinAPISuperuser.setUp(self) self.urls = ['/api/0/overlay-sources/'] self.view = views.OverlaySourceViewSet.as_view({'get': 'list'})
def setUp(self): ViewMixinAPISuperuser.setUp(self) self.urls = ['/api/0/overlay-types/'] self.view = views.OverlayTypeViewSet.as_view({'get': 'list'})
def setUp(self): ViewMixinAPISuperuser.setUp(self) self.urls = ['/api/0/tiles/1/', '/api/0/tiles/2/', '/api/0/tiles/3/'] self.view = views.TileViewSet.as_view({'get': 'detail'})
def setUp(self): ViewMixinAPISuperuser.setUp(self) self.urls = ['/api/0/tiles/'] self.view = views.TileViewSet.as_view({'get': 'list'})
def setUp(self): ViewMixinAPISuperuser.setUp(self) self.urls = ['/api/0/overlay-sources/1/', '/api/0/overlay-sources/2/'] self.view = views.OverlaySourceViewSet.as_view({'get': 'detail'})