(self)
| 704 | eq_(f1.data, [1, [4, 2], 2]) |
| 705 | |
| 706 | def test_remove(self): |
| 707 | sess = fixture_session() |
| 708 | |
| 709 | f1 = Foo(data=[1, 2, 3]) |
| 710 | sess.add(f1) |
| 711 | sess.commit() |
| 712 | |
| 713 | f1.data.remove(2) |
| 714 | sess.commit() |
| 715 | |
| 716 | eq_(f1.data, [1, 3]) |
| 717 | |
| 718 | def test_sort(self): |
| 719 | sess = fixture_session() |