Esempio n. 1
0
 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'})
Esempio n. 2
0
 def setUp(self):
     ViewMixinAPISuperuser.setUp(self)
     self.urls = ['/api/0/overlay-sources/']
     self.view = views.OverlaySourceViewSet.as_view({'get': 'list'})
Esempio n. 3
0
 def setUp(self):
     ViewMixinAPISuperuser.setUp(self)
     self.urls = ['/api/0/overlay-types/']
     self.view = views.OverlayTypeViewSet.as_view({'get': 'list'})
Esempio n. 4
0
 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'})
Esempio n. 5
0
 def setUp(self):
     ViewMixinAPISuperuser.setUp(self)
     self.urls = ['/api/0/tiles/']
     self.view = views.TileViewSet.as_view({'get': 'list'})
Esempio n. 6
0
 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'})
Esempio n. 7
0
 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'})