(self)
| 302 | ) |
| 303 | |
| 304 | def test_in_place_mutation(self): |
| 305 | sess = fixture_session() |
| 306 | |
| 307 | f1 = Foo(data={"a": "b"}) |
| 308 | sess.add(f1) |
| 309 | sess.commit() |
| 310 | |
| 311 | f1.data["a"] = "c" |
| 312 | sess.commit() |
| 313 | |
| 314 | eq_(f1.data, {"a": "c"}) |
| 315 | |
| 316 | def test_modified_event(self): |
| 317 | canary = mock.Mock() |
nothing calls this directly
no test coverage detected