Beispiel #1
0
 def setUp(self):  # noqa
     self.set_prefix_and_model(
         "/maps", MAP_TYPE, TopoMap, ArchiveTopoMap, ArchiveDocumentLocale)
     BaseDocumentTestRest.setUp(self)
     self._add_test_data()
Beispiel #2
0
 def setUp(self):  # noqa
     self.set_prefix_and_model(
         "/articles", ARTICLE_TYPE, Article, ArchiveArticle,
         ArchiveDocumentLocale)
     BaseDocumentTestRest.setUp(self)
     self._add_test_data()
Beispiel #3
0
 def setUp(self):  # noqa
     self.set_prefix_and_model("/areas", AREA_TYPE, Area, ArchiveArea,
                               ArchiveDocumentLocale)
     BaseDocumentTestRest.setUp(self)
     self._add_test_data()
Beispiel #4
0
 def setUp(self):  # noqa
     self.set_prefix_and_model(
         "/books", BOOK_TYPE, Book, ArchiveBook,
         ArchiveDocumentLocale)
     BaseDocumentTestRest.setUp(self)
     self._add_test_data()
Beispiel #5
0
 def setUp(self):  # noqa
     self.set_prefix_and_model("/maps", MAP_TYPE, TopoMap, ArchiveTopoMap,
                               ArchiveDocumentLocale)
     BaseDocumentTestRest.setUp(self)
     self._add_test_data()
Beispiel #6
0
 def setUp(self):  # noqa
     self.set_prefix_and_model(
         "/images", IMAGE_TYPE, Image, ArchiveImage, ArchiveDocumentLocale)
     BaseDocumentTestRest.setUp(self)
     self._add_test_data()
 def setUp(self):  # noqa
     self.set_prefix_and_model(
         '/profiles', USERPROFILE_TYPE, UserProfile, ArchiveUserProfile,
         ArchiveDocumentLocale)
     BaseDocumentTestRest.setUp(self)
     self._add_test_data()
Beispiel #8
0
 def setUp(self):  # noqa
     self.set_prefix_and_model("/waypoints", WAYPOINT_TYPE, Waypoint,
                               ArchiveWaypoint, ArchiveWaypointLocale)
     BaseDocumentTestRest.setUp(self)
     self._add_test_data()
Beispiel #9
0
 def setUp(self):  # noqa
     self.set_prefix_and_model("/xreports", XREPORT_TYPE, Xreport,
                               ArchiveXreport, ArchiveXreportLocale)
     BaseDocumentTestRest.setUp(self)
     self._add_test_data()
Beispiel #10
0
 def setUp(self):  # noqa
     self.set_prefix_and_model(
         "/routes", ROUTE_TYPE, Route, ArchiveRoute, ArchiveRouteLocale)
     BaseDocumentTestRest.setUp(self)
     self._add_test_data()
Beispiel #11
0
 def setUp(self):  # noqa
     self.set_prefix_and_model(
         "/routes", Route, ArchiveRoute, ArchiveRouteLocale)
     BaseDocumentTestRest.setUp(self)
     self._add_test_data()
Beispiel #12
0
 def setUp(self):  # noqa
     self.set_prefix_and_model(
         "/xreports", XREPORT_TYPE, Xreport, ArchiveXreport,
         ArchiveXreportLocale)
     BaseDocumentTestRest.setUp(self)
     self._add_test_data()
Beispiel #13
0
 def setUp(self):  # noqa
     self.set_prefix_and_model(
         "/articles", ARTICLE_TYPE, Article, ArchiveArticle,
         ArchiveDocumentLocale)
     BaseDocumentTestRest.setUp(self)
     self._add_test_data()
Beispiel #14
0
 def setUp(self):  # noqa
     self.set_prefix_and_model("/books", BOOK_TYPE, Book, ArchiveBook,
                               ArchiveDocumentLocale)
     BaseDocumentTestRest.setUp(self)
     self._add_test_data()
Beispiel #15
0
 def setUp(self):  # noqa
     self.set_prefix_and_model(
         "/areas", AREA_TYPE, Area, ArchiveArea, ArchiveDocumentLocale)
     BaseDocumentTestRest.setUp(self)
     self._add_test_data()
Beispiel #16
0
 def setUp(self):  # noqa
     self.set_prefix_and_model(
         "/waypoints", Waypoint, ArchiveWaypoint, ArchiveWaypointLocale)
     BaseDocumentTestRest.setUp(self)
     self._add_test_data()
Beispiel #17
0
 def setUp(self):  # noqa
     self.set_prefix_and_model(
         '/profiles', USERPROFILE_TYPE, UserProfile, ArchiveUserProfile,
         ArchiveDocumentLocale)
     BaseDocumentTestRest.setUp(self)
     self._add_test_data()
Beispiel #18
0
 def setUp(self):  # noqa
     self.set_prefix_and_model(
         '/outings', OUTING_TYPE, Outing, ArchiveOuting,
         ArchiveOutingLocale)
     BaseDocumentTestRest.setUp(self)
     self._add_test_data()