test #3191
(self)
| 393 | self.assert_(srt.bullets[2].text == "3") |
| 394 | |
| 395 | def test_replace_two(self): |
| 396 | """test #3191""" |
| 397 | |
| 398 | self._setup(ordering_list("position", reorder_on_append=True)) |
| 399 | |
| 400 | s1 = Slide("Slide #1") |
| 401 | |
| 402 | b1, b2, b3, b4 = Bullet("1"), Bullet("2"), Bullet("3"), Bullet("4") |
| 403 | s1.bullets = [b1, b2, b3] |
| 404 | |
| 405 | eq_([b.position for b in s1.bullets], [0, 1, 2]) |
| 406 | |
| 407 | s1.bullets = [b4, b2, b1] |
| 408 | eq_([b.position for b in s1.bullets], [0, 1, 2]) |
| 409 | |
| 410 | def test_funky_ordering(self): |
| 411 | class Pos: |
nothing calls this directly
no test coverage detected