Method
test_mutable
test/ext/test_indexable.py:312–323
· test/ext/test_indexable.py::IndexPropertyJsonTest.test_mutable
(self)
Source from the content-addressed store, hash-verified
| 310 | eq_(a2.id, a6.id) |
| 311 | |
| 312 | def test_mutable(self): |
| 313 | Json = self.classes.Json |
| 314 | s = Session(testing.db) |
| 315 | |
| 316 | j = Json(json={}) |
| 317 | s.add(j) |
| 318 | s.commit() |
| 319 | |
| 320 | j.other = 42 |
| 321 | eq_(j.other, 42) |
| 322 | s.commit() |
| 323 | eq_(j.other, 42) |
| 324 | |
| 325 | def test_modified(self): |
| 326 | Json = self.classes.Json |
Callers
nothing calls this directly
Tested by
no test coverage detected