(self)
| 876 | ) |
| 877 | |
| 878 | def test_clear(self): |
| 879 | sess = fixture_session() |
| 880 | |
| 881 | f1 = Foo(data={1, 2}) |
| 882 | sess.add(f1) |
| 883 | sess.commit() |
| 884 | |
| 885 | f1.data.clear() |
| 886 | sess.commit() |
| 887 | |
| 888 | eq_(f1.data, set()) |
| 889 | |
| 890 | def test_pop(self): |
| 891 | sess = fixture_session() |