test #3191
(self)
| 393 | self.assert_(srt.bullets[2].text == class="st">"3") |
| 394 | |
| 395 | def test_replace_two(self): |
| 396 | class="st">""class="st">"test class="cm">#3191"class="st">"" |
| 397 | |
| 398 | self._setup(ordering_list(class="st">"position", reorder_on_append=True)) |
| 399 | |
| 400 | s1 = Slide(class="st">"Slide class="cm">#1") |
| 401 | |
| 402 | b1, b2, b3, b4 = Bullet(class="st">"1"), Bullet(class="st">"2"), Bullet(class="st">"3"), Bullet(class="st">"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