Ejemplo n.º 1
0
 def test_creation_with_none_string_marker(self):
     view = PaginatedDataView("TestType", [],
                              "http://current_page",
                              next_page_marker=52)
     self.assertEqual("52", view.next_page_marker)
Ejemplo n.º 2
0
 def test_creation_with_none_marker(self):
     view = PaginatedDataView("TestType", [],
                              "http://current_page",
                              next_page_marker=None)
     self.assertIsNone(view.next_page_marker)