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
def setUp(self): ViewMixin.setUp(self) self.urls = [ '/upload/', '/upload/map-images/', '/upload/embed/', '/upload/map-images/embed/' ] self.view = uploader.init_upload_form
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
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
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')
def setUp(self): ViewMixin.setUp(self) self.urls = ['/maps/edit/new/'] self.view = maps.show_map_editor_new
def setUp(self): ViewMixin.setUp(self) self.urls = ['/profile/prints/'] self.view = profile.object_list_form