예제 #1
0
 def test_pop_with_index(self):
     dlist = DocumentList([{'a': 'b'}, {'a': 'c'}])
     dlist.pop(0)
     self.assertEqual(dlist, [{'a': 'c'}])
예제 #2
0
 def test_pop_with_index(self):
     dlist = DocumentList([{'a': 'b'}, {'a': 'c'}])
     dlist.pop(0)
     self.assertEquals(dlist, [{'a': 'c'}])
예제 #3
0
 def test_pop(self):
     dlist = DocumentList([{'a': 'b'}, {'a': 'c'}])
     dlist.pop()
     self.assertEqual(dlist, [{'a': 'b'}])