Ejemplo n.º 1
0
 def setUp(self):
     ViewMixin.setUp(self, load_fixtures=False)
     self.urls = [
         '/profile/projects/1/share/',
         '/profile/projects/1/share/embed/',
         '/profile/projects/create/',
         '/profile/projects/create/embed/'
     ]
     self.view = sharing.create_update_group_with_sharing
Ejemplo n.º 2
0
 def setUp(self):
     ViewMixin.setUp(self)
     self.urls = [
         '/upload/',
         '/upload/map-images/',
         '/upload/embed/',
         '/upload/map-images/embed/'
     ]
     self.view = uploader.init_upload_form
Ejemplo n.º 3
0
 def setUp(self):
     ViewMixin.setUp(self, load_fixtures=True)
     self.form = self.create_form(name="Class Form")
     self.urls = [
         '/profile/forms/%s/' % self.form.id,
         '/profile/forms/%s/embed/' % self.form.id,
         '/profile/forms/create/',
         '/profile/forms/create/embed/'
     ]
     self.view = forms.create_update_form
Ejemplo n.º 4
0
 def setUp(self):
     ViewMixin.setUp(self, load_fixtures=True)
     self.urls = [
         "/profile/photos/",
         "/profile/audio/",
         "/profile/prints/",
         "/profile/map-images/",
         "/profile/forms/",
     ]
     self.view = profile.object_list_form
Ejemplo n.º 5
0
 def setUp(self):
     ViewMixin.setUp(self)
     self.map = self.create_styled_map()
     self.urls = ['/maps/{0}/'.format(self.map.slug)]
     self.url = self.urls[0]
     self.view = PublicView.as_view(template_name='pages/presentation.html')
Ejemplo n.º 6
0
 def setUp(self):
     ViewMixin.setUp(self)
     self.urls = ['/maps/edit/new/']
     self.view = maps.show_map_editor_new
Ejemplo n.º 7
0
 def setUp(self):
     ViewMixin.setUp(self)
     self.map = self.create_styled_map()
     self.urls = ['/maps/{0}/'.format(self.map.slug)]
     self.url = self.urls[0]
     self.view = PublicView.as_view(template_name='pages/presentation.html')
Ejemplo n.º 8
0
 def setUp(self):
     ViewMixin.setUp(self)
     self.urls = ['/profile/prints/']
     self.view = profile.object_list_form